mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 01:11:04 +00:00
Fix custom sites (no useragent/referer on restart)
Plus fix El Mercurio (timing)
This commit is contained in:
parent
1377986cff
commit
c77464575e
@ -657,6 +657,7 @@ ext_api.storage.local.get({
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
change_headers = use_google_bot.concat(use_bing_bot, use_facebook_referer, use_google_referer, use_twitter_referer, use_random_ip);
|
||||||
disableJavascriptOnListedSites();
|
disableJavascriptOnListedSites();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -2,6 +2,8 @@
|
|||||||
Changelog Bypass Paywalls Clean - Firefox
|
Changelog Bypass Paywalls Clean - Firefox
|
||||||
|
|
||||||
Post-release
|
Post-release
|
||||||
|
Fix El Mercurio (timing)
|
||||||
|
Fix custom sites (no useragent/referer on restart)
|
||||||
|
|
||||||
* v2.3.0.0 (2021-07-25)
|
* v2.3.0.0 (2021-07-25)
|
||||||
Add NHST Media Group (TradeWinds)
|
Add NHST Media Group (TradeWinds)
|
||||||
|
@ -1525,13 +1525,15 @@ else if (matchDomain('elmercurio.com')) {
|
|||||||
let elem_hidden = document.querySelectorAll('[style="visibility:hidden"]');
|
let elem_hidden = document.querySelectorAll('[style="visibility:hidden"]');
|
||||||
for (let elem of elem_hidden)
|
for (let elem of elem_hidden)
|
||||||
elem.removeAttribute('style');
|
elem.removeAttribute('style');
|
||||||
let cont_articlelight = document.querySelector('div.cont_articlelight:not([style])');
|
|
||||||
if (cont_articlelight)
|
|
||||||
cont_articlelight.setAttribute('style', 'height: 100% !important; width: 90% !important');
|
|
||||||
let page_pdf_content = document.querySelector('div.page_pdf_content');
|
let page_pdf_content = document.querySelector('div.page_pdf_content');
|
||||||
let close_html = document.querySelector('div.close_html');
|
let close_html = document.querySelector('div.close_html');
|
||||||
removeDOMElement(page_pdf_content, close_html)
|
removeDOMElement(page_pdf_content, close_html)
|
||||||
}, 1000); // Delay (in milliseconds)
|
}, 1000); // Delay (in milliseconds)
|
||||||
|
window.setTimeout(function () {
|
||||||
|
let cont_articlelight = document.querySelector('div.cont_articlelight');
|
||||||
|
if (cont_articlelight)
|
||||||
|
cont_articlelight.setAttribute('style', 'height: 100% !important; width: 90% !important');
|
||||||
|
}, 3000); // Delay (in milliseconds)
|
||||||
}
|
}
|
||||||
|
|
||||||
else if (matchDomain('estadao.com.br')) {
|
else if (matchDomain('estadao.com.br')) {
|
||||||
|
Loading…
Reference in New Issue
Block a user