Difference between revisions of "Additional search rules"
(→User-contributed search rules: Ecosia is masking URLs) |
(Ecosia stopped masking URLs) |
||
| Line 4: | Line 4: | ||
== User-contributed search rules == | == User-contributed search rules == | ||
Here is a list of additional search rules you can add to your WOT configuration: | Here is a list of additional search rules you can add to your WOT configuration: | ||
| + | |||
| + | === Ecosia === | ||
| + | [http://ecosia.org/ Ecosia] gives at least 80% of their search income to a rainforest protection program run by [http://www.panda.org/ WWF]. | ||
| + | |||
| + | '''user_pref'''("weboftrust.search.ecosia.display", | ||
| + | "<span style="color: blue;">Ecosia</span>"); | ||
| + | '''user_pref'''("weboftrust.search.ecosia.url", | ||
| + | "<span style="color: blue;">^http(s)?\\:\\/\\/ecosia\\.org\\/search\\.php\\?</span>"); | ||
| + | '''user_pref'''("weboftrust.search.ecosia.ign", | ||
| + | "<span style="color: blue;">^http(s)?\\:\\/\\/([\\w\\-]+\\.)*ecosia\\.org\\/</span>"); | ||
| + | '''user_pref'''("weboftrust.search.ecosia.prestyle", | ||
| + | "<span style="color: blue;">a[target] ~ [ATTR] { display: none ! important; }</span>"); | ||
| + | '''user_pref'''("weboftrust.search.ecosia.style", | ||
| + | "<span style="color: blue;">a ~ [ATTR=\"NAME\"] { background: url(IMAGE) right no-repeat; }</span>"); | ||
| + | '''user_pref'''("weboftrust.search.ecosia.pre0.match", <span style="color: blue;">3</span>); | ||
| + | '''user_pref'''("weboftrust.search.ecosia.pre0.re", | ||
| + | "<span style="color: blue;">^http(s)?\\:\\/\\/([\\w\\-]+\\.)*ecosia\\.org\\/goto\\.php\\\\?.*&u=(http[^&]+)</span>"); | ||
| + | |||
| + | Note: the <tt>prestyle</tt> rule stops another rating symbol from appearing next to the "Open in a new tab" icon. | ||
=== Scroogle Scraper === | === Scroogle Scraper === | ||
Revision as of 08:07, 21 April 2010
Contents
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:
Ecosia
Ecosia gives at least 80% of their search income to a rainforest protection program run by WWF.
user_pref("weboftrust.search.ecosia.display",
"Ecosia");
user_pref("weboftrust.search.ecosia.url",
"^http(s)?\\:\\/\\/ecosia\\.org\\/search\\.php\\?");
user_pref("weboftrust.search.ecosia.ign",
"^http(s)?\\:\\/\\/([\\w\\-]+\\.)*ecosia\\.org\\/");
user_pref("weboftrust.search.ecosia.prestyle",
"a[target] ~ [ATTR] { display: none ! important; }");
user_pref("weboftrust.search.ecosia.style",
"a ~ [ATTR=\"NAME\"] { background: url(IMAGE) right no-repeat; }");
user_pref("weboftrust.search.ecosia.pre0.match", 3);
user_pref("weboftrust.search.ecosia.pre0.re",
"^http(s)?\\:\\/\\/([\\w\\-]+\\.)*ecosia\\.org\\/goto\\.php\\\\?.*&u=(http[^&]+)");
Note: the prestyle rule stops another rating symbol from appearing next to the "Open in a new tab" icon.
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|ssl)\\.scroogle\\.org\\/cgi-bin\\/nbbw(ssl)?\\.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; }");