morethanwords / tweb

Telegram Web K, GPL v3
https://web.telegram.org/k/
GNU General Public License v3.0
1.87k stars 599 forks source link

Use desktop default to open urls in electron #18

Closed hanayashiki closed 3 years ago

hanayashiki commented 3 years ago

Previously, the <a> tags rendered in bubbles are opened internally in electron, which is not what users expect.

Now I introduce the electron bridge to handle that by electron, by adding an optional window.electronHelpers, which does not hurt the browser app.

Perhaps adds a little overhead to the browser app.