Add RugbyPass
This commit is contained in:
parent
0b1557177b
commit
9dc4eb8bdc
@ -178,6 +178,7 @@ Grouped in options:\
|
||||
[Medium](https://www.medium.com/topics) (for custom domains enable custom sites) -
|
||||
[National Review](https://www.nationalreview.com) -
|
||||
[Rolling Stone](https://www.rollingstone.com) -
|
||||
[RugbyPass](https://www.rugbypass.com) -
|
||||
[Slate](https://slate.com) -
|
||||
[SofRep](https://sofrep.com) -
|
||||
[Sports Illustrated](https://www.si.com) -
|
||||
|
@ -4,6 +4,7 @@ Changelog Bypass Paywalls Clean - Chrome
|
||||
Post-release
|
||||
Add Causeur.fr
|
||||
Add La Opinion de Malaga
|
||||
Add RugbyPass
|
||||
Fix Iltalehti.fi (Youtube video/image no source)
|
||||
Fix Inkl
|
||||
|
||||
|
@ -2943,6 +2943,18 @@ else if (matchDomain('qz.com')) {
|
||||
}
|
||||
}
|
||||
|
||||
else if (matchDomain('rugbypass.com') && window.location.pathname.startsWith('/plus/')) {
|
||||
let paywall = document.querySelector('.premium-fold-bottom');
|
||||
if (paywall) {
|
||||
paywall.classList.remove('premium-fold-bottom');
|
||||
let offer = document.querySelector('.plus-article-offer');
|
||||
removeDOMElement(offer);
|
||||
let fade = document.querySelector('.fade');
|
||||
if (fade)
|
||||
fade.classList.remove('fade');
|
||||
}
|
||||
}
|
||||
|
||||
else if (matchDomain('science.org')) {
|
||||
let paywall = document.querySelector('div.alert-read-limit');
|
||||
removeDOMElement(paywall);
|
||||
|
@ -40,5 +40,5 @@
|
||||
"webRequestBlocking",
|
||||
"<all_urls>"
|
||||
],
|
||||
"version": "2.5.8.4"
|
||||
"version": "2.5.8.5"
|
||||
}
|
||||
|
@ -439,6 +439,7 @@
|
||||
"*://*.rheinpfalz.de/*",
|
||||
"*://*.richmond.com/*",
|
||||
"*://*.rollingstone.com/*",
|
||||
"*://*.rugbypass.com/*",
|
||||
"*://*.rundschau-online.de/*",
|
||||
"*://*.sacbee.com/*",
|
||||
"*://*.sandiegouniontribune.com/*",
|
||||
@ -617,5 +618,5 @@
|
||||
"*://*.wallkit.net/*",
|
||||
"*://*.wsj.net/*"
|
||||
],
|
||||
"version": "2.5.8.4"
|
||||
"version": "2.5.8.5"
|
||||
}
|
||||
|
7
sites.js
7
sites.js
@ -1190,7 +1190,7 @@ var defaultSites = {
|
||||
domain: "estadao.com.br",
|
||||
block_regex: /(acesso\.estadao\.com\.br\/paywall\/.+\/.+\.js|cdn\.ampproject\.org\/v\d\/amp-(access|ad|fx-flying-carpet)-.+\.js)/
|
||||
},
|
||||
"O Globo (& Valor Econômico)": {
|
||||
"O Globo (& Valor Econômico; cached articles only)": {
|
||||
domain: "globo.com",
|
||||
block_regex: /\.tinypass\.com\//
|
||||
},
|
||||
@ -1306,6 +1306,11 @@ var defaultSites = {
|
||||
allow_cookies: 1,
|
||||
block_regex: /(cdn\.cxense\.com\/|cdn\.ampproject\.org\/v\d\/amp-(access|(sticky-)?ad)-.+\.js)/
|
||||
},
|
||||
"RugbyPass": {
|
||||
domain: "rugbypass.com",
|
||||
allow_cookies: 1,
|
||||
block_regex: /\.tinypass\.com\//
|
||||
},
|
||||
"San Diego Union Tribune": {
|
||||
domain: "sandiegouniontribune.com",
|
||||
block_regex: /(metering\.platform\.sandiegouniontribune\.com\/v\d\/meter|cdn\.ampproject\.org\/v\d\/amp-(access|(sticky-)?ad|subscriptions)-.+\.js)/
|
||||
|
@ -25,6 +25,16 @@
|
||||
"block_regex": "cdn\\.ampproject\\.org\\/v\\d\\/amp-(access|(sticky-)?ad|fx-flying-carpet)-.+\\.js",
|
||||
"amp_unhide": 1
|
||||
},
|
||||
"RugbyPass": {
|
||||
"domain": "rugbypass.com",
|
||||
"allow_cookies": 1,
|
||||
"block_regex": "\\.tinypass\\.com\\/",
|
||||
"cs_code": [{
|
||||
"cond": ".premium-fold-bottom",
|
||||
"rm_class": "premium-fold-bottom"
|
||||
}
|
||||
]
|
||||
},
|
||||
"The Washington Post": {
|
||||
"domain": "washingtonpost.com",
|
||||
"allow_cookies": 1,
|
||||
|
Loading…
x
Reference in New Issue
Block a user