Skip to content

Instantly share code, notes, and snippets.

@JPRuskin
Created August 1, 2024 07:32
Show Gist options
  • Save JPRuskin/1a8d2d64079497d34674eabcc31c2ca7 to your computer and use it in GitHub Desktop.
Save JPRuskin/1a8d2d64079497d34674eabcc31c2ca7 to your computer and use it in GitHub Desktop.
Bookmarklets
// Gets the last URL in the chain and decodes it, generally good for when an e-mail clickthrough
// is blocked by uBlock and then goes to a blocked tracker-site anyway...
javascript:(function() {window.location=decodeURIComponent(decodeURIComponent(location.href.replace(/.+(https.+?)$/,'$1')))})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment