搜尋 Mozilla 技術支援網站

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

Learn More

Send Javascript code to Firefox through an external process?

  • 無回覆
  • 1 有這個問題
  • 4 次檢視
more options

I am looking for a solution to automate Firefox thorough an external process. I thought I could do this with Autohotkey library, Chrome dev tools and Firefox in debug mode but I have been advised its not secure nor private.

So I am wondering is there way to send/receive JS code or events to Firefox through another process such as Autohotkey or a windows program, Why?

  • Get URL of current tab
  • Set URL of current tab to
  • Launch bookmarklets (Not bookmarks)

I have to be able to do this on the keyboard not through Firefox UI. Thanks :)

I am looking for a solution to automate Firefox thorough an external process. I thought I could do this with [https://github.com/G33kDude/Chrome.ahk Autohotkey library], Chrome dev tools and Firefox in debug mode but I have been advised [https://www.reddit.com/r/AutoHotkey/comments/ikock9/a_question_on_chromeahk/ its not secure nor private]. So I am wondering is there way to send/receive JS code or events to Firefox through another process such as Autohotkey or a windows program, Why? * Get URL of current tab * Set URL of current tab to * Launch bookmarklets (Not bookmarks) I have to be able to do this on the keyboard not through Firefox UI. Thanks :)

由 heday33967 於 修改