Multiple Highlight Easy-to-use highlight enabled multiple word search tool
Support Development
PayPal ● 
Bitcoin Address: bc1qh7juzrxrawpr65elm4qs285m5rdhnhgsn7h2jf
 ● 
Lightning Address: bhjmq@getalby.com
Your Input Matters
Review
Advertisement
Screenshot
The "Multiple Highlight" extension adds a button to your browser toolbar area to bring real-time multiple word-searching to your browser. The default word separator is space but you can use ";" and "," as the word separator if space is used frequently in your queries and is not meant to split words. This extension searches the currently active document and highlights the matching terms in different colors. You can press the Enter key to search the next occurrence or press the Shift + Enter combination to search for the previous occurrence. You can even define a keyboard shortcut to open the popup window with keywords. By pressing the ESC key once, the search query is erased and the second press on an empty search box closes the popup window and brings the focus back to the page.

Features

FAQs

  1. What is the "Multiple Highlight" add-on and how can I use it?

    Multiple Highlight extension is meant to ease the word searching. In oppose to the default find toolbar which finds the entire query in the active tab, this extension splits the user query into sub-queries and finds each sub-query with a unique color. The separator for finding multiple queries by default is space. This extension splits your query with the separator and trims each section. So having multiple spaces between queries is simply being ignored. Note that you can navigate to the next or previous matching terms by pressing the Enter and Shift + Enter keyword shortcuts. This extension always selects an occurrence in the active view if possible to prevent scrolling. However, if your matching term is not visible in the viewport, the extension scrolls the page to the first occurrence of the word.

  2. For large documents you can try the developer version of this extension:

    Chrome Store: https://chromewebstore.google.com/detail/mjmdpcpejfpacdlehioncilhdhcpopmk/

  3. What's new in this version?

    Please check the Logs section.

  4. What are keyboard shortcuts that this extension supports?

    The extension popup can get opened by a custom shortcut that is defined in the extensions manager of your browser. This way you can bring the search box without the need to click on the browser's action button. When the popup is open, the search box has focus, so you can start typing your queries. The extension will find and highlight the queries in a real-time manner. The selected query has a different color than other highlights so that it is distinguishable. You can press the Enter key to move to the next highlight and by pressing Shift + Enter key, the previous occurrence becomes active. When searching is over, press the ESC key to close the popup and bring the focus back to the document. Note that if the search query is not empty, pressing the ESC key will result in clearing the search box.

  5. The default space separator is too general. Can I use another separator with this extension?

    This extension supports three different query separator. You can change the separator in the popup window. Note that the query separator is a persistence preference.

  6. Can I keep the highlights when closing the popup window?

    As of version 0.1.1, you have two options to keep the highlights. 1) Use the Shift key when pressing the "x" button. This will keep the highlights and restore the search query on the next use. 2) Go to the options page and check "Keep highlights when closing the popup" option. Use the second method if you always need this behavior. Note that in the first method, if the popup gets closed after a subsequent open, if the Shift key is not being pressed or the ESC key is used to close the popup, the highlights will be removed upon closing. To use ESC key for closing the popup and still keep the highlights, check "Keep highlights when closing the popup" and uncheck "Clean the search box when ESC is pressed". Note that in Firefox browser, the ESC key always closes the popup so this option is not going to work.

  7. Is it possible to use a regular expression to match a sub-query?

    As of version 0.1.2, you can start your sub-queries with "r:" keyword to be considered as a regular expression. Note that if your query separator is space, you cannot use space in your regular expressions. Instead use "\s". Alternatively, change the separator to another character from the list. If you have an incorrect regular expression in your query, the entire query will be shown as red. Also, you will get a hint in the title of the search box regarding the issue.

  8. Can I change the colors of different marks?

    As of version 0.1.2, you can go to the options page to change the foreground or background color of each mark. Also, it is possible to change the colors of the active mark. Note that each mark supports box color as well. If you don't need a separate color for a box, use the background color for the box area. If you would like to reset the colors to the factory ones, use the "Reset" button on the options page.

  9. What are the supported commands in the search query?

    If you want to add a command to a search keyword use "command:keyword" format. Use "r:" to search with regular expression. Use "b:" to bold the matches and "u:" to underline the matches. Also, you can use "h:" for highlighting while other commands are used. You can mix multiple commands too. For instance, to highlight a keyword and underline it simultaneously use "uh:" or "hu:" command.

  10. Is it possible to quickly highlight the last searched query without opening the browser action's popup interface?

    As of version 0.1.5, you can define your custom keyboard shortcut to highlight the last query without first opening the interface (if there is no matching query for the current tab, the highlighting process is silently ignored). The query is detected based on the current URL by default. This extension can keep a single query for each tab based on your preference. There are three possible options: store queries based on the tab URL, store queries based on the tab's hostname, or ignore the URL and keep a single query globally.

  11. Is it possible to remove all highlights without opening the extension's interface?

    As of version 0.1.5, you can define your custom keyboard combination to ask the extension to clear all its highlights without first opening the interface.

  12. I want to change the style of the active mark myself. Is it possible to ask the extension not to apply its style and instead apply mine?

    Go to the options page and check the box for "Do not style active mark", then apply your style in the custom styling section of the page. Your CSS styles can be applied to any mark elements including the active mark. Note that you need to refresh the page once for the styles to apply.

  13. When I am using this extension on a large HTML document with multiple queries, the extension takes a few seconds to highlight all matches. Is it possible to improve the performance?

    This extension by default uses the "Mark JS" highlighting engine which is a good choice when the document is not too large. As of version 0.1.9, the extension also supports a new experimental highlighting engine (Text-Based Document Manipulation or TBDM JS) which is faster than the default one, especially on CPU-intensive queries. If you are on a large document, you can try the new engine from the options page. Note that this engine might still be buggy. Also, you need to refresh the page once for the extension to use the new engine. You can always revert to the default engine if the new one is not needed.

  14. I use a separator other than space so that I can match queries with spaces on them. However, this extension sometimes misses some complex elements especially when one part of the element has a different style than other parts (e.g. one part is in a different color). Any workaround?

    The default highlighting engine of this extension (highlight.js) is incapable of parsing complex HTML nodes. So it does not return results in these nodes. You can try the new experimental "tbdm.js" engine from the options page which can take care of parsing these complex nodes. Make sure to refresh the page for the extension to load the new engine.

  15. What is the difference between the "canvas" and "native" methods introduced in version 0.3.0?

    As of version 0.4.0, this extension drops the support for the "mark.js" library in favor of the "tbdm.js" library. The new version of "tbdm.js" supports two modes for highlighting. On the "native" mode, similar to the old version, it uses the "Mark" HTML element to define highlights on the page; however, on the "canvas" method, the extension only underlines the highlighted content on a separate canvas (paint) element. This way, the extension does not alter the actual DOM and only visually points to the highlighted content. The canvas method is fast and efficient compared to the old native method. By default, this extension uses the "canvas" method. You have an option to switch to the "native" method. This method is only recommended if you are working on small documents. For large ones, make sure to use the "canvas" rendering engine.

Matched Content

Reviews

Please keep reviews clean, avoid improper language, and do not post any personal information. Also, please consider sharing your valuable input on the official store.

What's new in this version

Version--
Published--/--/--
Change Logs:
    Last 10 commits on GitHub
    Hover over a node to see more details

    Need help?

    If you have questions about the extension, or ideas on how to improve it, please post them on the  support site. Don't forget to search through the bug reports first as most likely your question/bug report has already been reported or there is a workaround posted for it.

    Open IssuesIssuesForks

    Permissions are explained

    PermissionDescription
    storageto keep local preferences of the extension like word separator preference

    Recent Blog Posts