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
2 Likes
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:
<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:
1 Like
