Join the Mozilla’s Test Days event from 9–15 Jan to test the new Firefox address bar on Firefox Beta 135 and get a chance to win Mozilla swag vouchers! 🎁

搜尋 Mozilla 技術支援網站

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

了解更多

Script writing facility in firefox

  • 2 回覆
  • 2 有這個問題
  • 1 次檢視
  • 最近回覆由 Nitish

more options

I want firefox to automatically open some websites and download the content in the links (whose name is known), each time I open firefox. I don't know how to edit the firefox build, but I think using a firefox build has a steep learning curve. Is there any shorter way like writing some common script or something like that to do this task?

In Ubuntu, scripts can be written in bash. Is there any such facility for firefox? I personally, don't like to use add-ons for such seemingly simple tasks unless it is mandatory.

OS: Ubuntu 13.04

I want firefox to automatically open some websites and download the content in the links (whose name is known), each time I open firefox. I don't know how to edit the firefox build, but I think using a firefox build has a steep learning curve. Is there any shorter way like writing some common script or something like that to do this task? In Ubuntu, scripts can be written in bash. Is there any such facility for firefox? I personally, don't like to use add-ons for such seemingly simple tasks unless it is mandatory. OS: Ubuntu 13.04

所有回覆 (2)

more options

It's easy to launch web pages in Firefox externally by adding the URL to the command line, and you can use user scripts (in a host extension such as Greasemonkey or Scriptish) to open links in a page.

However, to download files, you would need to find an extension. Ordinary scripts do not have the privileges needed to save files.

As a starting point, I suggest searching on the Add-ons site: https://addons.mozilla.org/firefox/

more options

Sorry, but I don't want to use addons. I want to do it myself by some new script or something.