Skip to content

Instantly share code, notes, and snippets.

@froboy
Created May 17, 2018 18:45
Show Gist options
  • Save froboy/0a90c0ef6da26358b4a5f4ee7f76a48f to your computer and use it in GitHub Desktop.
Save froboy/0a90c0ef6da26358b4a5f4ee7f76a48f to your computer and use it in GitHub Desktop.
This is a bookmarklet to kill the overlay (which was standard, but horrible, practice in Drupal 7) with fire. See https://en.wikipedia.org/wiki/Bookmarklet#Installation
javascript:(function(){ hash=location.hash; pos=hash.indexOf('overlay=')+8; if(hash.length>0) location=location.protocol+'//'+location.hostname + ':' + location.port +'/'+location.hash.substring(pos); })()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment