Creating Custom Protocols for your Website

preview_player
Показать описание
Have you ever wanted to create a custom link with your own invented protocol instead of "http" or "https"?
Well with very little JavaScript you can.

Рекомендации по теме
Комментарии
Автор

Hey, thanks again for yet another awesome video! Is that "Open link with XYZ application" alert also done using custom protocols? I've seen Telegram (I'm not sure but I think Unity does it as well) doing that. I mean, how does the browser knows that the specific application needed is or isn't installed? Lol, I may be way off here but I thought it was better to ask it anyway.

joaovaz
Автор

• Will it open in the existing tab/window that registered the protocol or always open in a new tab/window?
• If I have installed a PWA, can I use a custom protocol to redirect users to the installed PWA instead of using a regular browser window/tab?

ofeenee
Автор

Where I'm gonna write this code in my sw.js Or in react app. Jsx file?

MrVineet
Автор

hi steve. i got some questions : 1. if sw.js under subfolder whats the scope. 2. ima using ur img.dynamic and static cache. the img and dynamic page doesnt cached and offline page doesnt called back. 3. how do i use etag/last mod on fetch to replaced old cache and returning cache if 304. thx u so much

fsbgaming
Автор

Is these who refer and affiliate links works? If not then could you explain pls

ShivamMishra-mncs