Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече
Архивирани

Window that asks if I want to leave page

zombee

Quite frequently while surfing on the web and I go to leave the page I'm on I get this pesky little window that asks me if I'm sure I want to leave this page. How can I keep this thing from popping up because in most cases I have to click on this thine 50 times before I'm able to leave the page. It's very, very annoying.

Quite frequently while surfing on the web and I go to leave the page I'm on I get this pesky little window that asks me if I'm sure I want to leave this page. How can I keep this thing from popping up because in most cases I have to click on this thine 50 times before I'm able to leave the page. It's very, very annoying.

Всички отговори (2)

You can try a bookmarklet like this:

javascript:void(document.onbeforeunload=null);void(document.onunload=null);void(window.onbeforeunload=null);void(window.onunload=null);

JavaScript code can't be run from the location bar anymore, so you need to create a bookmark with the code pasted in the location field.

Sorry, but I'm not very knowledgeable, I don't understand your message or how this can keep the message from popping up.