Posts Tagged Firefox

My first Firefox extension

After installing the Firefox 3.0 beta, the majority of my extensions stopped working. I had gotten rather spoiled with them, so I decided it was time to learn about writing Firefox extensions so that I could a)fix the ones I like which aren’t being updated, and b)write my own for the things that don’t exist yet.

For my first foray into writing Firefox extensions, I decided to go with something simple, but which I find useful. So I made PlusOne.

What PlusOne does is quite simple. It finds the numerical part of the current URL you are browsing, and simply adds 1 to it. (You can also subtract 1 from it.) So, if the page you’re viewing is called page1.html, you could right-click on the page and choose “Plus One”, and it will navigate to page2.html. Likewise, if you are viewing britney-spears-naked-17.jpg, you can right-click on the page and choose “Minus One” and it will navigate to britney-spears-naked-16.jpg.

Of course, if the file doesn’t exist, you’ll still get a 404. But often you can discover many interesting, and somewhat hidden, gems just by exploring the possibilities of incrementing the URL. It’s also easier than searching the entire page for the tiny “next” link hidden at the bottom when you’re reading a six-page scientific essay. (Yeah, right… you’re looking for naked pictures of Britney Spears.)

Please try it out and leave any comments on this page.

Tags:

Search shortcuts for Firefox

Everyone who has ever used my computer, even for a moment, has taken a particular liking to my search shortcuts — most notably gg, my shortcut to Google.

I’m doing Google searches all the time. Whenever I have a question about anything, I don’t hesitate to grab my laptop and look it up on Google. If I had to go to Google.com, wait for the site to load, and click in the search box before I could type in my query and search, it would slow me down.

After reading that, you probably think I’m crazy. But yes, that little bit of extra work would slow me down. I search a lot!

So what is my more efficient solution? It’s simple: Firefox bookmark keywords. If you don’t understand them, I recommend that you go look at the LifeHacker article about them.

I’ve published some of my more useful search shortcuts here. Firefox users can simply right-click on the link and choose Bookmark This Link. Then, go into Organize Bookmarks and add keywords to them. I also recommend grouping the search shortcuts into a folder called Search to keep some sanity in the Bookmark menu.

Google Search – keyword: gg
Google Maps – keyword: map
Google Image Search – keyword: img
IMDB Lookup – keyword: imdb
Dictionary – keyword: dc
Thesaurus – keyword: th
Wikipedia – keyword: wiki

After saving the bookmarks, don’t forget to add the keywords. The shortcuts are useless without them. Oh, and if you don’t use Firefox, you’re out of luck.

With the shortcuts, you can now go to the address bar and type gg britney spears to learn everything you want to know about annoying pop singers. But that would be useless.

More useful would be, when you’re looking at the web site for a local sushi restaurant and you see their address on the page, you could copy it from the page and paste it into the address bar, typing map before it, so you have something like map 401 N Michigan Ave Chicago. Just a few keystrokes gets you the directions you’re looking for.

Tags: ,

Firefox

Spread Firefox Affiliate Button

If you haven’t yet tried Firefox, you need to. Firefox is a fully standards compliant browser, which is important if you’re developing web sites because you need to know that you’re writing standards compliant code. Firefox is faster than Internet Explorer, and it’s also far safer, lacking all of the security holes that IE provides for hackers to access your system. And if that’s not enough, Firefox also provides tools to block popup windows, and extensions make it easy to block ads anywhere in a web page.

Tags: