Greasy Fork

LA Times, Paywall Removal

Disables paywall and renables scrolling

目前为 2019-04-04 提交的版本。查看 最新版本

// ==UserScript==
// @name         LA Times, Paywall Removal
// @namespace    http://null
// @version      1.2
// @description  Disables paywall and renables scrolling
// @author       Grant Bacon (@grantbacon)
// @match        *://*.latimes.com/*
// @match        *://www.chicagotribune.com/*
// @match        *://www.baltimoresun.com/*
// @match        *://www.capitalgazette.com/*
// @match        *://www.carrollcountytimes.com/*
// @match        *://www.dailypress.com/*
// @match        *://www.courant.com/*
// @match        *://www.mcall.com/*
// @match        *://www.orlandosentinel.com/*
// @match        *://www.sun-sentinel.com/*
// @match        *://www.dailypress.com/*
// @match        *://www.vagazette.com/*
// @grant        none
// ==/UserScript==


/* 
 * I don't know why I didn't think of this earlier, the vendor left us a little "thaw" method anyway. :)
 *
 * In the opposing words of Donald Trump, this paywall just became 10 feet shorter!!!!
 *
 * the same could be done by typing "trb.registration.utils.page.thaw();" in your browser console, or visiting "javascript:trb.registration.utils.page.thaw();" as a web address while viewing the page.

 * Special thanks to "o" in the Feedback section for pointing out that this script works with other sites
 */

document.addEventListener("DOMContentLoaded", function() {
    trb.registration.utils.page.thaw();
});