Write to localStorage - set-local-storage-item scriptlet · uBlockOrigin/uBlock-issues · Discussion #2697 (original) (raw)

That would help to deal with GDPR dialogs. Example on this page: https://www.is.fi/politiikka/art-2000008974427.html

These filters would deal with the GDPR dialog so that embedded content in articles won't be broken:

is.fi##+js(trusted-set-cookie, consentUUID, cb373c5f-140d-489c-81f6-996fb913aa04_20, 1year)

is.fi##+js(trusted-set-local-storage-item, cookieConsent, {"sppd":0\,"spcx":0\,"spam":0\,"spma":0\,"spad":0\,"spem":1})

is.fi uses highly generic GDPR script provided by cdn.privacy-mgmt.com so it would definetely help on numerous cases.