Skip to content

Commit

Permalink
fix #23044
Browse files Browse the repository at this point in the history
  • Loading branch information
mapx- committed Apr 23, 2024
1 parent 6378954 commit df1041c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions filters/annoyances-cookies.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1228,3 +1228,6 @@ canatura.com##+js(trusted-set-cookie, cookiesRules, '{"analytics":false,"persona

! Fix embed video https://www.elmundo.es/espana/2024/04/18/6621445c21efa0137e8b4588.html
elmundo.es##+js(trusted-click-element, button[id="ue-accept-notice-button"], , 2000)

! https://github.com/uBlockOrigin/uAssets/issues/23044
eurobaustoff.com##+js(trusted-set-local-storage-item, ccm_consent, '{"/":{"gen":2,"ucid":"1","consent":true,"embeddings":["1e76acf","8ed8d9a","b429e86","f22e6ed","0b25af3","6079a42"],"created":"$currentDate$","updated":"$currentDate$","clickedButton":"acceptAll","iframeConsentDomains":[],"tcf":{"p":[],"lip":[],"sf":[],"v":[],"liv":[],"gad":[]},"lang":"de_DE"}}' )

8 comments on commit df1041c

@stephenhawk8054
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mapx- Does $currentDate$ work on your side? On my side, I don't see the date being converted.

@mapx-
Copy link
Contributor Author

@mapx- mapx- commented on df1041c Apr 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you're right but ... it works, strange

@stephenhawk8054
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gorhill Sorry, I wonder if $currentDate$ can be used inside a string?

@gorhill
Copy link
Member

@gorhill gorhill commented on df1041c May 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess it could.

@stephenhawk8054
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gorhill Currently I can't access the above site, but when I use this filter on example.com

example.com##+js(trusted-set-local-storage-item, ccm_consent, '{"/":{"gen":2,"ucid":"1","consent":true,"embeddings":["1e76acf","8ed8d9a","b429e86","f22e6ed","0b25af3","6079a42"],"created":"$currentDate$","updated":"$currentDate$","clickedButton":"acceptAll","iframeConsentDomains":[],"tcf":{"p":[],"lip":[],"sf":[],"v":[],"liv":[],"gad":[]},"lang":"de_DE"}}' )

the local storage just shows a plain string $currentDate$ for me. Is it the same for you?

@gorhill
Copy link
Member

@gorhill gorhill commented on df1041c May 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I meant I can change the scriptlet to behave as suggested.

@gorhill
Copy link
Member

@gorhill gorhill commented on df1041c May 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@stephenhawk8054
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh I see 👍

Please sign in to comment.