mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 06:37:47 +01:00
Add Global Polymer Group (Crain)
This commit is contained in:
parent
0dc9fb033a
commit
02dc82cc55
6 changed files with 64 additions and 18 deletions
|
@ -132,7 +132,14 @@ Grouped in options:\
|
|||
[Crain's Detroit Business](https://www.crainsdetroit.com) -
|
||||
[Crain's New York Business](https://www.crainsnewyork.com) -
|
||||
[Modern Healthcare](https://www.modernhealthcare.com) -
|
||||
[Pensions & Investments](https://www.pionline.com)
|
||||
[Pensions & Investments](https://www.pionline.com)\
|
||||
Global Polymer Group:
|
||||
[European Rubber Journal](https://www.european-rubber-journal.com) -
|
||||
[Plastics News](https://www.plasticsnews.com) -
|
||||
[Rubber News](https://www.rubbernews.com) -
|
||||
[Sustainable Plastics](https://www.sustainableplastics.com) -
|
||||
[Tire Business](https://www.tirebusiness.com) -
|
||||
[Urethanes Technology International](https://www.utech-polyurethane.com)
|
||||
|
||||
*[Inside Retail](https://octomedia.com.au/our-brands/inside-retail)* sites (opt-in to custom sites)
|
||||
|
||||
|
|
|
@ -5,6 +5,7 @@ Updates (install signed xpi-file): https://gitlab.com/magnolia1234/bypass-paywal
|
|||
Post-release
|
||||
Add Doorbraak.be
|
||||
Add Moda.it (GEDI.it)
|
||||
Add Global Polymer Group (Crain)
|
||||
Add Welt.de (link to archive.is)
|
||||
Fix FreiePresse.de
|
||||
Fix South China Morning Post (css)
|
||||
|
|
|
@ -40,7 +40,7 @@ var uk_nat_world_domains = ['scotsman.com', 'yorkshirepost.co.uk'];
|
|||
var usa_adv_local_domains = ['al.com', 'cleveland.com', 'lehighvalleylive.com', 'masslive.com', 'mlive.com', 'nj.com', 'oregonlive.com', 'pennlive.com', 'silive.com', 'syracuse.com'];
|
||||
var usa_arizent_custom_domains = ['accountingtoday.com', 'benefitnews.com', 'bondbuyer.com', 'dig-in.com', 'financial-planning.com', 'nationalmortgagenews.com'];
|
||||
var usa_conde_nast_domains = ['architecturaldigest.com', 'bonappetit.com', 'cntraveler.com', 'epicurious.com', 'gq.com' , 'newyorker.com', 'vanityfair.com', 'vogue.com', 'wired.com'];
|
||||
var usa_craincomm_domains = ['360dx.com', 'adage.com', 'autonews.com', 'chicagobusiness.com', 'crainscleveland.com', 'crainsdetroit.com', 'crainsnewyork.com', 'genomeweb.com', 'modernhealthcare.com', 'pionline.com', 'precisionmedicineonline.com'];
|
||||
var usa_craincomm_domains = ['360dx.com', 'adage.com', 'autonews.com', 'chicagobusiness.com', 'crainscleveland.com', 'crainsdetroit.com', 'crainsnewyork.com', 'european-rubber-journal.com', 'genomeweb.com', 'modernhealthcare.com', 'pionline.com', 'plasticsnews.com', 'precisionmedicineonline.com', 'rubbernews.com', 'sustainableplastics.com', 'tirebusiness.com', 'utech-polyurethane.com'];
|
||||
var usa_gannett_domains = ['azcentral.com', 'cincinnati.com', 'commercialappeal.com', 'courier-journal.com', 'democratandchronicle.com', 'detroitnews.com', 'freep.com', 'indystar.com', 'jsonline.com', 'knoxnews.com', 'news-press.com', 'northjersey.com', 'oklahoman.com', 'statesman.com', 'tennessean.com'];
|
||||
var usa_hearst_comm_domains = ['expressnews.com', 'houstonchronicle.com', 'sfchronicle.com'];
|
||||
var usa_lee_ent_domains = ['buffalonews.com', 'journalnow.com', 'journalstar.com', 'madison.com', 'nwitimes.com', 'omaha.com', 'richmond.com', 'stltoday.com', 'tucson.com', 'tulsaworld.com'];
|
||||
|
@ -2118,6 +2118,15 @@ else if (matchDomain('eastwest.eu')) {
|
|||
}
|
||||
}
|
||||
|
||||
else if (matchDomain('editorialedomani.it')) {
|
||||
if (window.location.search.startsWith('?amp=1'))
|
||||
ampToHtml();
|
||||
else {
|
||||
let ads = document.querySelectorAll('div.ad-container');
|
||||
hideDOMElement(...ads);
|
||||
}
|
||||
}
|
||||
|
||||
else if (matchDomain('gazzetta.it')) {
|
||||
if (window.location.pathname.endsWith('_preview.shtml')) {
|
||||
let paywall = document.querySelector('section.bck-freemium__wall');
|
||||
|
@ -5396,6 +5405,16 @@ else if (matchDomain(usa_conde_nast_domains)) {
|
|||
}
|
||||
|
||||
else if (matchDomain(usa_craincomm_domains)) {
|
||||
if (matchDomain('european-rubber-journal.com')) {
|
||||
let paywall = document.querySelector('div.article-overlay');
|
||||
if (paywall) {
|
||||
let fade = document.querySelector('div.gradient');
|
||||
removeDOMElement(paywall, fade);
|
||||
let truncated = document.querySelector('div.truncated');
|
||||
if (truncated)
|
||||
truncated.classList.remove('truncated');
|
||||
}
|
||||
} else {
|
||||
let body_hidden = document.querySelector('body[class]');
|
||||
if (body_hidden)
|
||||
body_hidden.removeAttribute('class');
|
||||
|
@ -5409,6 +5428,7 @@ else if (matchDomain(usa_craincomm_domains)) {
|
|||
let sponsored_article = document.querySelector('div.sponsored-article');
|
||||
if (sponsored_article)
|
||||
sponsored_article.classList.remove('sponsored-article');
|
||||
}
|
||||
let banners = document.querySelectorAll('div.footer__ads-footer');
|
||||
hideDOMElement(...banners);
|
||||
}
|
||||
|
@ -5848,6 +5868,7 @@ function amp_iframes_replace(weblink = false, source = '') {
|
|||
amp_iframe.parentNode.replaceChild(elem, amp_iframe);
|
||||
} else {
|
||||
par = document.createElement('p');
|
||||
par.style = 'margin: 20px 0px;';
|
||||
elem = document.createElement('a');
|
||||
elem.innerText = 'Media-link';
|
||||
elem.setAttribute('href', amp_iframe.getAttribute('src'));
|
||||
|
|
|
@ -51,5 +51,5 @@
|
|||
"webRequestBlocking",
|
||||
"*://*/*"
|
||||
],
|
||||
"version": "3.4.2.5"
|
||||
"version": "3.4.2.6"
|
||||
}
|
||||
|
|
|
@ -250,6 +250,7 @@
|
|||
"*://*.etc.se/*",
|
||||
"*://*.euobserver.com/*",
|
||||
"*://*.eurekareport.com.au/*",
|
||||
"*://*.european-rubber-journal.com/*",
|
||||
"*://*.europower.no/*",
|
||||
"*://*.exame.com/*",
|
||||
"*://*.examiner.com.au/*",
|
||||
|
@ -541,6 +542,7 @@
|
|||
"*://*.pilotonline.com/*",
|
||||
"*://*.pionline.com/*",
|
||||
"*://*.piqd.de/*",
|
||||
"*://*.plasticsnews.com/*",
|
||||
"*://*.politicaexterior.com/*",
|
||||
"*://*.popsci.com/*",
|
||||
"*://*.popularmechanics.com/*",
|
||||
|
@ -571,6 +573,7 @@
|
|||
"*://*.rnd.de/*",
|
||||
"*://*.roadandtrack.com/*",
|
||||
"*://*.rollingstone.com/*",
|
||||
"*://*.rubbernews.com/*",
|
||||
"*://*.rugbypass.com/*",
|
||||
"*://*.rugbyrama.fr/*",
|
||||
"*://*.ruhrnachrichten.de/*",
|
||||
|
@ -629,6 +632,7 @@
|
|||
"*://*.sueddeutsche.de/*",
|
||||
"*://*.sun-sentinel.com/*",
|
||||
"*://*.suomensotilas.fi/*",
|
||||
"*://*.sustainableplastics.com/*",
|
||||
"*://*.svz.de/*",
|
||||
"*://*.swarajyamag.com/*",
|
||||
"*://*.syracuse.com/*",
|
||||
|
@ -699,6 +703,7 @@
|
|||
"*://*.timeshighereducation.com/*",
|
||||
"*://*.timesofindia.com/*",
|
||||
"*://*.timesofindia.indiatimes.com/*",
|
||||
"*://*.tirebusiness.com/*",
|
||||
"*://*.tlz.de/*",
|
||||
"*://*.topagrar.at/*",
|
||||
"*://*.topagrar.com/*",
|
||||
|
@ -721,6 +726,7 @@
|
|||
"*://*.upstreamonline.com/*",
|
||||
"*://*.usatoday.com/*",
|
||||
"*://*.usinenouvelle.com/*",
|
||||
"*://*.utech-polyurethane.com/*",
|
||||
"*://*.valeursactuelles.com/*",
|
||||
"*://*.vancouversun.com/*",
|
||||
"*://*.vanityfair.com/*",
|
||||
|
@ -808,5 +814,5 @@
|
|||
"*://*.wyleex.com/*",
|
||||
"*://webcache.googleusercontent.com/*"
|
||||
],
|
||||
"version": "3.4.2.5"
|
||||
"version": "3.4.2.6"
|
||||
}
|
||||
|
|
15
sites.js
15
sites.js
|
@ -431,13 +431,24 @@ var defaultSites = {
|
|||
"crainscleveland.com",
|
||||
"crainsdetroit.com",
|
||||
"crainsnewyork.com",
|
||||
"european-rubber-journal.com",
|
||||
"genomeweb.com",
|
||||
"modernhealthcare.com",
|
||||
"pionline.com",
|
||||
"precisionmedicineonline.com"
|
||||
"plasticsnews.com",
|
||||
"precisionmedicineonline.com",
|
||||
"rubbernews.com",
|
||||
"sustainableplastics.com",
|
||||
"tirebusiness.com",
|
||||
"utech-polyurethane.com"
|
||||
],
|
||||
allow_cookies: 1,
|
||||
block_regex: /(js\.pelcro\.com\/|\.com\/.+\/js\/js_.+\.js)/
|
||||
block_regex: /(js\.pelcro\.com\/|\.com\/.+\/js\/js_.+\.js)/,
|
||||
exception: [{
|
||||
domain: "european-rubber-journal.com",
|
||||
allow_cookies: 1,
|
||||
}
|
||||
]
|
||||
},
|
||||
"Crikey.com.au": {
|
||||
domain: "crikey.com.au",
|
||||
|
|
Loading…
Reference in a new issue