Fix custom sites (no useragent/referer on restart)
Plus fix El Mercurio (timing)master
parent
6498c83c4d
commit
fd7b5d0aa0
|
@ -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();
|
||||
});
|
||||
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
Changelog Bypass Paywalls Clean - Chrome
|
||||
|
||||
Post-release
|
||||
Fix El Mercurio (timing)
|
||||
Fix custom sites (no useragent/referer on restart)
|
||||
|
||||
* v2.3.0.0 (2021-07-25)
|
||||
Add NHST Media Group (TradeWinds)
|
||||
|
|
|
@ -1525,13 +1525,15 @@ else if (matchDomain('elmercurio.com')) {
|
|||
let elem_hidden = document.querySelectorAll('[style="visibility:hidden"]');
|
||||
for (let elem of elem_hidden)
|
||||
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 close_html = document.querySelector('div.close_html');
|
||||
removeDOMElement(page_pdf_content, close_html)
|
||||
}, 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')) {
|
||||
|
|
Loading…
Reference in New Issue