Add Outside

This commit is contained in:
magnolia1234 2022-01-20 18:55:47 +01:00
parent 2b1b18d129
commit 5bb0036a3d
5 changed files with 13 additions and 5 deletions

View file

@ -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) -

View file

@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Firefox
Post-release
Add Huffingtonpost.it
Add Outside
Fix Asia Times
Fix Challenges.fr
Fix Clarin

View file

@ -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);
}
}

View file

@ -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"
}

View file

@ -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"
},