Closed Bug 739387 Opened 12 years ago Closed 12 years ago

Aurora 13a New Tab display doesn't allow javascript bookmarks to be selected

Categories

(Firefox :: Tabbed Browser, defect)

13 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 728313

People

(Reporter: emily, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:13.0) Gecko/20120324 Firefox/13.0a2
Build ID: 20120324042010

Steps to reproduce:

I use several Javascript bookmarks in my bookmarks toolbar and they no longer work in when selected on a new tab under Aurora 13a. An example of such a bookmark would be:

   javascript:x=escape(getSelection());if(!x)%7Bvoid(x=prompt('Search%20Wikipedia%20for?',''))%7D;window.location='http://en.wikipedia.org/wiki/Special:Search?search='+x+'&go=Go'

They work everywhere else without problems, just not on newly opened tabs with the new New Tab display.


Actual results:

Nothing happens when a Javascript bookmark is clicked.


Expected results:

It should have opened a dialogue asking for a search term, passing that on to the site in the URL in the latter part of the contents.
Confirmed in
http://hg.mozilla.org/mozilla-central/rev/ba4983d9c1f9
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120326 Firefox/14.0a1 ID:20120326031149
Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120315 Firefox/13.0a2

Setting to new. Loading the bookmarked URL in new tab doesn't work in F13 Aurora.
Blocks: 455553
Status: UNCONFIRMED → NEW
Component: Untriaged → Tabbed Browser
Ever confirmed: true
OS: Mac OS X → All
QA Contact: untriaged → tabbed.browser
Hardware: x86 → All
Happens in Win7 + Firefox 13.0.1
Yup, happening here too (Mageia Linux 64bit 13.0.1). I thought it was broken generally, but I now see it's only on the new tab page with the fancy common sites thingy.

I have a few js bookmarks, some for keyword searches for sites where simple %s replacements are not enough, where this can get quite annoying as it's typically on the new tab page where I use these.
No longer blocks: 455553
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.