Thanks for the workaround. Here are two things that I ran into when trying to use it:
1) It will not work with the browser-policy package because of executeScript.
I was getting this error specifically 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'".
2) The regex needs a bit of tweaking for LinkedIn because close will match the initial oauth popup.
Thanks for the workaround. Here are two things that I ran into when trying to use it:
1) It will not work with the
browser-policy
package because ofexecuteScript
.I was getting this error specifically
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'".
2) The regex needs a bit of tweaking for LinkedIn because
close
will match the initial oauth popup.