• Resolved Webastra

    (@studio-virtu)


    Hello,
    i’m trying to find a way to desactivate the back button on any browser when the popup is active. this is to prevent users from being kicked from the site if they click the back button while trying to close the popup.

    Thanks for your help ! ??

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Daniel Iser

    (@danieliser)

    @studio-virtu – Not possible. Browser security would prevent anything even close to that.

    Your only option (via completely custom solution) is to try and clear the history stack or add the page they are already on mulitpe times with a # so the browser simply does nothing when they click it.

    Otherwise it has nothing to do with this plugin outside of when you want it to occur.

    jQuery('#pum-123').on('pumAfterOpen', function () {
        // Do stuff here after popup #123 is opened.
    });

    Hope that helps. If your issue is resolved please take a moment to rate and review the plugin or support.

    If you still need help please message us directly at https://wppopupmaker.com/support/.

    Thread Starter Webastra

    (@studio-virtu)

    Ok, thank you for your reply ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Desactivate back button when popup is active’ is closed to new replies.