Copy link to clipboard
Copied
Use the
openURLInDefaultBrowser('https://google.com')
method in CSInterface.
If you need to communicate with another site, then use something like fetch() or Web Sockets.
Copy link to clipboard
Copied
CEP panels are, themselves, also web pages; as you've noted, window.open wouldn't make much sense, in that environment.
Panels can also open urls in the system's default browser, but I doubt csInterface.openURLInDefaultBrowser() is what you want...
What sort of web page are you attempting to open? Could you obtain the information you're getting from that web page, via another method? Perhaps an API?
Copy link to clipboard
Copied
Use the
openURLInDefaultBrowser('https://google.com')
method in CSInterface.
If you need to communicate with another site, then use something like fetch() or Web Sockets.