Add Slate (Plus)
parent
b17fe5d0c0
commit
521ab887b0
|
@ -125,6 +125,7 @@ Visit the [Firefox repository](https://bitbucket.org/magnolia1234/bypass-paywall
|
|||
[Commentary Magazine](https://www.commentarymagazine.com) -
|
||||
[Medium](https://www.medium.com) (all sites) -
|
||||
[Rolling Stone](https://www.rollingstone.com) -
|
||||
[Slate](https://slate.com) -
|
||||
[SofRep](https://sofrep.com) -
|
||||
[The Daily Beast](https://www.thedailybeast.com)* -
|
||||
[Vanity Fair](https://www.vanityfair.com) -
|
||||
|
|
|
@ -34,6 +34,7 @@ var allow_cookies = [
|
|||
'dvhn.nl',
|
||||
'editorialedomani.it',
|
||||
'elmercurio.com',
|
||||
'elmundo.es',
|
||||
'elpais.com',
|
||||
'mercuriovalpo.cl',
|
||||
'eurekareport.com.au',
|
||||
|
@ -71,6 +72,7 @@ var allow_cookies = [
|
|||
'scribd.com',
|
||||
'seekingalpha.com',
|
||||
'slader.com',
|
||||
'slate.com',
|
||||
'startribune.com',
|
||||
'stocknews.com',
|
||||
'techinasia.com',
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
Changelog Bypass Paywalls Clean - Chrome
|
||||
|
||||
Post-release
|
||||
Add Slate (Plus)
|
||||
Remove BusinessTimes.com.sg (obsolete)
|
||||
Fix-update Bloomberg (overlay)
|
||||
Fix-update Challenges.fr (timing)
|
||||
|
|
|
@ -1268,6 +1268,12 @@ else if (matchDomain("elpais.com")) {
|
|||
removeDOMElement(paywall_offer);
|
||||
}
|
||||
|
||||
else if (matchDomain("slate.com")) {
|
||||
let slate_roadblock = document.querySelector('.slate-roadblock');
|
||||
removeDOMElement(slate_roadblock);
|
||||
}
|
||||
|
||||
|
||||
// General Functions
|
||||
function removeDOMElement(...elements) {
|
||||
for (let element of elements) {
|
||||
|
|
|
@ -206,6 +206,7 @@
|
|||
"*://*.seekingalpha.com/*",
|
||||
"*://*.sfchronicle.com/*",
|
||||
"*://*.slader.com/*",
|
||||
"*://*.slate.com/*",
|
||||
"*://*.sloanreview.mit.edu/*",
|
||||
"*://*.smh.com.au/*",
|
||||
"*://*.sofrep.com/*",
|
||||
|
@ -304,5 +305,5 @@
|
|||
"webRequest",
|
||||
"webRequestBlocking"
|
||||
],
|
||||
"version": "1.8.9.4"
|
||||
"version": "1.8.9.5"
|
||||
}
|
||||
|
|
|
@ -21,5 +21,5 @@
|
|||
"page": "options.html"
|
||||
},
|
||||
"permissions": [ "cookies", "<all_urls>", "storage", "webRequest", "webRequestBlocking"],
|
||||
"version": "1.8.9.4"
|
||||
"version": "1.8.9.5"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue