SnapSearch is a Arc Browser Extension that enhances the search functionality in the Arc Browser. It allows users to select text on a webpage and search for it using their preferred search engine in a "Little Arc" window.
- Select text and search with Google, Perplexity Al, Bing, DuckDuckGo or Kagi
- The search results open in a "Little Arc" window
- Choose your preferred search engine
Install the extension from the Chrome Web Store.
-
Clone the Source Repository:
- Clone the repo:
or
gh repo clone kishanhitk/SnapSearch
git clone https://github.com/kishanhitk/SnapSearch.git
- Alternatively, download the source as a ZIP file from the repository.
- Clone the repo:
-
Set Up the Extension in Chrome:
- Access
chrome://extensions
in your browser. - Enable developer mode (top right toggle).
- Select "Load Unpacked" and navigate to the
SnapSearch
folder.- This will be the downloaded folder, where the
manifest.json
can be found.
- This will be the downloaded folder, where the
- Confirm by pressing
enter
orreturn
on your keyboard, and customize SnapSearch's search engine as required (defaults to Google).
- Access
- After installing the extension, right-click on any webpage in Arc Browser.
- Select the
Search with...
option in the context menu. - Choose your preferred search engine from the popup.
SnapSearch is built using JavaScript, HTML, and CSS. It uses the Context Menus API to add a context menu item that appears when the user selects text on a webpage. When this context menu item is clicked, the extension opens a new window with the search query, using the user's preferred search engine.
The extension uses the Storage API to save the user's preferred search engine, and the Windows API to open new windows. On Arc Browser, this method opens a "Little Arc" window.
SnapSearch requires the following permissions:
contextMenus
: To add a context menu item that appears when the user selects text.storage
: To save the user's preferred search engine.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.