mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-04 12:00:10 +00:00
Add Entrepreneur
This commit is contained in:
parent
9215f68fc2
commit
52c8916f94
@ -70,6 +70,7 @@ _* free articles only._
|
||||
[Bloomberg](https://www.bloomberg.com) -
|
||||
[Business Insider](https://www.businessinsider.com) -
|
||||
[Digiday](https://digiday.com) –
|
||||
[Entrepreneur](https://www.entrepreneur.com) -
|
||||
[Fortune](https://fortune.com) -
|
||||
[Harvard Business Review](https://www.hbr.org) -
|
||||
[Inc.com](https://www.inc.com) -
|
||||
|
@ -55,6 +55,7 @@ var allow_cookies_default = [
|
||||
'elmundo.es',
|
||||
'elpais.com',
|
||||
'elperiodico.com',
|
||||
'entrepreneur.com',
|
||||
'esprit.presse.fr',
|
||||
'euobserver.com',
|
||||
'eurekareport.com.au',
|
||||
|
@ -2,6 +2,7 @@
|
||||
Changelog Bypass Paywalls Clean - Firefox
|
||||
|
||||
Post-release
|
||||
Add Entrepreneur
|
||||
|
||||
* v2.1.2.0 (2021-03-14)
|
||||
Add El Espanol (Spain)
|
||||
|
@ -1225,7 +1225,7 @@ else if (matchDomain("sueddeutsche.de")) {
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
let offer_page = document.querySelector('div.offer-page');
|
||||
if (url.startsWith('https://www.sueddeutsche.de') && (url.includes('reduced=true') || offer_page))
|
||||
window.location.href = url.split('?')[0].replace('www.', 'amphtml.');
|
||||
window.location.href = url.split('?')[0].split('!')[0].replace('www.', 'amphtml.');
|
||||
else if (url.startsWith('https://sz-magazin.sueddeutsche.de')) {
|
||||
if (url.includes('reduced=true') || offer_page)
|
||||
window.location.href = new URL(url).pathname + '!amp';
|
||||
@ -2203,6 +2203,28 @@ else if (matchDomain('elespanol.com')) {
|
||||
removeDOMElement(...adverts);
|
||||
}
|
||||
|
||||
else if (matchDomain('entrepreneur.com')) {
|
||||
let promo = document.querySelector('.paywall-promo');
|
||||
if (promo) {
|
||||
removeDOMElement(promo);
|
||||
let gate_check = document.querySelector('.gate-check');
|
||||
if (gate_check)
|
||||
gate_check.removeAttribute('class');
|
||||
let hidden_images = document.querySelectorAll('img.lazy[src*="blur"][data-src]');
|
||||
for (let hidden_image of hidden_images)
|
||||
hidden_image.setAttribute('src', hidden_image.getAttribute("data-src"));
|
||||
}
|
||||
}
|
||||
|
||||
else if (matchDomain('rheinpfalz.de')) {
|
||||
let url = window.location.href;
|
||||
if (url.includes('reduced=true')) {
|
||||
window.setTimeout(function () {
|
||||
window.location.href = url.split('?')[0];
|
||||
}, 500); // Delay (in milliseconds)
|
||||
}
|
||||
}
|
||||
|
||||
else if (!matchDomain(['belfasttelegraph.co.uk', 'independent.ie']))
|
||||
csDone = true;
|
||||
|
||||
|
@ -139,6 +139,7 @@
|
||||
"*://*.elnortedecastilla.es/*",
|
||||
"*://*.elpais.com/*",
|
||||
"*://*.elperiodico.com/*",
|
||||
"*://*.entrepreneur.com/*",
|
||||
"*://*.esprit.presse.fr/*",
|
||||
"*://*.estadao.com.br/*",
|
||||
"*://*.estrellavalpo.cl/*",
|
||||
@ -489,5 +490,5 @@
|
||||
"*://*.wallkit.net/*",
|
||||
"*://*.wsj.net/*"
|
||||
],
|
||||
"version": "2.1.2.0"
|
||||
"version": "2.1.2.1"
|
||||
}
|
1
sites.js
1
sites.js
@ -60,6 +60,7 @@ var defaultSites =
|
||||
"El País": "elpais.com",
|
||||
"El Periódico (de Catalunya)": "elperiodico.com",
|
||||
"Encyclopedia Britannica": "britannica.com",
|
||||
"Entrepreneur": "entrepreneur.com",
|
||||
"Esprit": "esprit.presse.fr",
|
||||
"EUobserver": "euobserver.com",
|
||||
"Eureka Report": "eurekareport.com.au",
|
||||
|
Loading…
Reference in New Issue
Block a user