mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 07:37:47 +01:00
Fix-update Toronto Star (hide rightrail)
This commit is contained in:
parent
2afca3058f
commit
4e1d0e0a43
1 changed files with 3 additions and 1 deletions
|
@ -526,8 +526,10 @@ else if (matchDomain("techinasia.com")) {
|
||||||
|
|
||||||
else if (matchDomain("thestar.com")) {
|
else if (matchDomain("thestar.com")) {
|
||||||
let meter_banner = document.querySelector('.c-article-meter-banner');
|
let meter_banner = document.querySelector('.c-article-meter-banner');
|
||||||
|
removeDOMElement(meter_banner);
|
||||||
let rightrail = document.querySelector('.c-article-body__rightrail');
|
let rightrail = document.querySelector('.c-article-body__rightrail');
|
||||||
removeDOMElement(meter_banner, rightrail);
|
if (rightrail)
|
||||||
|
rightrail.setAttribute('style', 'display:none;');
|
||||||
let paywall = document.querySelector('.basic-paywall-new');
|
let paywall = document.querySelector('.basic-paywall-new');
|
||||||
if (paywall) {
|
if (paywall) {
|
||||||
removeDOMElement(paywall);
|
removeDOMElement(paywall);
|
||||||
|
|
Loading…
Reference in a new issue