Fix-update Harper's Magazine

This commit is contained in:
magnolia1234 2020-12-04 16:17:09 +01:00
parent c15f3cd173
commit f9184d506c
3 changed files with 5 additions and 1 deletions

View file

@ -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;

View file

@ -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)

View file

@ -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")) {