Swift Selection Search에 대한 리뷰
Swift Selection Search 제작자: Daniel Lobo
Daniel Lobo 님의 답글
개발자 답글
8년 전에 게시됨Hey there, thanks for the review! ;)
Normally, after you use the search bar on a website, you can look at the URL and see where the site placed your query. For example, if you search for "Firefox WebExtensions" on Google, Google adds "q=Firefox+WebExtensions" somewhere in the URL (among probably a lot of other things). "q" is the parameter Google uses for user queries.
SSS only needs a URL that says "{searchTerms}" in the part where your query usually goes. In the example above, that would mean the entire URL but with "q={searchTerms}" instead of "q=Firefox+WebExtensions". Your URL does not have a {searchTerms} part, so SSS doesn't know where to add the text you selected. :)
You will notice that many websites use the ? symbol and then add a lot of parameters separated with the & symbol. You'll usually be looking for the parameter that represents your query and replacing that with {searchTerms}. Most of the time, the URL also contains a lot of unnecessary parameters, so, to give an example, this simple version is what I use for Google:
https://www.google.com/search?q={searchTerms}
eBay is actually weird! It has several different search URLs, some of which very strange, but from searching around a bit it seems this one is simple and works:
http://www.ebay.com/sch/{searchTerms}
This is a bit technical but I hope I have helped. :) If the explanation wasn't clear enough please tell me. Maybe I should improve the options page instructions with a similar explanation.
Cheers!
Daniel
Normally, after you use the search bar on a website, you can look at the URL and see where the site placed your query. For example, if you search for "Firefox WebExtensions" on Google, Google adds "q=Firefox+WebExtensions" somewhere in the URL (among probably a lot of other things). "q" is the parameter Google uses for user queries.
SSS only needs a URL that says "{searchTerms}" in the part where your query usually goes. In the example above, that would mean the entire URL but with "q={searchTerms}" instead of "q=Firefox+WebExtensions". Your URL does not have a {searchTerms} part, so SSS doesn't know where to add the text you selected. :)
You will notice that many websites use the ? symbol and then add a lot of parameters separated with the & symbol. You'll usually be looking for the parameter that represents your query and replacing that with {searchTerms}. Most of the time, the URL also contains a lot of unnecessary parameters, so, to give an example, this simple version is what I use for Google:
https://www.google.com/search?q={searchTerms}
eBay is actually weird! It has several different search URLs, some of which very strange, but from searching around a bit it seems this one is simple and works:
http://www.ebay.com/sch/{searchTerms}
This is a bit technical but I hope I have helped. :) If the explanation wasn't clear enough please tell me. Maybe I should improve the options page instructions with a similar explanation.
Cheers!
Daniel
리뷰 682개
- 5점 만점에 5점GothicWeasel 님, 20일 전
- 5점 만점에 5점Firefox 사용자 13247613 님, 23일 전One of my most used app. Very very helpful. Thanks for making it.
- 5점 만점에 5점Firefox 사용자 18993045 님, 3달 전
- 5점 만점에 5점Firefox 사용자 13847555 님, 3달 전
- 5점 만점에 5점Firefox 사용자 18951592 님, 4달 전It's perfect! So fast, tiny and customizable! I can adjust it just the way I want to. Seriously, discovering this just made my day.
- 5점 만점에 5점Firefox 사용자 18289690 님, 6달 전
- 5점 만점에 5점elitesustenance 님, 6달 전