Greasy Fork is available in English.

The New York Times Paywall Bypass

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

ติดตั้งสคริปต์นี้?
สคริปต์ที่แนะนำของผู้เขียน

คุณอาจชื่นชอบ The New York Times Paywall Bypass

ติดตั้ง ตามสไตล์ของของคุณ
// ==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);
    }
})();