How does the Google Search box send requests?

Viewed 10

I'm trying to create a Chrome extension that alters a user search query to include extra search terms. For example, "-somenewssite.com" would be added if you're not interested in what that site has to say.

Unfortunately, due to manifest V3, I can't do this with webRequests, so I'm having to do it with content_scripts instead. Ideally, I'd like to change the URL without visibly inputting terms into the search bar, but to do that I need to know how the Google search box sends requests.

I've tried reading the source code, but it's quite impenetrable - deliberately I presume. Does anyone have insight on how the search bar handles events or sends requests?

0 Answers
Related