# Offline detection popup

**URL:** <https://forum.bubble.io/t/offline-detection-popup/140126>\
**Category:** Need help\
**Created:** [March 8, 2021, 7:27pm UTC](https://forum.bubble.io/t/offline-detection-popup/140126 "2021-03-08T19:27:40Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![hacker](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/hacker/32/88281_2.png) [@hacker](https://forum.bubble.io/u/hacker)\
**Post date:** [March 8, 2021, 7:27pm UTC](https://forum.bubble.io/t/offline-detection-popup/140126/1 "2021-03-08T19:27:40Z")

</div>

Hey,

I need to show a popup when users are offline without the use of plugins.  
Does anyone know how?

Thanks in advance 🙂 💻

---

<div class="post-metadata">

**Author:** ![johnny](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/johnny/32/203020_2.png) [@johnny](https://forum.bubble.io/u/johnny)\
**Post date:** [March 9, 2021, 4:18am UTC](https://forum.bubble.io/t/offline-detection-popup/140126/2 "2021-03-09T04:18:31Z")

</div>

Hey there @hacker,

Based off a quick Google search, you can do this with Javascript: [Detecting Online/Offline Status in Javascript | by Javascript Jeep🚙💨 | Level Up Coding](https://levelup.gitconnected.com/detecting-online-offline-in-javascript-1963c4fb81e1)

---

<div class="post-metadata">

**Author:** ![hacker](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/hacker/32/88281_2.png) [@hacker](https://forum.bubble.io/u/hacker)\
**Post date:** [March 9, 2021, 4:24am UTC](https://forum.bubble.io/t/offline-detection-popup/140126/3 "2021-03-09T04:24:06Z")

</div>

Hey, @johnny,

Thanks.

I found many solutions like this, but the thing is that I don´t know a thing of JS.  
How can I make a function in JS trigger a WF?

---

<div class="post-metadata">

**Author:** ![johnny](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/johnny/32/203020_2.png) [@johnny](https://forum.bubble.io/u/johnny)\
**Post date:** [March 9, 2021, 4:26am UTC](https://forum.bubble.io/t/offline-detection-popup/140126/4 "2021-03-09T04:26:00Z")

</div>

Hey @hacker,

You can use the [Toolbox plugin](https://bubble.io/plugin/toolbox-1488796042609x768734193128308700) by @mishav.

---

<div class="post-metadata">

**Author:** ![hacker](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/hacker/32/88281_2.png) [@hacker](https://forum.bubble.io/u/hacker)\
**Post date:** [March 9, 2021, 4:40am UTC](https://forum.bubble.io/t/offline-detection-popup/140126/5 "2021-03-09T04:40:59Z")

</div>

Yeah, that’s a great plugin.

But I don´t know how to “call” the function through conditions in the WF.

---

<div class="post-metadata">

**Author:** ![johnny](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/johnny/32/203020_2.png) [@johnny](https://forum.bubble.io/u/johnny)\
**Post date:** [March 9, 2021, 4:42am UTC](https://forum.bubble.io/t/offline-detection-popup/140126/6 "2021-03-09T04:42:49Z")

</div>

You can do it using the “Run Javascript” workflow action.

---

<div class="post-metadata">

**Author:** ![hacker](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/hacker/32/88281_2.png) [@hacker](https://forum.bubble.io/u/hacker)\
**Post date:** [March 9, 2021, 5:10am UTC](https://forum.bubble.io/t/offline-detection-popup/140126/7 "2021-03-09T05:10:42Z")

</div>

Yeah, I tried with no luck.

But thanks a lot for the help, @johnny

---

<div class="post-metadata">

**Author:** ![devrimdmk](https://avatars.discourse-cdn.com/v4/letter/d/839c29/32.png) [@devrimdmk](https://forum.bubble.io/u/devrimdmk)\
**Post date:** [March 9, 2021, 11:38am UTC](https://forum.bubble.io/t/offline-detection-popup/140126/8 "2021-03-09T11:38:43Z")

</div>

Hi @hacker you can use the free plugin Offline Notify.JS in bubble app  
It’s detect offline connection and test to reconnect every 5 secondes. Automaticcaly and without any changing

---

<div class="post-metadata">

**Author:** ![hacker](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/hacker/32/88281_2.png) [@hacker](https://forum.bubble.io/u/hacker)\
**Post date:** [March 9, 2021, 5:17pm UTC](https://forum.bubble.io/t/offline-detection-popup/140126/9 "2021-03-09T17:17:19Z")

</div>

> [@devrimdmk](#):
>
> Offline

Yes, thanks.

The thing is that I need it in spanish, and the plugins that have it in spanish (like @AirDev ´s plugin) is bad translated.

So I need a custom popup.

---

<div class="post-metadata">

**Author:** ![devrimdmk](https://avatars.discourse-cdn.com/v4/letter/d/839c29/32.png) [@devrimdmk](https://forum.bubble.io/u/devrimdmk)\
**Post date:** [March 9, 2021, 5:42pm UTC](https://forum.bubble.io/t/offline-detection-popup/140126/10 "2021-03-09T17:42:20Z")

</div>

Oh okay no worry 🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [May 17, 2021, 7:27pm UTC](https://forum.bubble.io/t/offline-detection-popup/140126/11 "2021-05-17T19:27:46Z")

</div>

Closed on May 17, 2021, 7:27pm UTC

This topic was automatically closed after 70 days. New replies are no longer allowed.
