How Does WhatsApp Web Know Of Multiple Tabs? The Broadcast Channel API

  Рет қаралды 8,083

Deeecode The Web

Deeecode The Web

Күн бұрын

In this video, I explain how the Broadcast Channel API in JavaScript works, and how you can use it to know if a domain is open on multiple tabs.
Code for web project here: github.com/dil...
Subscribe to My Channel: bit.ly/deeecode
_____
🌟 About Me:
Dillion Megida, creator of DEEECODE, is a Software Engineer, Developer Advocate and a Content Creator passionate about simplifying topics around Tech via articles and videos.
_____
⚡️ Connect with me:
Personal youtube: / dillionmegida
Personal website: dillionmegida....
Twitter: / iamdillion
Instagram: / deeecode
LinkedIn: / dillionmegida
GitHub: github.com/dil...
_____
#deeecode

Пікірлер: 22
@australianman8566
@australianman8566 Ай бұрын
Your "How does this work?" videos are he best. It would be cool if you make more of them. Thanks!
@deeecode
@deeecode 27 күн бұрын
Thank you for the kind feedback. I'm enjoying learning maybe "how or whys" so I'll make videos of them too
@embo_5787
@embo_5787 29 күн бұрын
Ooh i learnt something cool and interesting today!
@deeecode
@deeecode 16 күн бұрын
i'm glad to hear
@adevikthur
@adevikthur Ай бұрын
Thanks Deecode
@deeecode
@deeecode Ай бұрын
You're very welcome
@tinker1988
@tinker1988 3 ай бұрын
keep it up dude
@yassine_klilich
@yassine_klilich 3 ай бұрын
amazing content ❤
@deeecode
@deeecode 3 ай бұрын
Glad you think so!
@FXMachinima
@FXMachinima 3 ай бұрын
From the Netherlands bro? Good video
@deeecode
@deeecode 3 ай бұрын
Yeah i reside in the Netherlands
@abhishekpratap05
@abhishekpratap05 3 ай бұрын
ok so we can open in different browser but not same browser, so i strongly believe its broadcast channel api, thank you for the insightful video.
@deeecode
@deeecode 3 ай бұрын
You are most welcome
@Shashwat-000
@Shashwat-000 3 ай бұрын
event.data === tab-exists. is these keywords are from broadcast channel API?
@deeecode
@deeecode 3 ай бұрын
the event (when a message is sent) is an object that has the data field. this field contains the string passed in the postMessage method, which is from the broadcast channel API
@Shashwat-000
@Shashwat-000 3 ай бұрын
@@deeecode Thankyou
@AbhijithAS-r8z
@AbhijithAS-r8z 3 ай бұрын
which browser ?
@InfoVerseNetwork
@InfoVerseNetwork 3 ай бұрын
Maybe arc
@abhishekpratap05
@abhishekpratap05 3 ай бұрын
ARC
@deeecode
@deeecode 3 ай бұрын
it's arc...i like the split view, tho I doubt if I'd be using the browser for a long time
@leocarvalho8051
@leocarvalho8051 Ай бұрын
Just a suggestion. Disable title video auto-translation. It is really stupid and is killing your views.
@deeecode
@deeecode Ай бұрын
thank you so much for this. i thought it would be a helpful thing but just realized how it may not.
How Does Netlify Create Dynamic Deployment Status Badges?
6:38
Deeecode The Web
Рет қаралды 153
Why Await Twice With The Fetch API
16:48
Deeecode The Web
Рет қаралды 3,2 М.
ماذا لو كانت الفواكه حية 🥥🍸😜 #قابل_للتعلق
00:42
Chill TheSoul Out Arabic
Рет қаралды 29 МЛН
Кровавый лидер #сталин #китай #мао
00:55
Послезавтра
Рет қаралды 3,5 МЛН
A very simplified guide on the Intersection Observer API, with examples
21:47
Devin just came to take your software job… will code for $8/hr
5:13
JavaScript Visualized - Event Loop, Web APIs, (Micro)task Queue
12:35
Top 6 Most Popular API Architecture Styles
4:21
ByteByteGo
Рет қаралды 1 МЛН
This is How I Scrape 99% of Sites
18:27
John Watson Rooney
Рет қаралды 268 М.
Front-end web development is changing, quickly
3:43
Fireship
Рет қаралды 1,4 МЛН
Please Stop Making These JavaScript Mistakes
14:04
Conner Ardman
Рет қаралды 28 М.
Always Check for the Hidden API when Web Scraping
11:50
John Watson Rooney
Рет қаралды 664 М.
No Code App Development is a Trap
9:31
Coding with Dee
Рет қаралды 382 М.