From 6bbce144df1e35a4844afbbf10735ddecbe81819 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 18 Jun 2019 21:26:14 +0300 Subject: google -> duckduckgo --- js/read.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'js') diff --git a/js/read.js b/js/read.js index 9e86502..dd3c3f4 100644 --- a/js/read.js +++ b/js/read.js @@ -338,9 +338,10 @@ function init_reader() { $(".dict_result").scrollTop(0); }) + // TODO: make configurable $(".dict_search_btn").on("click", function() { $("#dict-modal").modal('hide'); - window.open("https://google.com/search?q=" + $(".dict_query").val()); + window.open("https://duckduckgo.com/?q=" + $(".dict_query").val()); }); function toc_loc_msg(href) { -- cgit v1.2.3