Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

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