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.