Fix-update Harper's Magazine
This commit is contained in:
parent
1634bbdc6f
commit
57a425a41d
@ -4,7 +4,7 @@
|
||||
var ext_api = (typeof browser === 'object') ? browser : chrome;
|
||||
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 csDone = false;
|
||||
|
||||
|
@ -7,6 +7,7 @@ Add Esprit (France)
|
||||
Add The Spectator USA
|
||||
Remove Aftonbladet.se (obsolete)
|
||||
Fix-update El Mercurio & La Segunda (mobile)
|
||||
Fix-update Harper's Magazine
|
||||
Fix-update Mexico News Daily
|
||||
Fix-update Telegraph.co.uk (amp pages)
|
||||
Fix-update The New Yorker (embed)
|
||||
|
@ -1124,6 +1124,9 @@ else if (matchDomain("theatlantic.com")) {
|
||||
else if (matchDomain("harpers.org")) {
|
||||
let overlay = document.querySelector('div[id^="pum-"]');
|
||||
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")) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user