Read the statement by Michael Teeuw here.
[MMM-EmbedURL] Cookie-Banner Problem
-
Re: [MMM-EmbedURL] Embed one or multiple websites to the mirror
Hello. Thank you for the module. I am using webview to embed a page. Unfortunately I don’t know how to remove the cookie banner. Has anyone gotten the problem resolved?
-
@burki Hi, great that you like the module.
As you use Webview i assume you use the build in Electron browser to view MagicMirror.
I do not see a chance to the remove the cookie banner in this case unfortunately.Maybe the website supports suppressing the cookie banner by adding a parameter to the URL?
-
@wishmaster270 Hi, thank you for your reply. Yes exactly, I use the standard Electron browser. Unfortunately, there is no option on the site to remove the cookie banner via the URL. Can I use a different browser for the module?
-
@burki it is unlikely that any ‘browser’ can ‘fix’ this
the embed is showing the page in an isolated frame (iframe). so it can’t be manipulated
-
@burki There might be a chance to use Chrome with the SuperAgent extension but I think Sam is right and the extension will not work as the site is opened in a sandbox.
-
@wishmaster270 right, the whole point of iframe is to safely encapsulate a site in a window… which can’t contaminate this site and vice versa.
(think of it like a virtual machine)… lets the site run as is. but also, you can’t mess w it…