|
|
|
@ -4399,6 +4399,21 @@ else if (matchDomain('newsweek.com')) {
|
|
|
|
|
hideDOMElement(...ads);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
else if (matchDomain('newsweek.pl')) {
|
|
|
|
|
let clear_ads = function () {
|
|
|
|
|
window.setTimeout(function () {
|
|
|
|
|
let ads = document.querySelectorAll('[class^="pwAds"], .hide-for-paying, div#contentPremiumPlaceholder > span, div.onet-ad');
|
|
|
|
|
hideDOMElement(...ads);
|
|
|
|
|
}, 2000);
|
|
|
|
|
}
|
|
|
|
|
func_post = function () {
|
|
|
|
|
clear_ads();
|
|
|
|
|
}
|
|
|
|
|
let url = window.location.href;
|
|
|
|
|
getArchive(url, 'div#contentPremiumPlaceholder', '', 'div#article-content-body');
|
|
|
|
|
clear_ads();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
else if (matchDomain(['nola.com', 'theadvocate.com'])) {
|
|
|
|
|
if (window.location.pathname.endsWith('.amp.html')) {
|
|
|
|
|
let body_hidden = document.querySelector('.site-container');
|
|
|
|
|