Archive for category Bookmarklets
Animations on websites are usually nice, but not always.
One example, where an animation gets annoying is github. They sport a slide animation when going back and forward while browsing the code.
I found this annoying in general, but it became unacceptable once I started using Safari on Lion OS when browsing github repos.
As you know Safari already has a sliding animation when going backward or forward in the browser using the two finger gesture on the trackpad.
With the added github animation, you see two sliding animations right after each other.
Turns out a simple bookmarklet can help.
Since github is using jQuery, turning off all jQuery animations does the trick.
Unfortunately WordPress keeps expanding bookmarklet urls to, so you’ll have to follow these steps in order to install it:
- Copy the code snippet below
- create a new bookmark, name it something like StopFx
- edit the bookmark and paste the copied text into the URL/Address field.
Once you arrive at a github repo invoke the bookmarklet and enjoy distraction free source code browsing.
Of course this will work for any website with annoying jQuery animations,
In case you are interested in creating your own Bookmarklets, you can find more information here.
As a final note, in order to edit bookmarks in Safari, you have to select “Show All Bookmarks” from the “Bookmarks” folder. I am adding this, because that was not at all obvious to me.
I’m also very interested in the libraries that make a lot of things like cross browser issues easier. So a lot of times when I see a site I like, I’m wondering, what libraries it is using under the hood. I wanted a faster way to determine this than ‘view page source’.
In order to use it as a bookmarklet, I went to the Bookmarklet Crunchinator to ‘ crunch’ the above code.
The result looks like this:
Finally, I added it to my bookmark bar – the above ‘crunched’ code becomes the Url of the bookmark.
All I have to do now is click this bookmark and am informed about known libraries that are loaded on the page I am currently on.