PolySearch is a lightweight Chrome extension that enhances Google Search by adding a button beside the search bar. It allows you to quickly re-run your current query in one of your three favorite languages using Google’s lr=lang_<CODE> parameter.
- 🌐 Adds a button next to Google’s search input on supported domains (
www.google.com,www.google.co.jp,www.google.es). - ⭐ Save up to three favorite languages for quick access.
- 🔄 Re-runs the current search with
&lr=lang_<CODE>to filter results by language. - 🔒 Minimal permissions: only the
storagepermission is needed to remember your language choices.
- Download or clone this repository to your local machine.
- Open Chrome and navigate to
chrome://extensions/. - Enable Developer mode in the top-right corner.
- Click Load unpacked and select the
PolySearchfolder. - Ensure the extension is enabled; it will automatically inject the UI on supported Google Search pages.
- Click on the Options link under the PolySearch extension listing, or visit
chrome-extension://<EXTENSION_ID>/options.html. - Select your three favorite languages from the dropdown menus and click Save.
- Go to a supported Google Search page and enter your query.
- Click the 🌐 button next to the search box and choose a language. The page will reload with results filtered in that language.
| Code | Language |
|---|---|
en |
English |
ja |
Japanese |
es |
Spanish |
fr |
French |
de |
German |
zh-CN |
Chinese (Simplified) |
ru |
Russian |
pt |
Portuguese |
it |
Italian |
ko |
Korean |
ar |
Arabic |
storage: Used to save and sync your selected favorite languages across devices where you’re signed into Chrome.- No host permissions are required in the minimal build since the extension operates entirely by manipulating the current page’s URL.
PolySearch/
├─ manifest.json # Extension metadata and permissions
├─ background.js # Sets defaults on installation
├─ content.js # Injects the button and handles language selection
├─ styles.css # Dropdown hover styling
├─ options.html # UI for selecting favorites
└─ options.js # Saves and restores favorites via chrome.storage
Contributions, issues, and feature requests are welcome! Feel free to:
- Open an issue in this repository for bugs or enhancement ideas.
- Fork the project and submit a pull request with your improvements.
Enjoy PolySearch!