搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

I'd like to start firefox from the command line specifying a URL and provide a keyword that should be entered into the search box of the opened web page

  • 4 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 FredMcD

more options

Many Web pages provide a search box. I'd like to scan a series of web portals (amazon and some more stores) to see if they have certain goods available. I think to write a script that starts firefox at a certain URL, e.g. for 20 different URLs consecutively. The good a would like to specify in a text supplied to the command line start of firefox to be pasted into the search box of the started web page.

Thanks in advance for any suggestions!

Frank

Many Web pages provide a search box. I'd like to scan a series of web portals (amazon and some more stores) to see if they have certain goods available. I think to write a script that starts firefox at a certain URL, e.g. for 20 different URLs consecutively. The good a would like to specify in a text supplied to the command line start of firefox to be pasted into the search box of the started web page. Thanks in advance for any suggestions! Frank

所有回复 (4)

more options

See this MDN search for command line. MDN = Mozilla Developer Network

more options

the-edmeister said

See this MDN search for command line. MDN = Mozilla Developer Network

Thank you very much for your suggestions. Maybe, I did not fully grasp what you suggested. I have no problem starting firefox from the command line and even search the Web with my default search engine for a keyword I specify in the command line.

However, I'd like to confine search to the Web page that I supply in the command line and that itself provides a search box. Doing this interactively, usually leads to only a few results instead of many more when google searches the whole Web. The latter is done even when I specify the URL and the keyword in the google search field connected with AND, as also links to the Web page are gathered. Greetings, Frank

more options

Use an URL that can take search terms via a GET parameter.

You need to add quotes around the URL and possibly escape spaces (%20) and other characters.

more options

One way is to manually start each search manually for each search and each thing you are looking for. And save them as short-cuts using the search engine and item as the name.

Ex; Bing - Batteries