mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 01:11:04 +00:00
Remove Entrepreneur (fix obsolete)
This commit is contained in:
parent
4057c1598b
commit
7364c4c1e0
@ -98,7 +98,6 @@ _* free articles only._
|
|||||||
[Business Insider](https://www.businessinsider.com) -
|
[Business Insider](https://www.businessinsider.com) -
|
||||||
[CNBC](https://www.cnbc.com) -
|
[CNBC](https://www.cnbc.com) -
|
||||||
[Digiday](https://digiday.com) -
|
[Digiday](https://digiday.com) -
|
||||||
[Entrepreneur](https://www.entrepreneur.com) -
|
|
||||||
[Forbes](https://www.forbes.com) -
|
[Forbes](https://www.forbes.com) -
|
||||||
[Fortune](https://fortune.com) -
|
[Fortune](https://fortune.com) -
|
||||||
[Harvard Business Review](https://www.hbr.org) -
|
[Harvard Business Review](https://www.hbr.org) -
|
||||||
|
@ -786,7 +786,9 @@ if (typeof browser !== 'object') {
|
|||||||
ext_api.tabs.executeScript(tabId, {
|
ext_api.tabs.executeScript(tabId, {
|
||||||
file: lib_file,
|
file: lib_file,
|
||||||
runAt: 'document_start'
|
runAt: 'document_start'
|
||||||
}, function () {
|
}, function (res) {
|
||||||
|
if (ext_api.runtime.lastError)
|
||||||
|
return;
|
||||||
ext_api.tabs.executeScript(tabId, {
|
ext_api.tabs.executeScript(tabId, {
|
||||||
file: 'contentScript.js',
|
file: 'contentScript.js',
|
||||||
runAt: 'document_start'
|
runAt: 'document_start'
|
||||||
|
@ -6,6 +6,7 @@ Add McClatchy DC
|
|||||||
Add Mundo Deportivo
|
Add Mundo Deportivo
|
||||||
Add PhiloMag.de
|
Add PhiloMag.de
|
||||||
Add ZeroHedge
|
Add ZeroHedge
|
||||||
|
Remove Entrepreneur (fix obsolete)
|
||||||
Fix Boston Globe (css)
|
Fix Boston Globe (css)
|
||||||
Fix Substack (split content)
|
Fix Substack (split content)
|
||||||
Fix Telegraaf.nl
|
Fix Telegraaf.nl
|
||||||
|
@ -2984,19 +2984,6 @@ else if (matchDomain('enotes.com')) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
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('espn.com')) {
|
else if (matchDomain('espn.com')) {
|
||||||
let url = window.location.href;
|
let url = window.location.href;
|
||||||
let paywall = document.querySelector('aside.espn-plus-container-wrapper');
|
let paywall = document.querySelector('aside.espn-plus-container-wrapper');
|
||||||
|
@ -212,7 +212,6 @@
|
|||||||
"*://*.eltiempo.com/*",
|
"*://*.eltiempo.com/*",
|
||||||
"*://*.em.com.br/*",
|
"*://*.em.com.br/*",
|
||||||
"*://*.enotes.com/*",
|
"*://*.enotes.com/*",
|
||||||
"*://*.entrepreneur.com/*",
|
|
||||||
"*://*.epe.es/*",
|
"*://*.epe.es/*",
|
||||||
"*://*.espn.com/*",
|
"*://*.espn.com/*",
|
||||||
"*://*.esprit.presse.fr/*",
|
"*://*.esprit.presse.fr/*",
|
||||||
|
4
sites.js
4
sites.js
@ -483,10 +483,6 @@ var defaultSites = {
|
|||||||
domain: "enotes.com",
|
domain: "enotes.com",
|
||||||
allow_cookies: 1
|
allow_cookies: 1
|
||||||
},
|
},
|
||||||
"Entrepreneur": {
|
|
||||||
domain: "entrepreneur.com",
|
|
||||||
allow_cookies: 1
|
|
||||||
},
|
|
||||||
"ESPN USA (news only; link to archive.is))": {
|
"ESPN USA (news only; link to archive.is))": {
|
||||||
domain: "espn.com",
|
domain: "espn.com",
|
||||||
allow_cookies: 1
|
allow_cookies: 1
|
||||||
|
Loading…
Reference in New Issue
Block a user