From 2c087e4914f0377fe9d6a40bae35342c88a10898 Mon Sep 17 00:00:00 2001 From: R4SAS Date: Sat, 28 Sep 2019 07:36:12 +0300 Subject: [PATCH] rewrite default search engines - #26 Signed-off-by: R4SAS --- linux/build/preferences/i2pdbrowser.cfg | 9 ++++++++- osx/build/preferences/i2pdbrowser.cfg | 9 ++++++++- windows/build/preferences/i2pdbrowser.cfg | 9 ++++++++- 3 files changed, 24 insertions(+), 3 deletions(-) diff --git a/linux/build/preferences/i2pdbrowser.cfg b/linux/build/preferences/i2pdbrowser.cfg index a3bcd2c..4872af6 100644 --- a/linux/build/preferences/i2pdbrowser.cfg +++ b/linux/build/preferences/i2pdbrowser.cfg @@ -79,12 +79,18 @@ defaultPref("browser.safebrowsing.updateURL", ""); defaultPref("browser.safebrowsing.warning.infoURL", ""); defaultPref("browser.search.countryCode", "US"); defaultPref("browser.search.defaultenginename", "YaCy 'legwork'"); +defaultPref("browser.search.defaultenginename.US", "YaCy 'legwork'"); defaultPref("browser.search.geoSpecificDefaults", false); defaultPref("browser.search.geoSpecificDefaults.url", ""); defaultPref("browser.search.geoip.url", ""); -defaultPref("browser.search.hiddenOneOffs", "Amazon.com,Bing,DuckDuckGo,eBay,Google,Twitter,Wikipedia (en)"); +pref("browser.search.hiddenOneOffs", "Amazon.com,Bing,DuckDuckGo,eBay,Google,Twitter,Wikipedia (en)"); defaultPref("browser.search.official", false); defaultPref("browser.search.order.1", "YaCy 'legwork'"); +defaultPref("browser.search.order.2", ""); +defaultPref("browser.search.order.3", ""); +defaultPref("browser.search.order.US.1", "YaCy 'legwork'"); +defaultPref("browser.search.order.US.2", ""); +defaultPref("browser.search.order.US.3", ""); defaultPref("browser.search.redirectWindowsSearch", false); defaultPref("browser.search.region", "US"); defaultPref("browser.search.searchEnginesURL", ""); @@ -97,6 +103,7 @@ defaultPref("browser.shell.checkDefaultBrowser", false); pref("browser.startup.homepage", "http://i2pd.i2p/"); defaultPref("browser.tabs.closeWindowWithLastTab", false); lockPref("browser.tabs.crashReporting.sendReport", false); +defaultPref("browser.translation.engine", ""); defaultPref("browser.uitour.enabled", false); defaultPref("browser.urlbar.formatting.enabled", false); defaultPref("browser.urlbar.maxRichResults", 12); diff --git a/osx/build/preferences/i2pdbrowser.cfg b/osx/build/preferences/i2pdbrowser.cfg index a3bcd2c..4872af6 100644 --- a/osx/build/preferences/i2pdbrowser.cfg +++ b/osx/build/preferences/i2pdbrowser.cfg @@ -79,12 +79,18 @@ defaultPref("browser.safebrowsing.updateURL", ""); defaultPref("browser.safebrowsing.warning.infoURL", ""); defaultPref("browser.search.countryCode", "US"); defaultPref("browser.search.defaultenginename", "YaCy 'legwork'"); +defaultPref("browser.search.defaultenginename.US", "YaCy 'legwork'"); defaultPref("browser.search.geoSpecificDefaults", false); defaultPref("browser.search.geoSpecificDefaults.url", ""); defaultPref("browser.search.geoip.url", ""); -defaultPref("browser.search.hiddenOneOffs", "Amazon.com,Bing,DuckDuckGo,eBay,Google,Twitter,Wikipedia (en)"); +pref("browser.search.hiddenOneOffs", "Amazon.com,Bing,DuckDuckGo,eBay,Google,Twitter,Wikipedia (en)"); defaultPref("browser.search.official", false); defaultPref("browser.search.order.1", "YaCy 'legwork'"); +defaultPref("browser.search.order.2", ""); +defaultPref("browser.search.order.3", ""); +defaultPref("browser.search.order.US.1", "YaCy 'legwork'"); +defaultPref("browser.search.order.US.2", ""); +defaultPref("browser.search.order.US.3", ""); defaultPref("browser.search.redirectWindowsSearch", false); defaultPref("browser.search.region", "US"); defaultPref("browser.search.searchEnginesURL", ""); @@ -97,6 +103,7 @@ defaultPref("browser.shell.checkDefaultBrowser", false); pref("browser.startup.homepage", "http://i2pd.i2p/"); defaultPref("browser.tabs.closeWindowWithLastTab", false); lockPref("browser.tabs.crashReporting.sendReport", false); +defaultPref("browser.translation.engine", ""); defaultPref("browser.uitour.enabled", false); defaultPref("browser.urlbar.formatting.enabled", false); defaultPref("browser.urlbar.maxRichResults", 12); diff --git a/windows/build/preferences/i2pdbrowser.cfg b/windows/build/preferences/i2pdbrowser.cfg index a3bcd2c..4872af6 100644 --- a/windows/build/preferences/i2pdbrowser.cfg +++ b/windows/build/preferences/i2pdbrowser.cfg @@ -79,12 +79,18 @@ defaultPref("browser.safebrowsing.updateURL", ""); defaultPref("browser.safebrowsing.warning.infoURL", ""); defaultPref("browser.search.countryCode", "US"); defaultPref("browser.search.defaultenginename", "YaCy 'legwork'"); +defaultPref("browser.search.defaultenginename.US", "YaCy 'legwork'"); defaultPref("browser.search.geoSpecificDefaults", false); defaultPref("browser.search.geoSpecificDefaults.url", ""); defaultPref("browser.search.geoip.url", ""); -defaultPref("browser.search.hiddenOneOffs", "Amazon.com,Bing,DuckDuckGo,eBay,Google,Twitter,Wikipedia (en)"); +pref("browser.search.hiddenOneOffs", "Amazon.com,Bing,DuckDuckGo,eBay,Google,Twitter,Wikipedia (en)"); defaultPref("browser.search.official", false); defaultPref("browser.search.order.1", "YaCy 'legwork'"); +defaultPref("browser.search.order.2", ""); +defaultPref("browser.search.order.3", ""); +defaultPref("browser.search.order.US.1", "YaCy 'legwork'"); +defaultPref("browser.search.order.US.2", ""); +defaultPref("browser.search.order.US.3", ""); defaultPref("browser.search.redirectWindowsSearch", false); defaultPref("browser.search.region", "US"); defaultPref("browser.search.searchEnginesURL", ""); @@ -97,6 +103,7 @@ defaultPref("browser.shell.checkDefaultBrowser", false); pref("browser.startup.homepage", "http://i2pd.i2p/"); defaultPref("browser.tabs.closeWindowWithLastTab", false); lockPref("browser.tabs.crashReporting.sendReport", false); +defaultPref("browser.translation.engine", ""); defaultPref("browser.uitour.enabled", false); defaultPref("browser.urlbar.formatting.enabled", false); defaultPref("browser.urlbar.maxRichResults", 12);