Closed
Bug 411855
Opened 18 years ago
Closed 17 years ago
Improve readability/understandability of window.onbeforeunload message.
Categories
(Core :: DOM: Core & HTML, enhancement)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
DUPLICATE
of bug 246365
People
(Reporter: BijuMailList, Unassigned)
Details
Attachments
(1 file)
|
18.78 KB,
image/png
|
Details |
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
Updated•18 years ago
|
Component: Tabbed Browser → DOM
Product: Firefox → Core
QA Contact: tabbed.browser → general
Comment 1•17 years ago
|
||
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.
Updated•17 years ago
|
| Assignee | ||
Updated•7 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•