dialogWrapper 2.1 Released

IMPORTANT: Please read this blog post before updating. The latest version, by default, breaks compatibility with previous versions! I am happy to announce that dialogWrapper 2.1 has been released! Download/read about it at BitBucket: https://bitbucket.org/MostThingsWeb/dialogwrapper   What’s new? The biggest change is that all methods are now namespaced! For example, instead of writing: … by default […]

wrapDetector: Automatically detect word-wrappable characters

I’d like to announce my latest plugin: wrapDetector. wrapDetector is designed to do one thing: return a list of characters at which a line can wrap. I’ve created the project at BitBucket: https://bitbucket.org/MostThingsWeb/wrapdetector. If you find it interesting, give it a try. I look forward to hearing your feedback and suggestions.

Converting CSS selectors to XPath selectors with C#: css2xpath

While working with HtmlAgilityPack to build a web scrapper/crawler, I noticed something: I hate XPath. It’s big, clunky, and verbose. After a bit of searching, I found a neat online app: http://css2xpath.appspot.com/. As the name suggests, it converts CSS selectors to XPath selectors. The only problem is that I wanted a client-side solution. A little […]

Bayes Filtering in Javascript

I’ve been trying to put together a Bayesian classifier in JavaScript, mostly for spam filtering purposes. It didn’t turn out very well. So, I Googled for such a thing and found this: http://www.onemanclapping.org/2008/10/bayes-filtering-in-javascript.html. It looks very well done and I’d recommend it (from the brief testing I’ve done with it), although I’d like to point […]

Using Facebox in Greasemonkey scripts

In my Greasemonkey scripts, I sometimes find it necessary to alert the user in some way without using the alert() function. In any other web application, I would normally use Facebox, a wonderfully free jQuery plugin that displays Facebook style pop-ups. However, there are several obstacles to adding any (well, most) jQuery plugins to Greasemonkey […]