mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-02 15:40:13 +00:00
commit
889f062b89
@ -26,6 +26,7 @@ Hartford Courant (courant.com)\
|
||||
Harvard Business Review (hbr.org)\
|
||||
Het Financieele Dagblad (fd.nl)\
|
||||
Inc.com (inc.com)\
|
||||
La Repubblica (repubblica.it)\
|
||||
Le Temps (letemps.ch)\
|
||||
Los Angeles Times (latimes.com)\
|
||||
Medium (medium.com)\
|
||||
|
@ -25,6 +25,7 @@ var defaultSites = {
|
||||
'Harvard Business Review': 'hbr.org',
|
||||
'Het Financieele Dagblad': 'fd.nl',
|
||||
'Inc.com': 'inc.com',
|
||||
'La Repubblica': 'repubblica.it',
|
||||
'Le Temps': 'letemps.ch',
|
||||
'Los Angeles Times': 'latimes.com',
|
||||
'Medium': 'medium.com',
|
||||
|
@ -29,4 +29,15 @@ if (window.location.href.indexOf("bizjournals.com") !== -1) {
|
||||
if (msg) {
|
||||
msg.style['display'] = 'none';
|
||||
}
|
||||
}
|
||||
} else if (location.hostname.endsWith('rep.repubblica.it')) {
|
||||
if (location.href.includes("/pwa/")) {
|
||||
location.href = location.href.replace("/pwa/", "/ws/detail/");
|
||||
}
|
||||
|
||||
if (location.href.includes("/ws/detail/")) {
|
||||
const paywall = document.getElementsByClassName('paywall');
|
||||
if (paywall && paywall.length > 0) {
|
||||
paywall[0].toggleAttribute('amp-access-hide');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -4,7 +4,7 @@
|
||||
},
|
||||
"content_scripts": [
|
||||
{
|
||||
"matches": ["*://*.bizjournals.com/*", "*://*.businessinsider.com/*", "*://*.haaretz.co.il/*"],
|
||||
"matches": ["*://*.bizjournals.com/*", "*://*.businessinsider.com/*", "*://*.haaretz.co.il/*", "*://*.repubblica.it/*"],
|
||||
"js": ["contentScript.js"]
|
||||
}
|
||||
],
|
||||
@ -43,5 +43,5 @@
|
||||
"webRequest",
|
||||
"webRequestBlocking"
|
||||
],
|
||||
"version": "1.4.4"
|
||||
"version": "1.4.5"
|
||||
}
|
||||
|
@ -23,6 +23,7 @@ var defaultSites = {
|
||||
'Harvard Business Review': 'hbr.org',
|
||||
'Het Financieele Dagblad': 'fd.nl',
|
||||
'Inc.com': 'inc.com',
|
||||
'La Repubblica': 'repubblica.it',
|
||||
'Le Temps': 'letemps.ch',
|
||||
'Los Angeles Times': 'latimes.com',
|
||||
'Medium': 'medium.com',
|
||||
|
@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8">
|
||||
</head>
|
||||
<body>
|
||||
<div style="width:230px;">Bypass Paywalls v1.4.4 by Adam
|
||||
<div style="width:230px;">Bypass Paywalls v1.4.5 by Adam
|
||||
<a href="options.html">Options</a></div>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user