Simple script to bypass the paywall and regiwall on New York Times via hooking fetch
// ==UserScript==
// @name New York Times - Paywall & Regiwall Bypass
// @namespace http://tampermonkey.net/
// @version 1.1
// @description Simple script to bypass the paywall and regiwall on New York Times via hooking fetch
// @author November2246
// @match https://*.nytimes.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=nytimes.com
// @grant unsafeWindow
// @run-at document-start
// @license ISC
// ==/UserScript==
const _fetch = unsafeWindow.fetch;
unsafeWindow.fetch = function fetch() {
if (arguments[0].includes('/svc/onsite-messaging/query') && arguments[1]?.method === 'POST') return Promise.reject();
return _fetch.apply(this, arguments);
}