We are developing a Remote vSphere plugin. In the plugin we need to redirect user to our own external Web site instead of vSphere Web Console. I tried to do it by calling fro our plugin's code:
window.parent.location = "<our site url>";
But I'm getting the following error: Refused to frame '<our site url>' because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self'
Is it possible to do that somehow?
Hi,
Due to security concerns, plugins are sandboxed in their own iframes and are not able to directly modify the parent window.
You can open a new tab window by calling "window.open("")" with your URL.
Best Regards,
Denis
Hi,
Due to security concerns, plugins are sandboxed in their own iframes and are not able to directly modify the parent window.
You can open a new tab window by calling "window.open("")" with your URL.
Best Regards,
Denis