morethanwords / tweb

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

[Feature Request] option to open t.me links in web.telegram.org #257

Open allefeld opened 1 year ago

allefeld commented 1 year ago

Is your feature request related to a problem? Please describe. When I follow links to content on Telegram, in the form of a t.me link, the browser always tries to open the link in the Telegram application. I don't have the Telegram application installed on my desktop, but only use it in the browser (web.telegram.org). In this context, the link should be opened in the browser, or at least there should be an option to do so.

Describe the solution you'd like When I follow a link to content on Telegram in the form of a t.me link in a desktop browser, there should be an option to open it in the Telegram web app (web.telegram.org) instead of the desktop application.

Describe alternatives you've considered I tried to hack the correct link together, with no success.

marcosdodo commented 1 year ago

¿Su solicitud de función está relacionada con un problema? Sírvase describir. Cuando sigo enlaces a contenido en Telegram, en forma de enlace, el navegador siempre intenta abrir el enlace en la aplicación Telegram. No tengo la aplicación Telegram instalada en mi escritorio, pero solo la uso en el navegador (). En este contexto, el enlace debe abrirse en el navegador, o al menos debe haber una opción para hacerlo.t.me``web.telegram.org

Describe la solución que te gustaría Cuando sigo un enlace al contenido de Telegram en forma de enlace en un navegador de escritorio, debería haber una opción para abrirlo en la aplicación web de Telegram () en lugar de la aplicación de escritorio.t.me``web.telegram.org

Describa las alternativas que ha considerado Traté de hackear el enlace correcto juntos, sin éxito.

OrkWard commented 9 months ago

If you open the t.me link in the browser profile which you have logged in telegram web, it should show two buttons which says VIEW IN TELEGRAM and OPEN IN WEB seperately. More concisely, it read the cookie from .telegram.org

Or you can replace the https://t.me/<something> with https://web.telegram.org/k/#?tgaddr=tg://resolve?domain=<something>