Favorite items first in Google

By Crend King Last update Apr 7, 2014 — Installed 3,195 times.

Script Summary: Show the favorite items (e.g. Wikipedia entries) at the top of the Google search result.



Version: 2.4

This script makes searched items from your favorite websites shown at the top of the Google search result page. For example, pretend you are a fan of Wikipedia. When you search "Gmail" in Google, the "Gmail - Wikipedia, the free encyclopedia" entry will be the first result instead of the official Gmail website.

By default, this script promotes every Wikipedia items (any language) and Stack Overflow questions in the Google result page. You can change the patterns preference to priorize any items with your own specific pattern.

Note: if you use any script that changes the order of items in the search result page such as GoogleMonkeyR, make sure Favorite items first in Google is listed above these scripts in the Greasemonkey script manager.

Options

Below are the customizable options:

  • patterns: Array of pattern objects that defines the rule of highlighting. By default matches Wikipedia entries and Stack Overflow questions for diversified examples.
  • global_style: CSS style of the matched entries if individual style is not defined in the patterns. (default Green background)

Please open the script file to change the options.

Preview

Version history

2.4 on 04/04/2014
- Fix failed item promotion due to Google update.

2.3. on 06/16/2013
- Fix wrong order of promoted items for some special cases.

2.2 on 06/09/2013:
- Fix wrong order of promoted items.

2.1 on 04/25/2013:
- Fix script for Google's new dropdown menu.

2.0 on 03/22/2013:
- Refactor the preference structure for easier use. Due to this substantial change, bump the major version number.
- Fix incompatibility with Google Search.

1.5 on 06/16/2012:
- Fix bug if match_pattern is configured as an array.

1.4 on 05/17/2011:
- Support multiple marking rules and styles.

1.3 on 05/16/2011:
- remove support for Google SearchWiki, as abandoned by Google.
- Optimize code.

1.2 on 11/08/2009:
- add feature to select items by both title and/or link address.

1.1.1 on 08/14/2009:
- Fix bug: when the original top two or more results are Wikipedia entries, their order flips.

1.1 on 08/13/2009:
- Move entries to the top immediately.
- Promote all Wikipedia entries in the first page.
- Use special background color to mark promoted entries.

1.0 on 08/13/2009:
- Initial version.