Modernize contextMenus sample to use Google Search parameters instead…
Brought to you by:
tomkozak
Originally created by: Shreyans-704
Closes [#1653]
Update the global_context_search sample to reflect modern Google Search behavior. The previous implementation relied on domain-based localization (e.g., google.ca, google.co.jp), which no longer affects search results.
https://www.google.com/searchcr (country restriction): e.g., countryCA, countryJP, countryRUlr (language restriction): e.g., lang_en, lang_ja, lang_rulocales.js into a structured regions configuration objectModern Google Search localizes results primarily based on IP geolocation, making domain-based localization ineffective. Using cr and lr parameters provides a more accurate and programmatic way to demonstrate regional search differences.
Originally posted by: google-cla[bot]
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
View this failed invocation of the CLA check for more information.
For the most up to date status, view the checks section at the bottom of the pull request.