Closed
Bug 172972
Opened 22 years ago
Closed 22 years ago
AppleScript dictionary "Do JavaScript" command is broken
Categories
(SeaMonkey :: UI Design, defect)
Tracking
(Not tracked)
People
(Reporter: seth, Assigned: samir_bugzilla)
Details
1. Try the following Applescript, replacing "JS" with javascript that mozilla
should understand, which I assume includes "OpenURL(about:blank)"
tell application "Mozilla"
Do JavaScript "JS"
end tell
2. If this command doesn't work, remove it from the Mozilla applescript
dictionary. If it DOES work, then please document it somewhere because I can't
find *ANY* mention of what javascript commands are allowable.
Reporter | ||
Comment 2•22 years ago
|
||
This is the 'official' 1.1 release on OS X.
Seth, I think the JavaScript you want to execute is "window.open()". OpenURL, as
described in bug 160106, would be an AppleScript command.
However, when, using FizzillaCFM/2002100308, I try:
tell application "Mozilla"
Do JavaScript "alert('foo')"
end tell
I see an execution error, [Mozilla got an error: "alert('foo');" doesn't
understand the Do JavaScript message.], So, confirming.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Dup of bug 5704?
Summary: Applescript dictionary "Do JavaScript" command is broken → AppleScript dictionary "Do JavaScript" command is broken
*** This bug has been marked as a duplicate of 5704 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Updated•20 years ago
|
Product: Core → Mozilla Application Suite
You need to log in
before you can comment on or make changes to this bug.
Description
•