The New York Times Paywall Bypass

Removes paywalls when trying to view content on The New York Times

Zainstaluj skrypt?
Skrypt zaproponowany przez autora

Może Ci się również spodobać. The New York Times Paywall Bypass

Zainstaluj jako styl
// ==UserScript==
// @name The New York Times Paywall Bypass
// @namespace https://joshcantco.de
// @version 1.2.0
// @description Removes paywalls when trying to view content on The New York Times
// @author Joshua Fountain
// @license GPL-3.0-or-later
// @grant GM_addStyle
// @run-at document-start
// @include /^(?:^http.://www.nytimes.com/\d{4}\/.*)$/
// @include https://www.nytimes.com/slideshow*
// @include https://www.nytimes.com/live*
// @include https://www.nytimes.com/interactive*
// ==/UserScript==

(function() {
    let css = `
        #app > div > div:not([id]), #site-content {
            position: static !important;
        }
        #gateway-content, #standalone-header, #app > div > div:first-child > div:last-child {
            display: none;
        }
    `;
    if (typeof GM_addStyle !== "undefined") {
        GM_addStyle(css);
    } else {
        let styleNode = document.createElement("style");
        styleNode.appendChild(document.createTextNode(css));
        (document.querySelector("head") || document.documentElement).appendChild(styleNode);
    }
})();