Closed Bug 411855 Opened 17 years ago Closed 16 years ago

Improve readability/understandability of window.onbeforeunload message.

Categories

(Core :: DOM: Core & HTML, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 246365

People

(Reporter: BijuMailList, Unassigned)

Details

Attachments

(1 file)

Attached image onbeforeunload.png (deleted) —
At present a web-site can make message on window.onbeforeunload too long and spoof it to confuse users. added to that, tricks like the one at http://www.internetisseriousbusiness.com/ can make user accidentally click "Cancel" instead of "OK" So Firefox should. 1. show site message in different color/background. 2. reduce built-in text in the confirm question and keep them together. ======================== current =========================== Are you sure you want to navigate away from this page? Press OK to continue, or Cancel to stay on the current page. [OK] [Cancel] ============================================================ =================== proposed ==================== Do you want to leave this page? [Leave] [Stay] ================================================= 3. show site name for which the pop-up message is shown. (shorten it to show only relevant part of name to avoid domain name spoof/hack) See attached onbeforeunload.png
Component: Tabbed Browser → DOM
Product: Firefox → Core
QA Contact: tabbed.browser → general
I believe Bug 246365 is a dupe of this. I like the mockup you provided. With a little bit of tweaking, this could be a great improvement.
No longer blocks: 391834
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: