Created
October 16, 2012 18:56
-
-
Save druu/3901226 to your computer and use it in GitHub Desktop.
Bookmarklet: Clean up Google's search result URLs
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
javascript:(function(){var links=document.querySelectorAll('a.l'),count=links.length;while(count--){links[count].onmousedown=null;if((/url=/i).test(links[count].href)){links[count].href=decodeURIComponent(links[count].href.match(/url=([a-z0-9\-+%._]+)&/i)[1].replace(/\+/g, ' '));}};})() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment