mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 06:07:47 +01:00
Add Outside
This commit is contained in:
parent
2b1b18d129
commit
5bb0036a3d
5 changed files with 13 additions and 5 deletions
|
@ -152,6 +152,7 @@ Grouped in options:\
|
|||
[First Things](https://www.firstthings.com) -
|
||||
[Medium](https://www.medium.com/topics) (for custom domains enable custom sites) -
|
||||
[National Review](https://www.nationalreview.com) -
|
||||
[Outside](https://www.outsideonline.com) -
|
||||
[Rolling Stone](https://www.rollingstone.com) -
|
||||
[Slate](https://slate.com) -
|
||||
[SofRep](https://sofrep.com) -
|
||||
|
|
|
@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Firefox
|
|||
|
||||
Post-release
|
||||
Add Huffingtonpost.it
|
||||
Add Outside
|
||||
Fix Asia Times
|
||||
Fix Challenges.fr
|
||||
Fix Clarin
|
||||
|
|
|
@ -3198,12 +3198,12 @@ else if (matchDomain('usatoday.com')) {
|
|||
}
|
||||
}
|
||||
|
||||
else if (matchDomain('velonews.com')) {
|
||||
else if (matchDomain(['velonews.com', 'outsideonline.com'])) {
|
||||
let paywall = document.querySelector('div.o-membership-overlay');
|
||||
if (paywall) {
|
||||
let is_gated = document.querySelector('.is-gated');
|
||||
if (is_gated)
|
||||
is_gated.classList.remove('is-gated');
|
||||
let is_gated = document.querySelectorAll('[class*="is-gated"]');
|
||||
for (let elem of is_gated)
|
||||
removeClassesByPrefix(elem, 'is-gated');
|
||||
removeDOMElement(paywall);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -407,6 +407,7 @@
|
|||
"*://*.orlandosentinel.com/*",
|
||||
"*://*.ostsee-zeitung.de/*",
|
||||
"*://*.otz.de/*",
|
||||
"*://*.outsideonline.com/*",
|
||||
"*://*.paloaltoonline.com/*",
|
||||
"*://*.paris-normandie.fr/*",
|
||||
"*://*.parismatch.com/*",
|
||||
|
@ -602,5 +603,5 @@
|
|||
"*://*.wsj.net/*",
|
||||
"*://*.zephr.com/*"
|
||||
],
|
||||
"version": "2.5.2.4"
|
||||
"version": "2.5.2.5"
|
||||
}
|
||||
|
|
5
sites.js
5
sites.js
|
@ -1180,6 +1180,11 @@ var defaultSites = {
|
|||
allow_cookies: 1,
|
||||
block_regex: /(\.tinypass\.com\/|cdn\.ampproject\.org\/v\d\/amp-((sticky-)?ad|subscriptions)-.+\.js)/
|
||||
},
|
||||
"Outside": {
|
||||
domain: "outsideonline.com",
|
||||
allow_cookies: 1,
|
||||
block_regex: /\.outsideonline\.com\/.+\/scripts\/contentGate.+\.js/
|
||||
},
|
||||
"Palo Alto Online": {
|
||||
domain: "paloaltoonline.com"
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue