Closed Bug 363598 Opened 18 years ago Closed 14 years ago

anchors with javascript href open instead as html

Categories

(Firefox :: General, defect)

3.0 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: primeentelechy, Unassigned)

References

()

Details

(Whiteboard: [CLOSEME 2010-11-15])

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20061212 Minefield/3.0a1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20061212 Minefield/3.0a1

Anchors with href="javascript:(stuff)" don't open properly but instead extract the longest text within quotes in (stuff) and try to open it as a URL.

Reproducible: Always

Steps to Reproduce:
If for example I go to 
https://addons.mozilla.org/search.php?q=%s&type=E&app=firefox
and put the mouse over the link "Advanced Options" - the source is 
<a href="javascript:toggle('hide-search-options','show-search-options','inline');show('search-options','inline');">Advanced Options &darr;</a>
- then the status bar shows
http://hide-search-options','show-search-options','inline
and when I click this link Firefox tries to open it as a URL.
Severity: major → normal
Version: unspecified → 3.0 Branch
Reporter, are you still seeing this issue with Firefox 3.6.10 or later in safe mode? If not, please close. These links can help you in your testing.
http://support.mozilla.com/kb/Safe+Mode
http://support.mozilla.com/kb/Managing+profiles
Whiteboard: [CLOSEME 2010-11-15]
No reply, INCOMPLETE. Please retest with Firefox 3.6.12 or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.