您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
read nyt for free, if you must
// ==UserScript== // @name new york times paywall begone // @namespace Violentmonkey Scripts nyt // @match https://www.nytimes.com/* // @description read nyt for free, if you must // @grant none // @version 0.0.1.20241001160222 // ==/UserScript== var t = '', h = '', po = '<p class="css-at9mc1 evys1bk0">', pc = '</p>', br = '<br />', bc = 'blockquote', ih = 'innerHTML', n = __preloadedData.initialData.data.article.sprinkledBody; $ = function(_) { return document.getElementsByTagName(_) } if ($("header")[1]) { h = $("header")[1][ih] } for (var i = 0, l = n.content.length; i < l; ++i) { var nc = n.content[i]; if (nc.__typename == "ParagraphBlock") { t += po + nc.content[0].text + pc + br + br } } $("body")[0][ih] = '<' + bc + ' style="padding:255px">' + po + h + t + pc + '</' + bc + '>';