Open 4 web sites in different Chrome tabs simultaneously, and search the same term in each site
ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
So when I press the following keys WIN+ALT+/ on my keyboard simultaneously it opens the 4 web sites above, in a new chrome browser.
Does anyone know how to script (or otherwise) enter the same search term into the search box on each page and then search the term. Search term for all pages might be e.g. "circular saw".
In other words, I enter "circular saw", or my chosen search term, in one place, and the search is simultaneously performed across all 4 tabs/ web sites.
Anyone know how to do this?
Last edited by kez; 08-18-2016 at 12:28 PM.
Reason: clarification
So when I do WIN+ALT+/ on my keyboard simultaneously it opens the 4 web sites above.
I want to know how I can script/scrape such that the same search term is entered into the search box shown on the each page e.g. "circular saw".
In other words, I enter "circular saw", or my chosen search term, in one place, and the search is performed in all the above web sites, simultaneously.
If I wanted to ask someone how to use google, I'd do that.
Are you asking me to say "I've already tried google".
It's simple; any question here can be framed as "try google more".
I'm here, now, on this forum asking the question, if your not interested in helping or can't help skip to the next question.
It's simple.
All who would like to help; I'd welcome all positive ideas.
If I wanted to ask someone how to use google, I'd do that.
Are you asking me to say "I've already tried google".
It's simple; any question here can be framed as "try google more".
I'm here, now, on this forum asking the question, if your not interested in helping or can't help skip to the next question.
It's simple.
All who would like to help; I'd welcome all positive ideas.
The proper answer is "Thank you".
Get offended. Get angered. Get motivated. Get over it.
Google practically types questions for you, so a link to a "how to ask" question is valid.
That's rude. You're asking for help but want to tell us what qualifies as "help"?
But we're to believe your google.fu is sufficient? Yet, here you are.
Guys, "try google" just did not address the question.
There is an interesting question here, are you interested in it?
If anyone has any positive thoughts on the question, please join in.
If I wanted to ask someone how to use google, I'd do that.
Are you asking me to say "I've already tried google".
It's simple; any question here can be framed as "try google more".
I'm here, now, on this forum asking the question, if your not interested in helping or can't help skip to the next question.
It's simple.
All who would like to help; I'd welcome all positive ideas.
lol, the answer to your question is in the link you got so offended at.
try this:
"You'd have to find the method for each one of those sites, and pass your search term to the script opening the pages."
Thanks urbanwks, it's the insights into the method(s) for the scripting that I am interested in.
Anyone know how this works?
That's really funny haha. Humour or answering the question will go every time. hahaha. Nice one. But it does not answer the question. It's Friday night right? haha
I suppose what I want to do could look something like this:
1. press a key stroke sequence on the keyboard, such that this keystroke sequence ..
2. opens 4 tabs in a new chrome browser window, these 4 tabs each being www.diy.comwww.trade-point.co.ukwww.toolstation.comwww.screwfix.com
3. and somehow, the same search term is then passed to each search box in each of the above web pages, each returning a search result
Thanks Habitual. Something like autokey is not a bad idea. But I don't think it is quite dynamic enough. A search term will likely have to be grabbed dynamically, perhaps in a pop-up, because almost anything could go in the search. May be someone in this programming forum has some ideas. I'm here because I don't know how to do this, and this forum is called 'Programming'.
Thanks Habitual. Something like autokey is not a bad idea. But I don't think it is quite dynamic enough. A search term will likely have to be grabbed dynamically, perhaps in a pop-up, because almost anything could go in the search. May be someone in this programming forum has some ideas. I'm here because I don't know how to do this, and this forum is called 'Programming'.
You're welcome.
I meant autokey just for the launcher (vs. .desktop entry)..
All that's left is manipulate the pages in our four shiny new tabs.
Greasemonkey was popular on Firefox. Tampermonkey may be the next candidate.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.