Better Ctrl+F
is a Chrome extension that is an enhanced version of the default Ctrl+F, providing a more flexible search experience within web pages.
- Multi-term Search: Simultaneously search for up to 5 different terms
- Custom Highlighting: Personalize colors for each search term and focused result
- Advanced Search Options: Toggle case-sensitive and diacritics-sensitive searches
- Efficient Navigation: Quickly move through search results using intuitive controls
- Theme Options: Choose between light and dark mode for your preference
- Persistent Settings: Your preferences are saved across browser sessions
Better Ctrl+F is designed to work with standard web pages. It is not compatible with certain document types or specialized web applications, including but not limited to:
- PDF viewers in browsers
- Microsoft Office online documents (Word, Excel, PowerPoint)
- Google Workspace apps (Docs, Sheets, Slides)
- Specialized web-based document editors
For these document types, please use their native search functions.
https://chromewebstore.google.com/detail/better-ctrl+f/gplkloamjcmhfnchiefogpjijhiehpij
-
Clone the repository:
git clone https://github.com/takumitoma/better-ctrl-f.git cd better-ctrl-f
-
Install dependencies:
npm install
-
Create a production build:
npm run build
-
Open Google Chrome and navigate to
chrome://extensions
-
Enable "Developer mode" in the top right corner
-
Click "Load unpacked" and select the
dist
directory from the project folder -
The extension should now be visible in your Chrome toolbar
- React
- TypeScript
- Vite
- Chrome Extension API
- Jest
src/
: Source code for the extensionbackground/
: Background script (service worker)content/
: Content script injected into web pagespopup/
: Popup UI for the extension
public/
: Static assetstests/
: Unit testsmanifest.json
: Extension manifest file
During the highlighting process, the extension analyzes the content of web pages accessed by users. However, this analysis is performed entirely locally within the user's browser. The extension does not store, transmit, or process any page content or user data on external servers. The only data persistently stored are user preferences, such as search queries and highlight colors, which are kept locally in the browser's storage for the purpose of maintaining user settings between sessions.
This project is licensed under the MIT License.
Boilerplate code: chrome-extension-boilerplate-react-vite-typescript by Himalaya Gupta