您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Removes the Washington Post paywall
// ==UserScript== // @name Washington Post Paywall Bypass // @namespace https://github.com/deelawn/user-scripts // @version 0.4 // @description Removes the Washington Post paywall // @author deelawn // @include /^http(s?)://((www\.)?)washingtonpost\.com/(.+)?/\d\d\d\d/(.+)$/ // @grant none // ==/UserScript== var lastDiv = ""; var elemId = ""; var myTimer = setInterval( function () { 'use strict'; if (document.getElementById("pb-root") != null){ elemId = "pb-root"; }else if (document.getElementById("pg-content") != null){ elemId = "pg-content"; }else{ return; } var articleDiv = document.getElementById(elemId).outerHTML; if (articleDiv.length > lastDiv.length){ lastDiv = articleDiv; return; } articleDiv = lastDiv; if (document.getElementById("wp_Signin").outerHTML == null){ return; }else if (document.querySelector(".wp_signin") == null){ return; } document.getElementById("wp_Signin").outerHTML=""; document.querySelector(".wp_signin").outerHTML=""; document.querySelector("body").style.overflow="visible"; document.getElementById(elemId).outerHTML=articleDiv; clearInterval(myTimer); }, 100);
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址