find

联合创作 · 2023-09-28 06:09

{find+}

Chrome Users Firefox Users Last Commit on GitHub

{find+} is a powerful find-in-page extension for Chrome and Firefox that allows you to search for content in a web page or document by regular expression. It is a feature-rich alternative to the native find-in-page tool built into your browser.

Some notable features:

  • match a regular expression against text in a web page
  • quickly search for text using the browser omnibox
  • find and replace text in a page
  • copy occurrences of a regular expression to your clipboard
  • store frequently-used patterns
  • adjust colours and search settings

Getting Started

The {find+} extension is available through the Chrome Web Store and through the Firefox Add-ons Store.

Download the extension here: find+ | Regex Find-in-Page Tool.

Download the extension here: {find+} – Get this Extension for 🦊 Firefox.

Keyboard Shortcuts

In Firefox, you can use CTRL++F to open the extension popup.

To open the extension popup in Chrome using a keyboard shortcut, you must first assign a keyboard shortcut to the extension through the Chrome settings. You can do this by following these steps:

  1. Navigate to the Extensions settings page in Chrome, or type chrome://extensions/ into the navigation bar.
  2. In the top left click on the ☰ menu icon, then click Keyboard shortcuts.
  3. Locate the shortcut settings for find+. Click the input field located to the right of the label Activate the extension.
  4. Press the combination of keys you would like to use, and once complete press OK. We recommend using CTRL++F, since it shouldn't conflict with any other browser keyboard shortcut mappings.

When the extension popup is open, there are a number of keyboard shortcuts you can use. These settings cannot be remapped.

Windows Shortcut macOS Shortcut Action
Advance to the next occurrence of the regular expression in the page
+ + Return to the previous occurrence of the regular expression in the page
CTRL++ ^++ Follow the first highlighted link in the current occurrence focus
CTRL+ALT+C ^++C Copy to the clipboard the currently highlighted text on the page.
CTRL+ALT+A ^++A Copy to the clipboard the all highlighted text on the page.
CTRL+ALT+O ^++O Expand or Collapse Options Pane
CTRL+ALT+R ^++R Expand or Collapse Replace Text Pane
CTRL+ALT+H ^++H Expand or Collapse Saved Expressions Pane
CTRL+ or ESC ^+ or ESC Close the extension popup

Omnibox Support

In version 1.4.0, we introduced omnibox support! This allows you to highlight text on a page without even opening the extension. To use this feature, type find in your browser's address bar, press or , and then enter a regular expression. Occurrences of the regular expression will become highlighted on the page as you type.

Pressing ENTER will leave the highlights in the page. To remove the highlights, simply refresh the page. If you don't want to leave the highlights in the page, just erase the text entered in the address bar.

Contributing

We can use your help! Our CONTRIBUTING doc should help get you started.

Contributors

License

This project is licensed under the GPLv3 License.

浏览 7
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报
评论
图片
表情
推荐
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报