# Delay before appearing

**URL:** <https://community.elfsight.com/t/delay-before-appearing/95382>\
**Category:** Announcement Bar\
**Tags:** Gathering-Feedback\
**Created:** [January 18, 2025, 1:20pm UTC](https://community.elfsight.com/t/delay-before-appearing/95382 "2025-01-18T13:20:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kristian](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/kristian/32/10244_2.png) [@Kristian](https://community.elfsight.com/u/Kristian)\
**Post date:** [January 18, 2025, 1:20pm UTC](https://community.elfsight.com/t/delay-before-appearing/95382/1 "2025-01-18T13:20:55Z")

</div>

Hi Team,  
It would be great to allow a delay in seconds before the bar appears. Just like a popup to avoid too much inconvenience to the visitor.  
Hope this may help to others as well.  
Cheers

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [January 20, 2025, 4:13pm UTC](https://community.elfsight.com/t/delay-before-appearing/95382/2 "2025-01-20T16:13:57Z")

</div>

Hi there, @Kristian 👋

The idea of adding this option right to the settings sounds interesting. If this request gets more votes, we’ll try to consider this opportunity in the future 🙂

As for now, we have a custom workaround for you. Just replace the widget’s installation code on your website with this script:

```auto
<script src="https://static.elfsight.com/platform/platform.js" async></script>
<script>
  ((currentScript) => {
	const DELAY = '5000';
    const widgetBlock = document.createElement('div');
    widgetBlock.classList.add(
      'elfsight-app-3d1a87b9-cd64-43be-8c39-8c25e22d2a62'
    );
    setTimeout(() => {
      currentScript.parentElement.insertBefore(
        widgetBlock,
        currentScript.nextSibling
      );
    }, DELAY);
  })(document.currentScript);
</script>

```

  

In the 4th line of the code, please set the desired delay in milliseconds:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/0/c/0ceaca9c17f38caeaf1ba9cc17af614461bb0a6d.png)
