mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 05:57:48 +01:00
Fix-update AFR (images)
Plus some background.js styling
This commit is contained in:
parent
787094edff
commit
eb356f3ebc
4 changed files with 483 additions and 483 deletions
|
@ -303,7 +303,7 @@ So don't update to Firefox 79 or use Firefox Nightly (and load BPC from a custom
|
|||
[Haaretz.com](https://www.haaretz.com) -
|
||||
[The Marker](https://www.themarker.com)
|
||||
|
||||
####Lebanon
|
||||
#### Lebanon
|
||||
[L'Orient-Le Jour](https://www.lorientlejour.com)
|
||||
|
||||
#### Latin America
|
||||
|
|
941
background.js
941
background.js
File diff suppressed because it is too large
Load diff
|
@ -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,19 +598,17 @@ 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;
|
||||
if (src.includes(".gif")) {
|
||||
var data_src = hidden_image.getAttribute("data-src");
|
||||
if (data_src)
|
||||
hidden_image.setAttribute('src', data_src);
|
||||
}
|
||||
let hidden_images = document.querySelectorAll('img');
|
||||
for (let hidden_image of hidden_images) {
|
||||
var src = hidden_image.src;
|
||||
if (src.includes(".gif")) {
|
||||
var data_src = hidden_image.getAttribute("data-src");
|
||||
if (data_src)
|
||||
hidden_image.setAttribute('src', data_src);
|
||||
}
|
||||
let plista = document.querySelector('div[data-plista-placement="underArticle_Group"]');
|
||||
removeDOMElement(plista);
|
||||
});
|
||||
}
|
||||
let plista = document.querySelector('div[data-plista-placement="underArticle_Group"]');
|
||||
removeDOMElement(plista);
|
||||
}
|
||||
|
||||
else if (matchDomain("theglobeandmail.com")) {
|
||||
|
|
Loading…
Reference in a new issue