Answer the question
In order to leave comments, you need to log in
How to understand what Google sends for search by the search button and what does not?
For example, I decided to search Google for 12345,
as a result, while I was typing this, Google sent search requests: 1 12 123 1234.
I want to filter out such requests from all using url encoded query string parsing, but I can’t understand from it that this the request is already on pressing the enter goes and not by itself.
How would you check it like that?
Answer the question
In order to leave comments, you need to log in
After pressing enter, the request is sent to a url of the form: " https://www.google.ru/search?q=* "
And with a live search, requests are sent to a url of the form: " https://www.google.ru/s? q=* "
Accordingly, you can determine the final request by the address, and to block intermediate requests, you can simply add the line " https://www.google.ru/s?q=* " to the adblock rules.
Your answer is easily found in the browser's debugger. Look at the content type.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question