Allow scripts
Posted: Sat Dec 03, 2022 6:04 pm
Hi all.
How to allow script execution in iframes?
The site creates multiple Iframes, I use EvaluateScriptAsync to inject the script, but the site on child Iframes forbids executing the injected script. Is it possible to enable a flag of some kind in the browser (--allow-scripts ), or is there another solution? This is the error coming from the site.
Blocked script execution in 'about:blank' because the document's frame is sandboxed and the 'allow-scripts' permission is not set.
How to allow script execution in iframes?
The site creates multiple Iframes, I use EvaluateScriptAsync to inject the script, but the site on child Iframes forbids executing the injected script. Is it possible to enable a flag of some kind in the browser (--allow-scripts ), or is there another solution? This is the error coming from the site.
Blocked script execution in 'about:blank' because the document's frame is sandboxed and the 'allow-scripts' permission is not set.