]> git.pld-linux.org Git - packages/firefox.git/commitdiff
- yahoo and google plugins: more privacy, utf-8 support for yahoo
authorradek <radek@pld-linux.org>
Thu, 7 Jul 2005 12:37:31 +0000 (12:37 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    mozilla-firefox-searchplugins.patch -> 1.1

mozilla-firefox-searchplugins.patch [new file with mode: 0644]

diff --git a/mozilla-firefox-searchplugins.patch b/mozilla-firefox-searchplugins.patch
new file mode 100644 (file)
index 0000000..ec93654
--- /dev/null
@@ -0,0 +1,77 @@
+# Rationale:
+# 1. Mozilla's code contains a hard-coded check: if a search engine's name
+#    is "Yahoo" or "Google", some information is added to the URL to make
+#    the search recognizeable as coming from the Sherlock plugin.  I fail
+#    to see a reason for it.
+# 2. Since the /usr/lib*/mozilla*/searchplugins/ dir is writable only by
+#    root, there is no need for update* tags.
+--- ./browser/locales/en-US/searchplugins/yahoo.src~   2005-07-07 14:14:05.000000000 +0200
++++ ./browser/locales/en-US/searchplugins/yahoo.src    2005-07-07 14:20:02.000000000 +0200
+@@ -8,11 +8,13 @@
+ <SEARCH
+ #   version = "7.1" 
+-   name="Yahoo"
++   name="yahoo"
+    description="Yahoo Search"
+    searchForm="http://www.yahoo.com/r/so"
+    method="GET"
+    action="http://search.yahoo.com/search" 
++   queryEncoding="utf-8"
++   queryCharset="utf-8"
+ >
+ <input name="p" user>
+@@ -36,9 +38,9 @@
+ <browser
+     alsomatch="http://search.yahoo.com/bin/search"
+-    update="http://www.mozilla.org/products/firefox/plugins/yahoo.src"
+-    updateIcon="http://www.mozilla.org/products/firefox/plugins/yahoo.gif"
+-    updateCheckDays="3"
++#   update="http://www.mozilla.org/products/firefox/plugins/yahoo.src"
++#   updateIcon="http://www.mozilla.org/products/firefox/plugins/yahoo.gif"
++#   updateCheckDays="3"
+ >
+ </search>
+--- ./xpfe/components/search/datasets/google.src~      2005-07-07 14:11:24.000000000 +0200
++++ ./xpfe/components/search/datasets/google.src       2005-07-07 14:21:11.000000000 +0200
+@@ -1,12 +1,14 @@
+ # Mozilla/Google plug-in by amitp+mozilla@google.com
++# modified by PLD Team
++
+ <search 
+-   name="Google"
++   name="google"
+    description="Google Search"
+    method="GET"
+    action="http://www.google.com/search"
+-   update="http://www.google.com/mozilla/google.src"
+-   updateCheckDays=1   
++#  update="http://www.google.com/mozilla/google.src"
++#  updateCheckDays=1   
+    queryEncoding="utf-8"
+    queryCharset="utf-8"
+ >
+--- ./browser/locales/en-US/searchplugins/google.src~  2004-08-29 09:29:59.000000000 +0200
++++ ./browser/locales/en-US/searchplugins/google.src   2005-07-07 14:20:29.000000000 +0200
+@@ -1,12 +1,14 @@
+ # Mozilla/Google plug-in by amitp+mozilla@google.com
++# modified by PLD Team
++
+ <search 
+-   name="Google"
++   name="google"
+    description="Google Search"
+    method="GET"
+    action="http://www.google.com/search"
+-   update="http://www.google.com/mozilla/google.src"
+-   updateCheckDays=1   
++#  update="http://www.google.com/mozilla/google.src"
++#  updateCheckDays=1   
+    queryEncoding="utf-8"
+    queryCharset="utf-8"
+ >
This page took 0.336665 seconds and 4 git commands to generate.