搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Support for Applescript

  • 1 回覆
  • 1 有這個問題
  • 8 次檢視
  • 最近回覆由 ideato

more options

I use applescript to automatic some daily tasks. Currently, I am needing to use Chrome or Safari on my mac because the scripts do not work on Firefox. Could applescript support be added to Firefox?

tell application "Firefox" activate if windows is {} then reopen

repeat 5 times tell front window set newTab to make new tab set the URL of newTab to "https://samplelink.com" set the current tab to newTab delay 0.5 end tell end repeat

delay 5 close (every tab of window 1 whose URL contains "https://samplelink.com") end tell

Thanks.

I use applescript to automatic some daily tasks. Currently, I am needing to use Chrome or Safari on my mac because the scripts do not work on Firefox. Could applescript support be added to Firefox? tell application "Firefox" activate if windows is {} then reopen repeat 5 times tell front window set newTab to make new tab set the URL of newTab to "https://samplelink.com" set the current tab to newTab delay 0.5 end tell end repeat delay 5 close (every tab of window 1 whose URL contains "https://samplelink.com") end tell Thanks.

所有回覆 (1)

more options

Hello daviddierking, if i remember well i think that option disappear from firefox 3.6.x (not 36.0) and above.

Add Applescript Support to Firefox - Bug 608049

thank you