| Current mood: | productive |
| Entry tags: | coding, jf |
Greasemonkey fix for the JF doubleslashes bug
You may have noticed since JF's code upgrade, that when following a link to a community post from a memories page (for example, this one), a second slash is inserted in the URL after "community", causing the post to appear to not exist.
Well, until that bug is fixed, I've got a small fix you can use. (Yeah, sure you could edit the URL by hand, but if you're trying to find one post out of several dozen, it's a pain.) Just download this tiny Greasemonkey script, and the URL will automatically correct itself, yay. :)
If for some reason you don't use Firefox, or don't use Greasemonkey, you can use a bookmarklet instead. (It's not automatic like the Greasemonkey script -- you'd have to click it whenever you hit a double-slashed page.) Just copy and paste the code below into the location area of a new bookmark:
javascript:location.pathname=location.pathname.replace(/\/\//,"/");