Skip to content

Instantly share code, notes, and snippets.

@jstrieb
Created October 29, 2019 20:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jstrieb/67a2e51f6023b129ab00d120839ed315 to your computer and use it in GitHub Desktop.
Save jstrieb/67a2e51f6023b129ab00d120839ed315 to your computer and use it in GitHub Desktop.
// I hate the automatically highlighted text in Chrome using the #targetText attribute in the URL hash
// This bookmarklet gets rid of the hash and refreshes the page to make the highlighted text disappear
javascript:window.location.replace(window.location.href.substr(0, window.location.href.indexOf('#')));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment