Closed
Bug 309592
Opened 20 years ago
Closed 20 years ago
javascript:prompt() doesn't work in bookmarklets
Categories
(Firefox :: Bookmarks & History, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: ittayd, Unassigned)
Details
(Keywords: regression)
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b4) Gecko/20050908 Firefox/1.4
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b4) Gecko/20050908 Firefox/1.4
a bookmarklet that used to work in ff 1.0.6 now doesn't.
the bookmarks eases working with bugzilla by enabling me to quickly assign a bug
to someone. it prompts for the login name of the assignee, then creates a
default comment, changes the radio button and puts in the login@mycompany and
submits.
it gets the login name via the 'prompt' function.
now, the prompt function doesn't run (i don't get a prompt window) and returns
an empty string (not null, since my code checks for null, to allow cancel).
i would happily sumbit the bookmarklet's code, but because of another bug i
can't open it for editing.
Reproducible: Always
Updated•20 years ago
|
Keywords: regression
Updated•20 years ago
|
Summary: bookmarklet doesn't work → bookmarklet for reassigning bugs no longer works
i have other bookmarklets (e.g., for viewing files in viewcvs) that use
'prompt()' and don't work now.
Summary: bookmarklet for reassigning bugs no longer works → javascript:prompt() doesn't work in bookmarklets
cased by the 'add bookmark here' extension (which i've probably enabled by using
the nightly tester)
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
Comment 3•20 years ago
|
||
Glad you figured it out. You might want to talk to the author of "Add bookmark
here" in case he/she didn't know about the problem. I'm curious what in the
extension broke prompt() in bookmarklets, and whether it was a bug in the
extension or a bug in Firefox triggered by the extension.
You need to log in
before you can comment on or make changes to this bug.
Description
•