Context Search Engines

出自Tsetien’s Wiki
跳至導覽 跳至搜尋
Firefox 使用 『Context Search Origin』
Chrome 使用 『Context Menu Search』
PotPlayer Word Searching 搜尋引擎設置
PotPlayer Word Searching 上下文菜單效果

這個頁面用來搜集整理可用於瀏覽器上下文選單中的搜尋引擎。

在 Firefox 上,安裝 Context Search Origin (AMO 地址), 然後在瀏覽器中按一下 Alt 鍵喚出主選單,然後點選 Bookmarks > Show All Bookmarks, 在新彈出的窗口中,於左側找到 『Bookmarks Menu’, 然後在其下新建一個子文件夾,將其命名為 『Searches』, 然後將下方列表中需要的搜尋引擎以「新建書籤」的方式逐一添加到這個文件夾下,即可獲得右邊圖示效果。

在 Chrome 上,安裝 Context Menu Search (chrome web store 地址), 然後將下方列表中所需的搜尋引擎逐一添加到該擴展的設置頁面中即可獲得右邊圖示的效果。添加完了之後注意要點保存。

在 Microsoft Edge 上,則要安裝 Simple = Select + Search (Edge Add-ons 地址), 然後將下方列表中所需的搜尋引擎逐一添加到該擴展的設置頁面中即可獲得右邊圖示中類似 Chrome 的效果。

在 PotPlayer 上,在任意位置按下滑鼠輔鍵,點選 『Preferences…』, 在彈出來的窗口的左邊,找到 『Subtitles』, 點開後找到 『Word Searching』 便可以在右邊添加需要的搜尋引擎了。

惟須注意的是,下方列表的地址中寫作 %s 的部分,在添加 PotPlayer 的 Word Searching 引擎時,須改寫為 %%SS. 以及,PotPlayer 在查詞時,如果直接點擊則默認使用排位第一的搜尋引擎,只有在單詞上按下滑鼠輔鍵時才給出其他選項。PotPlayer 的設置頁面及最終效果如右圖所示。

搜尋引擎列表

  • Google Translate
    https://translate.google.com/?sl=auto&tl=en&text=%s&op=translate
  • DeepL Translate
    https://www.deepl.com/translator#auto/zh/%s
  • Bing Dict
    https://cn.bing.com/dict/search?qs=ds&form=Z9LH5&q=%s
  • Google Dict
    https://www.google.com/search?q=define:%s
  • Wiktionary
    https://en.wiktionary.org/w/index.php?title=Special%3ASearch&search=%s
  • Wikipedia
    https://en.wikipedia.org/w/index.php?title=Special%3ASearch&search=%s
  • 維基百科
    https://zh.wikipedia.org/w/index.php?title=Special%3ASearch&search=%s
  • YouTube
    https://www.youtube.com/results?search_query=%s
  • Twitter
    https://twitter.com/search?q=%s&f=live
  • 豆瓣圖書
    https://www.douban.com/search?cat=1001&q=%s
  • 豆瓣影劇
    https://www.douban.com/search?cat=1002&q=%s
  • 全豆瓣
    https://www.douban.com/search?q=%s
  • 中亞電子書
    https://www.amazon.cn/s?k=%s&i=stripbooks
  • IMDb
    https://www.imdb.com/find?s=all&q=%s
  • LibraryThing
    https://www.librarything.com/search.php?search=%s
  • Goodreads
    https://www.goodreads.com/search?&q=%s
  • Reddit
    https://www.reddit.com/search/?q=%s
  • Google Maps
    https://www.google.com/maps/search/%s
  • GitHub
    https://github.com/search?type=&q=%s&o=desc&s=updated
  • PyPI
    https://pypi.org/search/?q=%s
  • Firefox Add-ons (AMO)
    https://addons.mozilla.org/firefox/search/?platform=windows&q=%s&sort=relevance&type=extension
  • chrome web store
    https://chrome.google.com/webstore/search/%s?_category=extensions
  • Edge Add-ons
    https://microsoftedge.microsoft.com/addons/search/%s
  • Greasy Fork
    https://greasyfork.org/scripts?q=%s&filter_locale=0&sort=updated
  • Startpage
    https://www.startpage.com/do/dsearch?query=%s
  • Brave Search
    https://search.brave.com/search?q=%s
  • Bing Search
    https://www.bing.com/search?q=%s
  • Яндекс
    https://yandex.com/search/?text=%s
  • DuckDuckGo
    https://duckduckgo.com/?q=%s
  • Yahoo Search
    https://search.yahoo.com/search?p=%s
  • Libgen
    https://libgen.is/search.php?req=%s&res=100

其他注意事項

上方列表的第一項 『Bing Dict』 在單次瀏覽器會話中的第一次使用一定會是失敗的(失敗的效果就是 Bing 告訴你什麼都沒搜到),這時候需要在失敗的頁面上等待,不要刷新,就乾等,等待大概 20 到 30 秒(等 30 秒是最保險的),看到整個頁面完全加載完了,然後關掉這個標籤頁。後續的搜索就不會失敗了。

同樣還是 『Bing Dict』. 如果不想看到搜索結果里的小圖片部分,則可以把 bing.com##.img_area 手動添加到 uBlock Origin 的設置中,如果不想看到下方例句中畫蛇添足的全句拼音標註,則可以把 bing.com##.b_regtxt.sen_ime 手動添加到 uBlock Origin 的設置中。再配合 uBlock Origin 本來就能夠屏蔽的廣告部分,Bing Dict 可以說是目前能夠找得到的最清爽的中英查詞網站了。

除此之外,上方列表中還有一些搜尋引擎被加入了限定條件以及排序規則,比如 Twitter 按時間 (&f=live), GitHub 按更新時間 (&o=desc&s=updated), AMO 按相關性 (&sort=relevance) 並指定了平台為 Windows (platform=windows), chrome web store 指定了搜索類別為擴展 (_category=extensions), 以及 Greasy Fork 指定了按更新時間排序 (&sort=updated) 並進行全語種搜索 (&filter_locale=0). 如果不喜歡這些限定條件或者排序規則,只要去掉相應的連結「塊」就好了。

當然也可以改,比如把 Greasy Fork 的按更新時間排序 (&sort=updated) 改為按評分 (&sort=ratings), 或者直接刪去這一「塊」,即為默認的按每日安裝量排序。

但是我之所以加入這些限定條件或者排序規則並不是沒有原因的。比如給 GitHub 和 Greasy Fork 都加入了按更新時間排序但是卻沒有給 PyPI 加,是因為在實踐中我發現給 GitHub 和 Greasy Fork 加但不給 PyPI 加「按更新時間排序」在絕大多數情況下都是最好的「預設值」。

還有一點就是,其實那個 『Google Dict』 和普通的 『Google’ 也沒什麼差,因為早在 2011 年 Google 就把 Google Dictionary 完全地融入到了 Google Search 中了。不過,在實踐中我發現,如果你加入 『define:』 這個搜索口令(也就是這裏所謂的 Google Dict),則 Google 會優先給你返回很多網絡詞典的搜索結果。因此也還算是有一點用處。而且當在搜索中加入 『define:』 口令後,後面的內容即使含帶空格也無需用笨引號引起來(如果你想做一次「精準匹配」搜索的話),因為有了 『define:』 口令,Google 就自動默認後面的全都是一個要查的詞(組)。