If new toys don’t stop falling into my lap, I’m never going to get any sleep.
I updated the Netflix preview button fixer (previously) a bit. Now it only activates on a movie page, and will only search for the first preview button. There shouldn’t be a preview button unless it’s a movie page, and there should only be one button, right?
And I was able to do all of this from work thanks to Surftp! Now I’ll never get any work done! Yay!
New Greasemonkey script: Disable Targets for Downloads. “But wait,” you say, “isn’t there already a firefox extension to do that?” Well, yes there is, but why use an extension to do what a user script can do? Plus, my script also disables onClick for download links. Enjoy!
I did find a way to make Shift-click open a new tab in Firefox: open browser.jar (under the firefox install dir, opens as a regular zipfile), and change browser.js. The relevant function is handleLinkClick(event, href, linkNode).
The only way to change the keyboard shortcuts that I’ve found so far is the extension keyconfig, which besides being user-hateful won’t let me assign both ctrl+n and ctrl+t to do the same thing. The best I can do it to disable ctrl+n, but that’s not exactly what I want to do.
So I just got cable internet installed (income tax and a fat bonus check helped out), and I’m doing some serious catching up. Del.icio.us, flickr, Firefox, and Bloglines have become major obsessions. It’s been my experience that when I use things on a regular basis, I tend to think of ways they could be better, so look for more of the old webgeekery soon.
First up is the Netflix Preview Direct Link script, a user script for Greasemonkey. Greasemonkey, if you haven’t heard of it, is an extension to Firefox that lets you have domain-specific user javascript, just as you might have user-defined styles. The script I wrote changes the “Preview” button in Netflix to link directly to the movie file instead of displaying it embedded in the page (which no worky in Firefox). The script is generously hosted by the guy whose script I cribbed from. There is also a very useful Greasemonkey Script Repository.
I’m also going to probably have to learn how to edit extensions for Firefox, to keep AdBlock from coming up every time I Ctrl+Shift+A to insert a link in Blogger. And how to edit firefox chrome to remap Ctrl+N and shift+click (old habits) to open a new tab instead of a window. And I’ll have to write a script so that Ctrl+Shift+I and B in Blogger work like they used to, instead of inserting a <span>. Hmm. Okay, that’s enough for one day.

Error: uncaught exeption: permission denied to call method XMLHttpRequest.open
This is the sort of thing that makes me miss the old days when all we had were <table>, <b>, <i> and <a href>.
So yeah, I’m still doing something here. I don’t know precisely what, but I am doing something.


