meetfranz / plugins

Official Franz Plugin Repository
MIT License
298 stars 110 forks source link

Access to window object from Webview possible? #502

Open Cruaier opened 2 years ago

Cruaier commented 2 years ago

Hi there,

I did write a plugin for a chat of the CRM system Bitrix24. Unfortunately does it not have desktop notifications available. In order to add this feature I need to access the websocket the site is providing. In order to do so I can get the reference to the socket in the window object of the page. But the webview of my plugin itself does not have access to it. Is there a workaround to access the window object of the page I have called in my plugin? Thanks for the help!