Greasy Fork is available in English.
Unhides the "paywalled" articles on Rep
当前为
// ==UserScript==
// @name Repubblica "Rep" Aesthetic Paywall Bypass
// @namespace https://andrealazzarotto.com
// @version 1.1
// @description Unhides the "paywalled" articles on Rep
// @author Andrea Lazzarotto
// @match https://rep.repubblica.it/*
// @grant GM_addStyle
// @license GPL version 3 or any later version; http://www.gnu.org/copyleft/gpl.html
// ==/UserScript==
var watcher = function() {
if (location.href.indexOf("/pwa/") > 0) {
location.href = location.href.replace("/pwa/", "/ws/detail/");
}
};
(function() {
'use strict';
GM_addStyle("div.detail-article_body > div:not(.paywall) { display: none !important; } .paywall { display: block !important; }");
setInterval(watcher, 1000);
window.dispatchEvent(new Event('resize'));
})();