This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
tools [2008/01/17 12:57] 127.0.0.1 external edit |
tools [2010/06/01 12:40] (current) robm |
||
---|---|---|---|
Line 28: | Line 28: | ||
**NB:** This also removes the ability to show thumbnails (mini-thumbnails on a folder icon do still appear to work though, but that might be cached) | **NB:** This also removes the ability to show thumbnails (mini-thumbnails on a folder icon do still appear to work though, but that might be cached) | ||
+ | |||
+ | ===== Firefox Magic ===== | ||
+ | ==== GreaseMonkey ==== | ||
+ | === Convert Javascript links to ordinary links === | ||
+ | |||
+ | I hate websites which use '' | ||
+ | |||
+ | Here's a script which fixed this for me: | ||
+ | |||
+ | <code javascript> | ||
+ | // ==UserScript== | ||
+ | // @name | ||
+ | // @namespace | ||
+ | // @include | ||
+ | // @require | ||
+ | // ==/ | ||
+ | |||
+ | $(document).ready(function() { | ||
+ | $(" | ||
+ | .each(function(index, | ||
+ | var jObj = $(this) | ||
+ | var rHref = jObj.attr(" | ||
+ | if( rHref.match(/ | ||
+ | rHref = rHref.replace(/ | ||
+ | rHref = rHref.replace(/' | ||
+ | jObj.attr(" | ||
+ | } | ||
+ | }) | ||
+ | ; | ||
+ | }); | ||
+ | </ | ||
+ | |||
+ | You need to replace @include to match the URLs you want the script applied to, and you probably want to change the namespace to better suite your personal organisation of greasemonkey scripts. | ||
+ | |||
+ |