Skip to content

Instantly share code, notes, and snippets.

@jmac
Last active December 20, 2015 08:39
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 jmac/6102148 to your computer and use it in GitHub Desktop.
Save jmac/6102148 to your computer and use it in GitHub Desktop.
Disable theage.com.au's subscription overlay
// Create a new bookmark in your browser of choice
// and add the following in the URL field:
javascript:(function(){function e(){(window.disableSubOverlay=function(){$("#subscription-overlay").remove(),$("body").css("overflow","auto")})()}var a="1.3.2";if(void 0===window.jQuery||a>window.jQuery.fn.jquery){var t=!1,o=document.createElement("script");o.src="http://ajax.googleapis.com/ajax/libs/jquery/"+a+"/jquery.min.js",o.onload=o.onreadystatechange=function(){t||this.readyState&&"loaded"!=this.readyState&&"complete"!=this.readyState||(t=!0,e())},document.getElementsByTagName("head")[0].appendChild(o)}else e()})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment