Hi people! Ofesad here from argentina.
I have been working on mi Macros last week and now I need to put’em to work on several machines, however I encountered some issues when trying to do it.
In my main programming pc works perfectly in Chrome but when I put the macro in another pc it doesn’t work and get a lot of errors.
For example:
doing a simple $(‘.fields’).each(function(){ $(this).text($(this).text().replace(’ - ‘,’')) });
(not the exact same script, just an example) with executeScript it used to work perfectly but now on the new pcs I get:
[error]
Error in executeScript 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’ https://www.google-analytics.com/ ‘unsafe-inline’”.
and when using ExecuteScript_Sandbox:
[error] Error in executeScript_Sandbox code: $ is not defined
However in firefox works… altought I have another weird issues, like when clicking on file browser and it doesn’t show up.
Any ideas of how to solve it?