Skip to content

Instantly share code, notes, and snippets.

@andy0130tw
Last active January 21, 2021 11:03
Show Gist options
  • Save andy0130tw/13657b9465e29e358f47ce2229efdd57 to your computer and use it in GitHub Desktop.
Save andy0130tw/13657b9465e29e358f47ce2229efdd57 to your computer and use it in GitHub Desktop.
A bookmarklet to remove the EVIL fbclid when you want to copy/paste the URL to others
javascript:(H=>{H.replaceState(H.state,null,location.href.replace(/fbclid=[\w\d\-_]+&?/,'').replace(/(\?|&|\?&)$/,''))})(history)
@andy0130tw
Copy link
Author

Sample usage:
2018-11-29 02-37-56

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment