mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 03:31:57 +01:00
Fix Newsweek.pl (premium video)
This commit is contained in:
parent
5b82051baf
commit
6daa8bf29c
2 changed files with 6 additions and 0 deletions
|
@ -9,6 +9,7 @@ Remove Hbvl.be (fix obsolete)
|
||||||
Remove The Banker (fix obsolete)
|
Remove The Banker (fix obsolete)
|
||||||
Fix Humanite.fr
|
Fix Humanite.fr
|
||||||
Fix LeMonde.fr (bug; update rules)
|
Fix LeMonde.fr (bug; update rules)
|
||||||
|
Fix Newsweek.pl (premium video)
|
||||||
Fix Wiwo.de (anti-adblocker)
|
Fix Wiwo.de (anti-adblocker)
|
||||||
Fix WSJ (intro video)
|
Fix WSJ (intro video)
|
||||||
Update custom sites (search)
|
Update custom sites (search)
|
||||||
|
|
|
@ -4926,6 +4926,11 @@ else if (matchDomain(pl_ringier_domains)) {
|
||||||
premium.removeAttribute('class');
|
premium.removeAttribute('class');
|
||||||
premium.removeAttribute('style');
|
premium.removeAttribute('style');
|
||||||
}
|
}
|
||||||
|
let premium_videos = document.querySelectorAll('div.videoPremiumWrapper > div.embed__mainVideoWrapper');
|
||||||
|
for (let video of premium_videos) {
|
||||||
|
video.removeAttribute('class');
|
||||||
|
video.parentNode.removeAttribute('class');
|
||||||
|
}
|
||||||
let placeholder = document.querySelector('div#contentPremiumPlaceholder[class]');
|
let placeholder = document.querySelector('div#contentPremiumPlaceholder[class]');
|
||||||
if (placeholder)
|
if (placeholder)
|
||||||
placeholder.removeAttribute('class');
|
placeholder.removeAttribute('class');
|
||||||
|
|
Loading…
Reference in a new issue