Part of the functionalities of a Sketch plugin (pure js + html) is to open a URL in the default browser. Currently I am doing this the following way:
window.location.href = "https://localhost/link=" + link;
It does execute, but throws the following error in console:
Any ideas how to resolve that?