Add Kurier.at

This commit is contained in:
magnolia1234 2020-10-22 19:59:25 +02:00
parent 482e8c77bd
commit d872543fe0
6 changed files with 16 additions and 2 deletions

View File

@ -205,6 +205,7 @@ Visit the [Firefox repository](https://bitbucket.org/magnolia1234/bypass-paywall
[Frankfurter Allgemeine Zeitung](https://www.faz.net) -
[Handelsblatt](https://www.handelsblatt.com) -
[Hannoversche Allgemeine Zeitung](https://www.haz.de) -
[Kurier.at](https://kurier.at) -
[Leipziger Volkszeitung](https://www.lvz.de) -
[Neue Ruhr Zeitung](https://www.nrz.de) -
[Süddeutsche Zeitung](https://www.sueddeutsche.de) -

View File

@ -54,6 +54,7 @@ var allow_cookies = [
'independent.ie',
'intelligentinvestor.com.au',
'knack.be',
'kurier.at',
'lc.nl',
'lesechos.fr',
'lesoir.be',
@ -204,6 +205,7 @@ var blockedRegexes = {
'inquirer.com': /.+\.tinypass\.com\/.+/,
'irishtimes.com': /cdn\.ampproject\.org\/v\d\/amp-access-.+\.js/,
'knack.be': /.+\.knack\.be\/js\/responsive\/rmgModal\.js/,
'kurier.at': /.+\.tinypass\.com\/.+/,
'ladepeche.fr': /.+\.poool\.fr\/.+/,
'lasegunda.com': /segreader\.emol\.cl\/assets\/js\/(vendor\/modal\.js|merPramV\d\.js)/,
'lastampa.it': /.+\.repstatic\.it\/minify\/sites\/lastampa\/.+\/config\.cache\.php\?name=social_js/,

View File

@ -4,6 +4,7 @@ Changelog Bypass Paywalls Clean - Chrome
Post-release
Add Foreign Affairs
Add Il Resto del Carlino (Italy)
Add Kurier.at
Add The Logic (Canada)
Add The New York Review of Books
Fix-update Australian Provincial Newspapers (Googlebot)

View File

@ -3,7 +3,7 @@ var ext_api = (typeof browser === 'object') ? browser : chrome;
var domain;
// clean local storage of sites (with an exemption for hold-list)
var arr_localstorage_hold = ['elmundo.es', 'nknews.org', 'nrz.de', 'seekingalpha.com', 'sfchronicle.com', 'thechronicle.com.au', 'thehindu.com', 'thetimes.co.uk', 'waz.de', 'wp.de', 'wr.de'];
var arr_localstorage_hold = ['elmundo.es', 'nknews.org', 'nrz.de', 'seekingalpha.com', 'sfchronicle.com', 'thehindu.com', 'thetimes.co.uk', 'waz.de', 'wp.de', 'wr.de'];
if (!matchDomain(arr_localstorage_hold)){
window.localStorage.clear();
}
@ -1384,6 +1384,14 @@ else if (matchDomain("foreignaffairs.com")) {
elem.classList.add('loaded');
}
else if (matchDomain("kurier.at")) {
let view_offer = document.querySelector('.view-offer');
removeDOMElement(view_offer);
let plus_content = document.querySelector('.plusContent');
if (plus_content)
plus_content.classList.remove('plusContent');
}
// General Functions
function removeDOMElement(...elements) {
for (let element of elements) {

View File

@ -136,6 +136,7 @@
"*://*.journaldunet.com/*",
"*://*.journalnow.com/*",
"*://*.knack.be/*",
"*://*.kurier.at/*",
"*://*.labusinessjournal.com/*",
"*://*.ladepeche.fr/*",
"*://*.lanacion.com.ar/*",
@ -319,5 +320,5 @@
"webRequest",
"webRequestBlocking"
],
"version": "1.9.1.6"
"version": "1.9.1.7"
}

View File

@ -81,6 +81,7 @@ var defaultSites =
"Intelligent Investor": "intelligentinvestor.com.au",
"Irish Independent (opt-in)": "independent.ie",
"Knack.be": "knack.be",
"Kurier.at": "kurier.at",
"L'Écho": "lecho.be",
"L'Opinion": "lopinion.fr",
"La Dépêche": "ladepeche.fr",