Removes the New York Times paywall
当前为
// ==UserScript==
// @name New York Times Paywall Bypass
// @namespace https://github.com/deelawn/user-scripts
// @version 0.2
// @description Removes the New York Times paywall
// @author deelawn
// @include /^http(s?)://((www\.)?)nytimes\.com(.*)?/\d\d\d\d/(.+)$/
// @grant none
// ==/UserScript==
var lastDiv = "";
var myTimer = setInterval(
function () {
'use strict';
var articleDiv = document.getElementById("main");
if (articleDiv == null){
return;
}else{
articleDiv = articleDiv.outerHTML;
}
if (articleDiv.length > lastDiv.length){
lastDiv = articleDiv;
return;
}
articleDiv = lastDiv;
if (document.getElementById("gatewayCreative") == null){
return;
}
for(i=0;i<999;i++){clearInterval(i);}
document.getElementById("gatewayCreative").outerHTML="";
$("body").css({"overflow":"visible"});
$("html").css({"overflow":"visible"});
document.getElementById("main").outerHTML=articleDiv;
}, 100);
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址