NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name Break HTO Paywall // @version 1.1 // @copyright 2019, clewa (https://openuserjs.org/users/clewa) // @license GPL-3.0-or-later // @include https://www.hoosiertimes.com/* // @require http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js // @require https://gist.github.com/raw/2625891/waitForKeyElements.js // ==/UserScript== function unhide(node) { node.removeClass("hide"); } function remove(node) { node.remove(); } function modal_close(node) { document.querySelector('button.close').click() } waitForKeyElements("div.subscriber-only.hide", unhide); waitForKeyElements("button.close", modal_close); var toRemove = [ "div#subscription-modal", "div.subscription-required", "div.redacted-overlay", ]; for (var i = 0; i < toRemove.length; i++) { waitForKeyElements(toRemove[i], remove); }