mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 03:41:57 +01:00
Fix Adweek (free articles only)
This commit is contained in:
parent
8b437ffb1e
commit
2d48881ef2
6 changed files with 6 additions and 8 deletions
|
@ -81,7 +81,7 @@ _* free/cached articles only._
|
|||
[World Politics Review](https://www.worldpoliticsreview.com)
|
||||
|
||||
##### Business
|
||||
[Adweek](https://www.adweek.com) -
|
||||
[Adweek](https://www.adweek.com)* -
|
||||
[American Affairs](https://americanaffairsjournal.org) -
|
||||
[American Banker](https://www.americanbanker.com) -
|
||||
[Barron's](https://www.barrons.com) -
|
||||
|
|
|
@ -16,7 +16,6 @@ var blocked_referer = false;
|
|||
// defaultSites are loaded from sites.js at installation extension
|
||||
|
||||
var restrictions = {
|
||||
'adweek.com': /^((?!\.adweek\.com\/(.+\/)?(amp|agencyspy|tvnewser|tvspy)\/).)*$/,
|
||||
'bloomberg.com': /^((?!\.bloomberg\.com\/news\/terminal\/).)*$/,
|
||||
'economictimes.com': /\.economictimes\.com($|\/($|(__assets|prime)(\/.+)?|.+\.cms))/,
|
||||
'elespanol.com': /^((?!\/cronicaglobal\.elespanol\.com\/).)*$/,
|
||||
|
|
|
@ -5,6 +5,7 @@ Post-release
|
|||
Add Aftonbladet.se
|
||||
Add Investors' Chronicle (UK)
|
||||
Add Nzz.ch Regional (opt-in to custom sites)
|
||||
Fix Adweek (free articles only)
|
||||
Fix Quartz (newsletter)
|
||||
Update block general paywall script (Ensighten)
|
||||
Update block general paywall script (Evolok WordPress)
|
||||
|
|
|
@ -790,7 +790,7 @@ else
|
|||
} else if (window.location.hostname.match(/\.(dk|fi|no|se)$/)) {//denmark/finland/norway/sweden
|
||||
|
||||
if (matchDomain(fi_alma_talent_domains)) {
|
||||
let ads = document.querySelectorAll('div[class^="p2m385-"], div#anop-container, .ad');
|
||||
let ads = document.querySelectorAll('div[class^="p2m385-"], div#anop-container, .ad, div.iZivCJ');
|
||||
for (let ad of ads)
|
||||
ad.setAttribute('style', 'display:none;');
|
||||
if (matchDomain('iltalehti.fi')) {
|
||||
|
|
|
@ -651,7 +651,6 @@
|
|||
"*://*.gannett-cdn.com/*",
|
||||
"*://*.gitlab.com/magnolia1234/*",
|
||||
"*://*.hearstnp.com/*",
|
||||
"*://*.lightboxcdn.com/*",
|
||||
"*://*.loader-cdn.azureedge.net/*",
|
||||
"*://*.mcclatchy-wires.com/*",
|
||||
"*://*.mcclatchyinteractive.com/*",
|
||||
|
@ -667,5 +666,5 @@
|
|||
"*://*.wsj.net/*",
|
||||
"*://webcache.googleusercontent.com/*"
|
||||
],
|
||||
"version": "2.6.4.4"
|
||||
"version": "2.6.4.5"
|
||||
}
|
||||
|
|
5
sites.js
5
sites.js
|
@ -25,9 +25,8 @@ var defaultSites = {
|
|||
"syracuse.com"
|
||||
]
|
||||
},
|
||||
"Adweek": {
|
||||
domain: "adweek.com",
|
||||
block_regex: /\.lightboxcdn\.com\//
|
||||
"Adweek (free articles only)": {
|
||||
domain: "adweek.com"
|
||||
},
|
||||
"Aftonbladet": {
|
||||
domain: "aftonbladet.se",
|
||||
|
|
Loading…
Reference in a new issue