mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 06:37:47 +01:00
Fix-update Harper's Magazine
This commit is contained in:
parent
c15f3cd173
commit
f9184d506c
3 changed files with 5 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
||||||
var ext_api = (typeof browser === 'object') ? browser : chrome;
|
var ext_api = (typeof browser === 'object') ? browser : chrome;
|
||||||
var ext_name = ext_api.runtime.getManifest().name;
|
var ext_name = ext_api.runtime.getManifest().name;
|
||||||
|
|
||||||
const cs_limit_except = ['la-croix.com', 'lescienze.it'];
|
const cs_limit_except = ['harpers.org', 'la-croix.com', 'lescienze.it'];
|
||||||
var currentTabUrl = '';
|
var currentTabUrl = '';
|
||||||
var csDone = false;
|
var csDone = false;
|
||||||
|
|
||||||
|
|
|
@ -7,6 +7,7 @@ Add Esprit (France)
|
||||||
Add The Spectator USA
|
Add The Spectator USA
|
||||||
Remove Aftonbladet.se (obsolete)
|
Remove Aftonbladet.se (obsolete)
|
||||||
Fix-update El Mercurio & La Segunda (mobile)
|
Fix-update El Mercurio & La Segunda (mobile)
|
||||||
|
Fix-update Harper's Magazine
|
||||||
Fix-update Mexico News Daily
|
Fix-update Mexico News Daily
|
||||||
Fix-update Telegraph.co.uk (amp pages)
|
Fix-update Telegraph.co.uk (amp pages)
|
||||||
Fix-update The New Yorker (embed)
|
Fix-update The New Yorker (embed)
|
||||||
|
|
|
@ -1124,6 +1124,9 @@ else if (matchDomain("theatlantic.com")) {
|
||||||
else if (matchDomain("harpers.org")) {
|
else if (matchDomain("harpers.org")) {
|
||||||
let overlay = document.querySelector('div[id^="pum-"]');
|
let overlay = document.querySelector('div[id^="pum-"]');
|
||||||
removeDOMElement(overlay);
|
removeDOMElement(overlay);
|
||||||
|
let entry_content = document.querySelectorAll('.entry-content');
|
||||||
|
for (let elem of entry_content)
|
||||||
|
elem.setAttribute('style', 'display: block !important');
|
||||||
}
|
}
|
||||||
|
|
||||||
else if (matchDomain("irishtimes.com")) {
|
else if (matchDomain("irishtimes.com")) {
|
||||||
|
|
Loading…
Reference in a new issue