Fix-update AFR (images)
Plus some background.js styling
This commit is contained in:
parent
5ebe902e9b
commit
7f4d7b2189
@ -878,7 +878,8 @@ ext_api.storage.sync.get(["optInShown", "customShown"], function (result) {
|
||||
|
||||
function isSiteEnabled(details) {
|
||||
var enabledSite = matchUrlDomain(enabledSites, details.url);
|
||||
if (ext_name.includes(' for ')) enabledSite = '';
|
||||
if (!ext_name.includes('Clean'))
|
||||
enabledSite = '';
|
||||
if (enabledSite in restrictions) {
|
||||
return restrictions[enabledSite].test(details.url);
|
||||
}
|
||||
|
@ -11,6 +11,7 @@ Add The New York Review of Books
|
||||
Fix-update Australian Provincial Newspapers (Googlebot)
|
||||
Fix-update Funke Medien (TinyPass)
|
||||
Fix bug in NY Times (hidden iframe-content)
|
||||
Fix-update Australian Financial Review (images)
|
||||
Fix-update The West Australian (timing)
|
||||
Open (custom) options in new tab
|
||||
|
||||
|
@ -598,7 +598,6 @@ else if (matchDomain("thestar.com")) {
|
||||
}
|
||||
|
||||
else if (matchDomain("afr.com")) {
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
let hidden_images = document.querySelectorAll('img');
|
||||
for (let hidden_image of hidden_images) {
|
||||
var src = hidden_image.src;
|
||||
@ -610,7 +609,6 @@ else if (matchDomain("afr.com")) {
|
||||
}
|
||||
let plista = document.querySelector('div[data-plista-placement="underArticle_Group"]');
|
||||
removeDOMElement(plista);
|
||||
});
|
||||
}
|
||||
|
||||
else if (matchDomain("theglobeandmail.com")) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user