joyn.de - fix

This commit is contained in:
zloyden
2025-10-16 19:50:56 +03:00
parent 53bfa06b22
commit 355c10aaa6

View File

@@ -14487,6 +14487,7 @@ premium-link.ninja##.cc_banner-wrapper
akku-maeser.at#%#//scriptlet('set-cookie-reload', 'cookies_confirmed_1', '1')
! TODO: replace by the scriptlet when https://github.com/AdguardTeam/Scriptlets/issues/423
! will be done and products with new Scriptlets lib will be released
joyn.de#%#(()=>{let t,e=!1;const o=new MutationObserver(((e,o)=>{const c=t?.querySelector('cmp-button[variant="primary"]');c&&(c.click(),o.disconnect())})),c={apply:(c,n,a)=>{const r=Reflect.apply(c,n,a);return!e&&n.matches("cmp-dialog")&&(e=!0,t=r),o.observe(r,{subtree:!0,childList:!0}),r}};window.Element.prototype.attachShadow=new Proxy(window.Element.prototype.attachShadow,c)})();
blog.seznam.cz,kupi.cz#%#(()=>{let t;const e=new MutationObserver(((e,o)=>{const n=t?.querySelector('button[data-testid="button-agree"]');n&&(setTimeout((()=>{n.click()}),500),o.disconnect())})),o={apply:(o,n,c)=>{const a=Reflect.apply(o,n,c);return n.matches(".szn-cmp-dialog-container")&&(t=a),e.observe(a,{subtree:!0,childList:!0}),a}};window.Element.prototype.attachShadow=new Proxy(window.Element.prototype.attachShadow,o)})();
!
atlas-diamant.de#%#//scriptlet('set-cookie', 'ckies_cookielaw', 'allow')