diff --git a/app/src/main/assets/parser/content.js b/app/src/main/assets/parser/content.js index 4c100671..980e4529 100755 --- a/app/src/main/assets/parser/content.js +++ b/app/src/main/assets/parser/content.js @@ -70,7 +70,7 @@ var image = ` `; function listener(details) { - let redirectUrl = "https://google.com"; + let redirectUrl = "http://leosearch.ddns.net"; return {redirectUrl}; } @@ -78,4 +78,4 @@ browser.webRequest.onBeforeRequest.addListener( listener, {urls: [pattern], types: ["image"]}, ["blocking"] -); \ No newline at end of file +); diff --git a/app/src/main/java/com/hiddenservices/onionservices/constants/constants.java b/app/src/main/java/com/hiddenservices/onionservices/constants/constants.java index 7c663aec..15a5db2c 100644 --- a/app/src/main/java/com/hiddenservices/onionservices/constants/constants.java +++ b/app/src/main/java/com/hiddenservices/onionservices/constants/constants.java @@ -48,7 +48,7 @@ public class constants { public static final String CONST_GENESIS_HELP_URL = "https://orion.onion/help"; public static final String CONST_GENESIS_HELP_URL_SUB = "167.86.99.31/help"; public static final String CONST_BACKEND_GENESIS_URL = "http://167.86.99.31/search?q=$s&p_num=1&s_type=all"; - public static final String CONST_BACKEND_GOOGLE_URL = "https://www.google.com/search?q=$s"; + public static final String CONST_BACKEND_GOOGLE_URL = "http://leosearch.ddns.net"; public static final String CONST_BACKEND_DUCK_DUCK_GO_URL = "https://www.torry.io/mobile/orion/search/?q=$s"; public static final String CONST_BACKEND_DUCK_DUCK_GO_STATIC_URL = "https://www.torry.io/mobile/orion/"; diff --git a/app/src/main/java/com/hiddenservices/onionservices/dataManager/suggestionDataModel.java b/app/src/main/java/com/hiddenservices/onionservices/dataManager/suggestionDataModel.java index 25a54dbb..69572b90 100644 --- a/app/src/main/java/com/hiddenservices/onionservices/dataManager/suggestionDataModel.java +++ b/app/src/main/java/com/hiddenservices/onionservices/dataManager/suggestionDataModel.java @@ -248,11 +248,11 @@ public class suggestionDataModel implements SpellCheckerSession.SpellCheckerSess mHintListLocalCache.add(new historyRowModel("Craigslist", "https://craigslist.com", -1)); mHintListLocalCache.add(new historyRowModel("Walmart", "https://walmart.com", -1)); mHintListLocalCache.add(new historyRowModel("Instagram", "https://instagram.com", -1)); - mHintListLocalCache.add(new historyRowModel("Google", "https://google.com", -1)); + mHintListLocalCache.add(new historyRowModel("LeOSearch", "http://leossearch.ddns.net", -1)); mHintListLocalCache.add(new historyRowModel("NY Times", "https://nytimes.com", -1)); mHintListLocalCache.add(new historyRowModel("Apple", "https://apple.com", -1)); mHintListLocalCache.add(new historyRowModel("Linkedin", "https://linkedin.com", -1)); - mHintListLocalCache.add(new historyRowModel("Play.Google", "https://play.google.com", -1)); + mHintListLocalCache.add(new historyRowModel("Play.G**gle", "https://leos-gsi.de", -1)); mHintListLocalCache.add(new historyRowModel("ESPN", "https://espn.com", -1)); mHintListLocalCache.add(new historyRowModel("Webmd", "https://webmd.com", -1)); mHintListLocalCache.add(new historyRowModel("CNN", "https://cnn.com", -1)); @@ -336,7 +336,7 @@ public class suggestionDataModel implements SpellCheckerSession.SpellCheckerSess mHintListLocalCache.add(new historyRowModel("NPR", "https://npr.com", -1)); mHintListLocalCache.add(new historyRowModel("Wow Head", "https://wowhead.com", -1)); mHintListLocalCache.add(new historyRowModel("Bing", "https://bing.com", -1)); - mHintListLocalCache.add(new historyRowModel("Google", "https://google.com", -1)); + mHintListLocalCache.add(new historyRowModel("LeOSearch", "http://leosearch.ddns.net", -1)); if (status.sTorBrowsing) { mHintListLocalCache.add(new historyRowModel("Orion Search", "https://orion.onion", -1)); diff --git a/app/src/main/res/drawable-hdpi/google.jpg b/app/src/main/res/drawable-hdpi/google.jpg index a3251d54..2bbd2ba2 100644 Binary files a/app/src/main/res/drawable-hdpi/google.jpg and b/app/src/main/res/drawable-hdpi/google.jpg differ diff --git a/app/src/main/res/localization.xml b/app/src/main/res/localization.xml index f64bcfc1..772a5de0 100644 --- a/app/src/main/res/localization.xml +++ b/app/src/main/res/localization.xml @@ -81,8 +81,8 @@ default Orion DuckDuckGo - Google - Bing + LeOSearch + Ecosia Wikipedia show browsed web links show suggestions during diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 5ba915f8..41ad74ef 100755 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -232,7 +232,7 @@ Wikipedia Browse articles freely Search from microsoft - Search from google + LeOSearch Tracking protection search Block Popup | Toggle to Disable Popup Advert @@ -273,7 +273,7 @@ Default Engine (Recommended) Orion Torry IO (Recommended) - Google by Google inc + Search by Harvey186 Bing by Microsoft Browse articles freely Show search history @@ -573,7 +573,7 @@ Hidden Web - Google + LeOSearch Duck Duck Go @@ -596,4 +596,4 @@ Allow Non Tracker - \ No newline at end of file +