Skip to content

Commit

Permalink
fix #197606 journaldunet.com
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey-Lyapin committed Feb 3, 2025
1 parent 094efa7 commit e0ab3fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions AnnoyancesFilter/Cookies/sections/cookies_specific.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14349,9 +14349,9 @@ br.de,hornbach.de,aldi.fr,aldi.be,aldi-nord.de,aldi.lu,aldi.pt,aldi.nl,villeroy-
! https://github.com/AdguardTeam/AdguardFilters/issues/173053
! TODO: remove the hints, JS rule when the issue is fixed - https://github.com/AdguardTeam/Scriptlets/issues/407
!+ NOT_PLATFORM(windows, mac, android, ios, ext_safari)
linternaute.com,lachainemeteo.com,journaldesfemmes.fr,lefigaro.fr#%#//scriptlet('trusted-click-element', 'button.button__acceptAll')
journaldunet.com,linternaute.com,lachainemeteo.com,journaldesfemmes.fr,lefigaro.fr#%#//scriptlet('trusted-click-element', 'button.button__acceptAll')
!+ PLATFORM(windows, mac, android, ios, ext_safari)
linternaute.com,lachainemeteo.com,journaldesfemmes.fr,lefigaro.fr#%#(()=>{document.addEventListener('DOMContentLoaded',()=>{if("undefined"!=typeof localStorage)try{if(!localStorage.getItem("_pubcid")){var b=new MutationObserver(function(){var a=document.querySelector("#appconsent > iframe");a&&a.contentDocument&&(a=a.contentDocument.querySelector(".button__acceptAll"))&&(b.disconnect(),a.click())});b.observe(document,{childList:!0,subtree:!0,attributes:!0});setTimeout(function(){b.disconnect()},1E4)}}catch(a){}})})();
journaldunet.com,linternaute.com,lachainemeteo.com,journaldesfemmes.fr,lefigaro.fr#%#(()=>{document.addEventListener('DOMContentLoaded',()=>{if("undefined"!=typeof localStorage)try{if(!localStorage.getItem("_pubcid")){var b=new MutationObserver(function(){var a=document.querySelector("#appconsent > iframe");a&&a.contentDocument&&(a=a.contentDocument.querySelector(".button__acceptAll"))&&(b.disconnect(),a.click())});b.observe(document,{childList:!0,subtree:!0,attributes:!0});setTimeout(function(){b.disconnect()},1E4)}}catch(a){}})})();
! https://github.com/AdguardTeam/AdguardFilters/issues/170168
! TODO: use trusted-click-element scriptlet when issues below are fixed
! Support for clicking in shadow DOM - https://github.com/AdguardTeam/Scriptlets/issues/323
Expand Down

0 comments on commit e0ab3fa

Please sign in to comment.