Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

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 trả lời
  • 1 gặp vấn đề này
  • 1 lượt xem
  • Trả lời mới nhất được viết bởi 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

Tất cả các câu trả lời (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