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) -
|
||||
[CNBC](https://www.cnbc.com) -
|
||||
[Digiday](https://digiday.com) -
|
||||
[Entrepreneur](https://www.entrepreneur.com) -
|
||||
[Forbes](https://www.forbes.com) -
|
||||
[Fortune](https://fortune.com) -
|
||||
[Harvard Business Review](https://www.hbr.org) -
|
||||
|
@ -786,7 +786,9 @@ if (typeof browser !== 'object') {
|
||||
ext_api.tabs.executeScript(tabId, {
|
||||
file: lib_file,
|
||||
runAt: 'document_start'
|
||||
}, function () {
|
||||
}, function (res) {
|
||||
if (ext_api.runtime.lastError)
|
||||
return;
|
||||
ext_api.tabs.executeScript(tabId, {
|
||||
file: 'contentScript.js',
|
||||
runAt: 'document_start'
|
||||
|
@ -6,6 +6,7 @@ Add McClatchy DC
|
||||
Add Mundo Deportivo
|
||||
Add PhiloMag.de
|
||||
Add ZeroHedge
|
||||
Remove Entrepreneur (fix obsolete)
|
||||
Fix Boston Globe (css)
|
||||
Fix Substack (split content)
|
||||
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')) {
|
||||
let url = window.location.href;
|
||||
let paywall = document.querySelector('aside.espn-plus-container-wrapper');
|
||||
|
@ -212,7 +212,6 @@
|
||||
"*://*.eltiempo.com/*",
|
||||
"*://*.em.com.br/*",
|
||||
"*://*.enotes.com/*",
|
||||
"*://*.entrepreneur.com/*",
|
||||
"*://*.epe.es/*",
|
||||
"*://*.espn.com/*",
|
||||
"*://*.esprit.presse.fr/*",
|
||||
|
Loading…
Reference in New Issue
Block a user