Difference between revisions of "Additional search rules"

From WOT Wiki
Jump to: navigation, search
(simplification of Yauba style.)
(User-contributed search rules: formatting, shorter lines)
Line 8: Line 8:
 
[http://www.scroogle.org/cgi-bin/scraper.htm Scroogle Scraper] allows private searches to Google.
 
[http://www.scroogle.org/cgi-bin/scraper.htm Scroogle Scraper] allows private searches to Google.
  
   user_pref("weboftrust.search.scroogle.display", "Scroogle Scraper");
+
   '''user_pref'''("weboftrust.search.scroogle.display",
   user_pref("weboftrust.search.scroogle.url", "http(s)?\\:\\/\\/www\.scroogle\\.org\\/cgi-bin\\/nbbw.cgi.*");
+
            "<span style="color: blue;">Scroogle Scraper</span>");
   user_pref("weboftrust.search.scroogle.ign", "http(s)?\\:\\/\\/([\\w\\-]+\\.)*scroogle\\.org\\/.*");
+
   '''user_pref'''("weboftrust.search.scroogle.url",
   user_pref("weboftrust.search.scroogle.style", "a ~ [ATTR=\"NAME\"] { background: url(IMAGE) right no-repeat; margin-left: 2px; }");
+
            "<span style="color: blue;">^http(s)?\\:\\/\\/www\.scroogle\\.org\\/cgi-bin\\/nbbw.cgi</span>");
 +
   '''user_pref'''("weboftrust.search.scroogle.ign",
 +
            "<span style="color: blue;">^http(s)?\\:\\/\\/([\\w\\-]+\\.)*scroogle\\.org\\/</span>");
 +
   '''user_pref'''("weboftrust.search.scroogle.style",
 +
            "<span style="color: blue;">a ~ [ATTR=\"NAME\"] { background: url(IMAGE) right no-repeat; }</span>");
  
 
=== Yauba ===
 
=== Yauba ===
 
[http://www.yauba.com/ Yauba] is a real-time search engine focused on privacy.
 
[http://www.yauba.com/ Yauba] is a real-time search engine focused on privacy.
  
   user_pref("weboftrust.search.yauba.display", "Yauba");
+
   '''user_pref'''("weboftrust.search.yauba.display",
   user_pref("weboftrust.search.yauba.url", "^http(s)?\\:\\/\\/(www\\.)?yauba\\.com\\/");
+
            "<span style="color: blue;">Yauba</span>");
   user_pref("weboftrust.search.yauba.ign", "^http(s)?\\:\\/\\/(www\\.)?yauba\\.com\\/");
+
   '''user_pref'''("weboftrust.search.yauba.url",
   user_pref("weboftrust.search.yauba.style", "h1 a ~ [ATTR=\"NAME\"] { background: url(IMAGE) right no-repeat; }");
+
            "<span style="color: blue;">^http(s)?\\:\\/\\/(www\\.)?yauba\\.com\\/</span>");
 +
   '''user_pref'''("weboftrust.search.yauba.ign",
 +
            "<span style="color: blue;">^http(s)?\\:\\/\\/(www\\.)?yauba\\.com\\/</span>");
 +
   '''user_pref'''("weboftrust.search.yauba.style",
 +
            "<span style="color: blue;">h1 a ~ [ATTR=\"NAME\"] { background: url(IMAGE) right no-repeat; }</span>");

Revision as of 10:38, 16 September 2009

Adding search rules

The preferred way to add custom search rules to the Firefox add-on is to edit the user.js file in your Firefox profile folder using a text editor.

User-contributed search rules

Here is a list of additional search rules you can add to your WOT configuration:

Scroogle Scraper

Scroogle Scraper allows private searches to Google.

 user_pref("weboftrust.search.scroogle.display",
           "Scroogle Scraper");
 user_pref("weboftrust.search.scroogle.url",
           "^http(s)?\\:\\/\\/www\.scroogle\\.org\\/cgi-bin\\/nbbw.cgi");
 user_pref("weboftrust.search.scroogle.ign",
           "^http(s)?\\:\\/\\/([\\w\\-]+\\.)*scroogle\\.org\\/");
 user_pref("weboftrust.search.scroogle.style",
           "a ~ [ATTR=\"NAME\"] { background: url(IMAGE) right no-repeat; }");

Yauba

Yauba is a real-time search engine focused on privacy.

 user_pref("weboftrust.search.yauba.display",
           "Yauba");
 user_pref("weboftrust.search.yauba.url",
           "^http(s)?\\:\\/\\/(www\\.)?yauba\\.com\\/");
 user_pref("weboftrust.search.yauba.ign",
           "^http(s)?\\:\\/\\/(www\\.)?yauba\\.com\\/");
 user_pref("weboftrust.search.yauba.style",
           "h1 a ~ [ATTR=\"NAME\"] { background: url(IMAGE) right no-repeat; }");