T
T
Trrrrr2015-01-20 17:07:56
Google
Trrrrr, 2015-01-20 17:07:56

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

3 answer(s)
D
DFMaster, 2015-01-26
@Trrrrr

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.

O
OnYourLips, 2015-01-20
@OnYourLips

Your answer is easily found in the browser's debugger. Look at the content type.

M
Michael, 2015-01-20
@scherbuk

Can't ajax search be disabled?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question