Last active
August 29, 2015 14:06
-
-
Save cathalgarvey/8add855e5066ed39ced1 to your computer and use it in GitHub Desktop.
Bookmarklet to remove the goddamed "pick your location" landing dialog from bio-rad.com
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bio-rad.com has one of those intensely aggravating landing dialogs that demands | |
to know where you are so it can forcibly remove you from what you're trying to | |
view, and perhaps gouge you for more money. | |
This is annoying, invasive and generally not-cool, so here's a little | |
bookmarklet to remove the dialog and get on with things. | |
To use, just copy the below code into a new bookmark using your browser's | |
bookmark manager. Don't omit the "javascript:" bit or the final empty | |
parentheses: "()". | |
javascript:(function(){%24(%22%23overlaydialog1%22).remove()%3B%24(%22%23overlay-shadow%22).remove()%3B%24(%22%23TB_overlay%22).remove()%3B%24(%22%23TB_window%22).remove()})() | |
(I tried to make this a "drag this link to your bookmarks" affair but no dice | |
on gist, it doesn't let you drag things..) | |
Original unquoted JS code: | |
javascript:(function(){ | |
$("#overlaydialog1").remove(); /* Bio-rad */ | |
$("#overlay-shadow").remove(); /* Bio-rad */ | |
$("#TB_overlay").remove(); /* Eurofins */ | |
$("#TB_window").remove(); /* Eurofins */ | |
})() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment