AppleScript-Firefox上的JavaScript执行
Safari和Chrome可以通过AppleScript执行JavaScript Safari:AppleScript-Firefox上的JavaScript执行,javascript,firefox,applescript,Javascript,Firefox,Applescript,Safari和Chrome可以通过AppleScript执行JavaScript Safari: tell application "Safari" open location "http://example.com" activate do JavaScript "alert('example');" in current tab of first window end tell tell application "Google Chrome" open l
tell application "Safari"
open location "http://example.com"
activate
do JavaScript "alert('example');" in current tab of first window
end tell
tell application "Google Chrome"
open location "http://example.com"
activate
execute front window's active tab javascript "alert('example');"
end tell
铬:
tell application "Safari"
open location "http://example.com"
activate
do JavaScript "alert('example');" in current tab of first window
end tell
tell application "Google Chrome"
open location "http://example.com"
activate
execute front window's active tab javascript "alert('example');"
end tell
在Firefox中有这样做的方法吗?
注:Opera的相同问题如下:
我想一起问他们,但我决定问两个独立的问题,以便能够分别接受答案。在Firefox中使用AppleScript运行javascript尚未实现
它处于新状态,没有受让人。你可以接电话:)天哪。“分配给:没有人;可以接受它并努力工作。”我想我不会走那么远。