Open Bug 249129 Opened 21 years ago Updated 2 years ago

javascript: links are not marked as visited

Categories

(Toolkit :: Places, defect, P5)

defect

Tracking

()

People

(Reporter: jhaltom, Unassigned)

Details

(Keywords: testcase)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040624 Epiphany/1.2.6
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040624 Epiphany/1.2.6

When clicking a link that contains a JavaScript function, such as <a
href="javascript:doStuff()">, a user would expect the link to be hilighted as
visited. This is currently not the case.

IE demonstrates this behavior. It is actually becoming a nuisance to ours users,
who have just switched to Mozilla. Many of them rely on this for various web sites.

Reproducible: Always
Steps to Reproduce:
Confirmed in Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a2)
Gecko/20040629 Firefox/0.8.0+.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: testcase
Summary: Visited JavaScript links not marked as visisted → javascript: links are not marked as visisted
Attached file testcase
javascript: URLs that are shown as a page, such as 
  javascript:"<b>Foo!</b>" 
get marked as visited, but javascript: URLs that just do stuff, such as 
  javascript:window.open("http://www.google.com/"); void 0
are not.  The second kind is more common.
-> Global history
Component: General → History: Global
Product: Firefox → Browser
Version: unspecified → Trunk
I have the same problem
This website is a perfect example:
http://www.maniac.de/forum/pxmboard.php?mode=board&brdid=1
If you click a link, it does not get the "marked" colors until the next manual
reload. That makes it very difficult to follow a thread in that forum.
Comment 4 is a different bug.

The rest of this bug seem to be working-as-designed to me. No?
Comment #4 indeed is a slightly other bug.

> The rest of this bug seem to be working-as-designed to me. No?

I do not think so. On http://www.icstats.nl/beschrijving.asp click on demo (also
on the subsequent page). Then click on Bezoekers (= Visitors). When one clicks
on a link on that page a popup-window opens, the link does not change color
however (also not on reload). It is a javascript-link and one would expect to
see another color because one has already clicked on it. The different
color-value is in a style embedded within the same page (a:link and a:visited).
A user would not think of this 'as designed'. He/she clicked on something, the
website tells what should happen with a link on which was clicked and just
nothing happens. Just because the action was performed through some piece of
Javascript. Would the link have a different color if it was not Javascript, but
just a regular link opening a new window ?

Tested with "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4)
Gecko/20050808 Firefox/1.0+"
Assignee: firefox → nobody
QA Contact: general → history.global
Component: History: Global → Places
Product: Core → Toolkit
Priority: -- → P5
Summary: javascript: links are not marked as visisted → javascript: links are not marked as visited
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: