Fix for corriere.it
This commit is contained in:
parent
ac6362d3cf
commit
e1dc1f2d32
@ -3,7 +3,7 @@
|
|||||||
// @name No Cookiewall Italia
|
// @name No Cookiewall Italia
|
||||||
// @namespace https://este.linux.it
|
// @namespace https://este.linux.it
|
||||||
// @match https://www.ansa.it/*
|
// @match https://www.ansa.it/*
|
||||||
// @match https://www.corriere.it/*
|
// @match https://*.corriere.it/*
|
||||||
// @match https://www.gazzetta.it/*
|
// @match https://www.gazzetta.it/*
|
||||||
// @match https://www.ilsole24ore.com/*
|
// @match https://www.ilsole24ore.com/*
|
||||||
// @version 1.4.1
|
// @version 1.4.1
|
||||||
@ -38,6 +38,7 @@ switch(window.location.hostname){
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case "www.corriere.it":
|
case "www.corriere.it":
|
||||||
|
case "corrieredelveneto.corriere.it":
|
||||||
var ci = setInterval( function(){
|
var ci = setInterval( function(){
|
||||||
var cookiewall_desktop = document.querySelector('.wall-modal');
|
var cookiewall_desktop = document.querySelector('.wall-modal');
|
||||||
var cookiewall_mobile = document.querySelector('.privacy-cp-wall');
|
var cookiewall_mobile = document.querySelector('.privacy-cp-wall');
|
||||||
@ -45,7 +46,7 @@ switch(window.location.hostname){
|
|||||||
// Cookiewall desktop
|
// Cookiewall desktop
|
||||||
if (cookiewall_desktop) {
|
if (cookiewall_desktop) {
|
||||||
cookiewall_desktop.style.display = 'none';
|
cookiewall_desktop.style.display = 'none';
|
||||||
document.querySelector('.tp-backdrop').classList.remove('tp-active');
|
document.querySelector('.tp-backdrop').style.display = 'none';
|
||||||
document.querySelector('body').classList.remove('tp-modal-open');
|
document.querySelector('body').classList.remove('tp-modal-open');
|
||||||
clearTimeout(ci);
|
clearTimeout(ci);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user