I am using KANTU for a repetitive task, to refresh a page and to click on a button at a set time.
The command lines for the pause segment look like this:
Error in runEval code: Refused to evaluate a string as JavaScript because ‘unsafe-eval’ is not an allowed source of script in the following Content Security Policy directive: “script-src ‘self’ ‘unsafe-inline’ http://js-agent.newrelic. http://bam.nr-data. *.walkme. d3b3ehuo35wzeh.cloudfront. d3sbxpiag177w8.cloudfront.”.
Those are webpages, but I erased the .com and .net because the forum does no allow me to post multiple links.
I searched through a9t9 forums and found this:
You just have to switch to tab (with selectWindow) where storeEval is allowed.
Being thick, I lack the knowledge to do this.
Can you help?
storeEval runs Javascript inside the website, and some websites block this. Solution: Open another website that does not block it, run storeEval, and then switch back.
Refused to evaluate a string as JavaScript because ‘unsafe-eval’ is not an allowed source of script in the following Content Security Policy directive:
Meanwhile the solution is easy. Use executeScript _Sandbox: