Accept Cookies Automatically #793
-
Since I'm in Europe most websites first present an "accept cookies" popover that must be accepted before you can access the website. Just as an example here are two sites: https://www.rapidtables.com/tools/todays-date.html I saw the wiki post on running a java script before change detection: https://github.com/dgtlmoon/changedetection.io/wiki/Run-JavaScript-before-change-detection In particular this part:
However, if I look at my two example pages they do not contain an "id" for the "agree" and "continue with cookies" buttons. How can you get those screens in this case? |
Beta Was this translation helpful? Give feedback.
Replies: 12 comments 8 replies
-
Not an issue - moved to discussions |
Beta Was this translation helpful? Give feedback.
-
Ah that's too bad. It makes Changedetection pretty hard to use over here in Europe since bascially EVERY site has to give you that cookies pop up which renders the entire site useless until you accept. :/ |
Beta Was this translation helpful? Give feedback.
-
Oh very cool.Looking forward to that!
…________________________________
From: dgtlmoon ***@***.***>
Sent: Saturday, July 30, 2022 9:37:12 AM
To: dgtlmoon/changedetection.io ***@***.***>
Cc: VeniceNerd ***@***.***>; Author ***@***.***>
Subject: Re: [dgtlmoon/changedetection.io] Accept Cookies Automatically (Discussion #793)
#478<#478> is in progress which will solve it
—
Reply to this email directly, view it on GitHub<#793 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AF7W2MYJPYQ7QCD62IAWJNLVWTLSRANCNFSM55B65A6Q>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hi there, I found that the option Request headers with copying the headers after logging in and including cookies ofc and adding them to changedetection.io might be helpful. But I Can't find any more details and/or wiki steps describes on how to do it. If this is a doable workaround, is there any place where we can find instructions or guidelines? Unfortunately, there is a lack of knowledge and I completely do not understand how to achieve it. Many thanks! |
Beta Was this translation helpful? Give feedback.
-
Same problem with accepting cookies...Playwright not usable at all because of the issue.. |
Beta Was this translation helpful? Give feedback.
-
Current dev release has a new feature called Browser Steps https://github.com/dgtlmoon/changedetection.io#perform-interactive-browser-steps just use this :) |
Beta Was this translation helpful? Give feedback.
-
Like you said,it works but its slow.But it works!Great for European countries.Finally usable for amazon in Germany. |
Beta Was this translation helpful? Give feedback.
-
Both in docker.Latest on pi4/8gb.Dev on synology,for testing.Like I said,it works good. |
Beta Was this translation helpful? Give feedback.
-
Since im monitoring ~1000 sites mostly austrian based, I use the the "Execute JavaScript before change detection" feature to click on the cookie banner.
|
Beta Was this translation helpful? Give feedback.
-
Since this seems to be a standard workaround. I'm wondering if we can provide the ability to specify the "Execute JavaScript" capability to also be on the Group/Tag level? I typically monitor different parts of a site and use Groups/Tags to define a common set of criteria, it seems like this should also fit neatly into that pattern, instead of having to define it every time. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
Like you said,it works but its slow.But it works!Great for European countries.Finally usable for amazon in Germany.