The New York Times Paywall Bypass

Removes the paywall encountered when trying to view articles on The New York Times

目前為 2022-03-07 提交的版本,檢視 最新版本

// ==UserScript==
// @name            The New York Times Paywall Bypass
// @namespace       https://joshcantco.de
// @version         1.0.0
// @description     Removes the paywall encountered when trying to view articles on The New York Times
// @author          Joshua Fountain
// @match           https://www.nytimes.com/*
// @grant           none
// @license         GPL version 3 or any later version; http://www.gnu.org/copyleft/gpl.html
// ==/UserScript==

(function() {
    'use strict';

    document.head.insertAdjacentHTML('beforeend', `
    <style>
		#app > div > div:not([role='main']), #site-content {
			position: static;
		}
		#gateway-content, #app > div > div[class^='css'] > div[class^='css'] {
			display: none;
		}
	</style>`);
})();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址