Main Area and Open Discussion > Living Room
Looking for alternative script to search site
dantheman:
Have a script in my bookmarks to search a site, but it always uses Google.
Is there a way to have one that can use another search engine?
Startpage, DuckDuckGo, Presearch, Qwant are some of my favorite alternatives.
wraith808:
We'd probably need to know a bit more about this script.
4wd:
Without seeing the script it's a bit hard to comment but you should be able to change any occurrence of google.com to qwant.com, (my default search engine), I believe the query format is similar.
dantheman:
Thought about after and then the day got going...
javascript:q=%22%22+(window.getSelection?window.getSelection():document.getSelection?document.getSelection():document.selection.createRange().text);if(!q)q=prompt(%22Search%20terms%20[leave%20selection%20and%20box%20blank%20to%20list%20all%20pages]%20...%22).replace(/\s\+/g,%22%252B%22);if(q!=null)location=%22http://www.google.com/search?q=%22+q.replace(/\s+/g,%22+%22)+%22+site:%22+location.hostname;void(0);
dantheman:
Did try to replace Google.com with Qwant.com and it doesn't work.
Navigation
[0] Message Index
[#] Next page
Go to full version