Highlight Websites in Google Search: 2 Greasemonkey Scripts

Enhancing Browsing with Greasemonkey and User Scripts
Greasemonkey is a powerful extension for the Firefox browser. It enables users to install and oversee a collection of user scripts designed to refine and customize their web browsing.
Improving Google Search Functionality
Previously, we explored several ways this addon can optimize your interactions with Google. Numerous user scripts are available to eliminate redirects from Google's search results pages.
Furthermore, at least nine scripts exist to boost productivity while searching on Google. A particularly useful script also allows for the highlighting of Google search results directly on the destination webpage.
Highlighting Websites in Google Search Results
This article details another valuable Google search enhancement. It focuses on two Greasemonkey scripts that provide the ability to highlight any designated website within Google search.
These scripts facilitate the rapid identification – and effortless switching between – trusted and frequently visited websites.
Benefits of Website Highlighting
- Quickly locate your preferred sources in search results.
- Easily differentiate between trusted sites and others.
- Streamline your research process by focusing on relevant domains.
By utilizing these Greasemonkey scripts, users can significantly improve their Google search experience and navigate the web more efficiently.
Highlighting Multiple Domains in Search Results
A Greasemonkey script, built upon this existing script, enables the highlighting of multiple domains directly within Google search engine results pages.
Customization of both the domains to be highlighted and their corresponding colors is possible through script editing. Access the script editor via Greasemonkey -> Manage User Scripts, then select the script and click the "Edit" button.
Script Configuration
The script will open in your default editor. Scroll down to locate the section where you can modify and add your desired domains and colors.

To minimize visual clutter, consider assigning the same color to all frequently visited domains if distinct differentiation isn't essential.
The following illustrates the visual result of applying three different colors to selected domains within Google search results:

Potential Limitations
Known issues may affect functionality:
- Based on observations, the script may not function correctly when Google Instant is activated. However, this is less of a concern for users who typically disable Google Instant.
- The script may also highlight URLs containing the domain name, even if it isn't the primary domain of the website.
Enhanced Google Search Results
The Tunes Google Results script presents a compelling way to modify your Google search experience. Its primary function is to visually emphasize specific domains directly within the Google search results pages.
Beyond domain highlighting, this script incorporates several additional features designed to improve usability.
Key Features
- Numbered Search Results: Each result is assigned a numerical identifier.
- Direct Cache Access: A link is provided for quick access to the Google "Text-only" cache of each result.
A particularly useful aspect of this script is its ability to facilitate easy navigation between your preferred domains within the Google results.

This feature allows for swift and convenient browsing among your frequently visited websites while reviewing Google's search pages.
Customization of the script to include your desired websites requires editing the script's code using an HTML editor.

Furthermore, the script introduces new search operators to refine your queries.
Available Search Operators
- co:us - Specifies the country for search results, useful for checking site rankings in different regions.
- lang:en - Filters results to display pages in English.
- loc:uk - Focuses results on websites physically located in the United Kingdom.
- num:30 - Sets the number of results displayed per page to 30.
Important Considerations:
- The script is currently incompatible with Google Instant, although the developer is actively addressing this issue.
- Functionality is lost when used in conjunction with Google Anonymizer.
- The script may inadvertently highlight URLs containing the domain name, even if it's not the primary domain.
Do you believe these scripts enhance your typical Google search process? Consider how these tools could prove particularly beneficial in specific scenarios.
We invite you to share your thoughts and discuss the potential applications of these tools!