Open ghost opened 6 years ago
on line 215: var jsSearchUrl=engine[0]+"?"+engine[1]+"="; change it to var jsSearchUrl=engine[0]+engine[1];
Doing so will require you to change the ones that do have question marks to go from "q" to "?q="
on line 215: var jsSearchUrl=engine[0]+"?"+engine[1]+"="; change it to var jsSearchUrl=engine[0]+engine[1];
Doing so will require you to change the ones that do have question marks to go from "q" to "?q="
NelsWebDev: thank you so much for commenting! I was looking for this same answer actually. I changed the value that you recommended but it still did not work for me. Using the change of var jsSearchUrl=engine[0]+engine[1]; still just sends over a ? to the search engine and all of my other search engines still work (and I did not change from "q" to "?q=" yet.
I actually used the example from horusra and tried EZTV but the URL is redirecting to eztv.io now. Can you think of anything else that I may be missing? Really appreciate your input!
Is there a way to make the search engine work differently when the "query" option is empty?
["https://eztv.ag/search/", "", "EZTV", ""],
for example: https://eztv.ag/search/searchtermhere if I leave the query option empty, it still adds "?" somewhere in there and breaks the search engine.
So it would be great if we could have an option to disable the automatic inclusion of "?" and whatever else for certain search engines.