Hello,
I have a nonprofit client who wants to have a Quick Escape button on their website where the website will close, and ideally, the history will clear.
Is there a code or a way I can add this to a Wix site? I can’t see to find information on doing so. Thanks for your help.
Edit: Closing the current window isn’t available directly in Velo but something like this can be done with a button in a custom element:
As for clearing browser history you can adapt that example to use: history.deleteAll() - Mozilla | MDN
You can also request these features for the specific functionality you need to be supported natively on the roadmap here: Product Roadmap
I am having a hard time with this. I have tried the Panic Button (Brewmaster blog post) but its not working at all. I am struggling really hard with this, I have a victim services that needs this done asap. Please help me out!