steipete/stackoverflowerizer — pull request #6 by conroyp (2012-02-12 18:59:39+00:00)
Title: Site updates

* Updated Firefox extension link in the readme
* Added Globberstack support
* Added Drija support

Re the drija support, there's a separate js file for handling it in there. The regexes for matching the page on which to fire a content script are weak - ideally a detection for drija.com/([a-z0-9\-]+)/([0-9]+)/* would be what we'd match, but chrome regex seems to be far more limited. This means the content script gets fired on every drija page, but checks whether a match is found before attempting redirect.

Within drija, they clone not only SO, but askubuntu, serverfault, etc. The queryselector in the drija js is thus slightly looser than the global one to catch the other SE group sites. It *could* probably be merged back in to the one global one without too much heartache, though a big chunk of testing on the other supported sites would be required first to prevent unintended matches getting caught up by it.

Additionally, this pull request only covers the chrome version, safari has not been touched!