// ==UserScript== // @name TowardsDataScience/hbr/medium auto open in incognito // @namespace http://tampermonkey.net/ // @version 0.1 // @description Disable paywall for hbr and tds // @author Raimon Grau // @match https://towardsdatascience.com/* // @match https://hbr.org/* // @grant GM.openInTab // ==/UserScript== (async () => { const host_paywall = { "hbr.org": "paywall-overlay-panel" , "towardsdatascience.com": "regwall-background-color", } if (! GM_info.isIncognito && document.getElementById(host_paywall[window.location.host] || "doesnt-exist-123321")) { const tab = await GM.openInTab(window.location.href, { incognito: true }); } })();