Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8426225
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T04:29:18+00:00 2026-06-10T04:29:18+00:00

I am using a jQuery Notification on my project. When i close the browser

  • 0

I am using a jQuery Notification on my project.

When i close the browser , i am using the onbeforeunload and showing a confirm box to the user.

However the client is not satisfied with the default message box ,

is it technically possible to show my Notification instead of the default one.

jQuery notification comes with a question Do you want to close ? and with two buttons YES and No.

When user clicked YES it will return true ,else False

any way to achieve ? or some comments/opinion ?

Please help me .

Thank you.

Update :

window.onbeforeunload = ShowModel;

function ShowModel()
{
    return show_pop_up();
}

show_pop_up()
{

return TRUE or FALSE ; 

}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T04:29:20+00:00Added an answer on June 10, 2026 at 4:29 am

    is it technically possible to show my Notification instead of the default one.

    No. You can specify the text of the message. You cannot control the buttons, you cannot control the appearance, and you cannot replace the UI with one built from scratch out of HTML/CSS/JS.

    There are very strong limitations over what you can do while the user is trying to leave the page. Browsers are designed to protect users from sites that attempt to trap them (You are trying to leave the site? NO! You are not allowed to leave until you have looked at more adverts for porn and you given us your credit card details!).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using a jQuery notification system who runs when the user click on
I am using jQuery to fade out a notification bubble I built. The first
Possible Duplicate: javascript: pause setTimeout(); Im using jQuery and working on a notification system
Using jQuery timepickr: http://archive.plugins.jquery.com/project/jquery-timepickr Having included these files: jquery-1.7.1.min.js jquery-ui-1.8.21.custom.min.js ui.timepickr.js And getting this
$.mobile.changePage('#notification', { transition: slidedown}); I have the code above using jquery.mobile-1.0rc2.min.js and I can
I'm trying to create a message notification for a web page using jQuery. The
Currently I'm working on a project using Zend framework and the message notification dialog
I want to show notification on my website using Pines Notify jQuery plugin but
I am using AJAX extensively and my PHP based notification system was not sufficient.
I am using a jQuery plugin for showing notifications. so i can use something

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.