Nerd

Having gone through these three frameworks, I’m going to say something I wish other review sites said: For each purpose, there is a “best” framework. It all depends on context. The Yahoo! User Interface Library (YUI) If you’re building a rich web application from scratch, YUI will have very thorough tools to do anything you…

Read More nano review of JavaScript frameworks (YUI, jQuery, moo)

I wanted to write a Greasemonkey script to modify all mailto: links on a page, but to do that, I have to find them first. Here’s my first attempt: //a[@href]/text()[contains(.,”@”)] It’s pretty bad. I wanted to find links starting with “mailto:” but couldn’t figure out how to operate on the href attribute. second attempt: //a/@href[contains(.,”mailto:”)]/..…

Read More Using XPath to find email address links