Enhancement: Visually distinguish link text/buttons from Javascript text/buttons
Categories
(Firefox :: General, enhancement)
Tracking
()
People
(Reporter: erwinm, Unassigned)
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:85.0) Gecko/20100101 Firefox/85.0
Steps to reproduce:
Open page.
See interesting link, middle-click to read later.
Close current tab, check linked tab.
Encounter a blank page or javascript: void(0)...
Actual results:
Firefox doesn't show whether it's an actual link, which will open in its own tab, or Javascript, which won't.
Expected results:
Since its unlikely web designers will stop using Javascript, Firefox should visually distinguish these, e.g. using different mouseover icons, so users don't run into trouble.
This would partly work around bug 1649042, regarding Javascript errors here, and bug 1667135, regarding Javascript on 9gag.
Okay, there is info in the bottom of the page. I was thinking of different colors for links + different cursor icons when mousing over links.
Comment 2•5 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Updated•5 years ago
|
Comment 3•5 years ago
|
||
The difference appearance wouldn't tell much to the final user, it would still not be very discoverable. If we could detect these cases, then it would be better to act in a smarter way. But it's really complicate without actually executing the code pre-emptively in a sandbox. That's too expensive to do everywhere, and risky.
Firefox can already detect whether to show something in a status panel. But that is hard to see in the corner of the screen. I don't know the code, but I think Firefox could adopt different cursor icons depending on the same cues.
Description
•