How do you make a new search engine in Google Chrome if the search term has to be a POST variable?
I tried translating the POST data into a GET querystring with the %s placeholder but this didn't work.
|
How do you make a new search engine in Google Chrome if the search term has to be a POST variable? I tried translating the POST data into a GET querystring with the %s placeholder but this didn't work. |
||||
|
|
I managed to get what I want with this (pretty nasty indeed) workaround: a javascript url that creates and immediatly submits the form. This means, when you define your search engine, insted of an url like this:
you would use this url/code:
Since it'll most likely be a pretty long string it's better to prepare it in a text editor and then copy-paste it in the url field. This is the search url for an Italian-English dictionary: P.S. Unfortunately, this method doesn't work when performing search from empty "New Tab" page. This can be fixed by installing "Ultimate New tab" extension. |
||||
|
|
|
I don't see any other option than creating another webpage, which would accept the search query as GET and then immediately resend it as POST. |
||||
|
|
|
First you need to host page with this PHP code:
Then put in search url:
(replace urls, filenames and input name to your data) For example (search on http://fansubs.ru/search.php via host http://webercom.ru/):
|
|||
|
|