Customize Google: Difference between revisions

From LemonWiki共筆
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(73 intermediate revisions by 18 users not shown)
Line 1: Line 1:
須事先安裝
{{Semi-protected}}
# [http://moztw.org Mozilla FireFox]
 
# 安裝擴充套件: [http://greasemonkey.mozdev.org/ mozdev.org - greasemonkey: index]
目的:
# 設定 [http://www.customizegoogle.com/ CustomizeGoogle.com] 提供的script 選項
* 在Google檢索結果的頁面提供其他連結到指定的檔案型態、Google Scholar與其他搜尋引擎
# 安裝 [http://www.customizegoogle.com/ CustomizeGoogle.com] 提供的script (在scipt輸出的頁面,點選 Firefox 工具 -> Install User Script)
* 已有'''替代選擇''': 使用Google工具列3.0.x+的自訂搜尋按鈕,詳[http://www.google.com/tools/toolbar/buttons/intl/zh-TW/apis/started.html 說明]
# 將JS副檔名的開啟方式,指到你常用的文字編輯軟體, 例如Macromedia Dreamweaver等
 
# 視情況修改customizegoogle.user.js
 
== 安裝程序 ==
# 須事先安裝[http://moztw.org Mozilla FireFox]
# 安裝擴充套件: [http://www.customizegoogle.com/ CustomizeGoogle.com][https://addons.mozilla.org/extensions/moreinfo.php?application=firefox&id=743] ([http://customizegoogle.blogspot.com/ blog], [http://groups.google.com/group/CustomizeGoogle Groups])
# 安裝完擴充套件,重新開啟FireFox,才會啟用擴充套件功能
 
== 自訂其他搜尋引擎 ==
目前最新版(v0.20以後)的擴充套件尚未支援自訂其他搜尋引擎。安裝好會提供連結到其他搜尋引擎Yahoo, Ask Jeeves, AllTheWeb, Teoma, MSN, Lycos, Technorati, Feedster, Bloglines, Altavista
 
此處是舊版CustomizeGoogle v0.17 BETA! ([http://planetoid.info/weblog/archives/customizegoogle_0.17beta.user.js user script])的設定,但注意'''相容性'''注意事項
* 可以使用的:
** CustomizeGoogle v0.17 BETA! (user script) + Greasemonkey 0.5.3 + MozillaFirefox 1.0.7
** [http://diveintomark.org/projects/butler/ Butler] 0.3 + Greasemonkey 0.5.3 + MozillaFirefox 1.0.7 (中文處理有問題)
* 無法使用的: user script + Greasemonkey 0.6.4 + MozillaFirefox 1.5
 
舊版CustomizeGoogle v0.17 BETA! (user script)更改方式
# 編輯 C:\Documents and Settings\使用者帳號\Application Data\Mozilla\Firefox\Profiles\亂數.profile名稱\extensions\{亂數}\chrome\'''customizegoogle'''\content\javascript.js
# 儲存javascript.js ,將網頁重新整理即可生效


以下是我的修改
以下是我的修改
<pre>
<pre>


// ==/UserScript==
var CustomizeGoogleServices = {
(function() {
    var CustomizeGoogleServices = {
_otherWebSearches: function(q) {
_otherWebSearches: function(q) {
    var s = '';
    var s = '';
    s += '<a href="http://www.google.com.tw/search?le=en&ie=UTF-8&oe=utf-8&q=' + q + '&btnG=Google+Search&num=20&sourceid=Mozilla-search&client=firefox-a&rls=org.mozilla:zh-TW:official&as_filetype=pdf">.PDF</a>, ';
    s += 'Google( <a href="http://www.google.com/search?le=en&ie=UTF-8&oe=utf-8&q=' + q + '">Eng</a> | ';
    s += '<a href="http://www.google.com.tw/search?le=en&ie=UTF-8&oe=utf-8&q=' + q + '&btnG=Google+Search&num=20&sourceid=Mozilla-search&client=firefox-a&rls=org.mozilla:zh-TW:official&as_filetype=ppt">.PPT</a>, ';
    s += '<a href="http://www.google.com/search?le=en&ie=UTF-8&oe=utf-8&q=' + q + '">TW</a> , ';
    s += '<a href="http://www.google.com/search?le=en&ie=UTF-8&oe=utf-8&q=' + q + '&btnG=%E6%90%9C%E5%B0%8B&meta=lr%3Dlang_zh-TW">>></a>), ';
    s += '<a href="http://www.google.com/search?le=en&ie=UTF-8&oe=utf-8&q=' + q + '&btnG=Google+Search&num=20&sourceid=Mozilla-search&client=firefox-a&rls=org.mozilla:zh-TW:official&as_filetype=pdf">.PDF</a>, ';
    s += '<a href="http://www.google.com/search?le=en&ie=UTF-8&oe=utf-8&q=' + q + '&btnG=Google+Search&num=20&sourceid=Mozilla-search&client=firefox-a&rls=org.mozilla:zh-TW:official&as_filetype=ppt">.PPT</a>, ';
    s += '<a href="http://scholar.google.com/scholar?q=' + q + '&ie=UTF-8&oe=UTF-8&hl=en&btnG=Search">Google Scholar</a>, ';
    s += '<a href="http://scholar.google.com/scholar?q=' + q + '&ie=UTF-8&oe=UTF-8&hl=en&btnG=Search">Google Scholar</a>, ';
    s += '<a href="http://search.yahoo.com/search?p=' + q + '&ei=UTF-8">Yahoo</a>, ';
    s += '<a href="http://etds.ncl.edu.tw/theabs/site/sh/search_result.jsp?form_name=sim_search&mode=0&input_str=' + q + '&query=%E6%9F%A5%E8%A9%A2&TI=checkbox&AU=checkbox&AD=checkbox&KW=checkbox">ThesisTW</a>, ';
    s += '<a href="http://citeseer.ist.psu.edu/cis?q=' + q + '&submit=Search+Citations&cs=1">CiteSeer</a>, ';
    s += '<a href="http://opac.lib.ntnu.edu.tw/search*cht/t?SEARCH=' + q + '">NTNUlib</a>, ';
    s += '<a href="http://www.cs.northwestern.edu/~agupta/cgi-bin/rainbow.cgi?query=' + q + '">DoubleTrust</a>, ';
//     s += '<a href="http://search.yahoo.com/search?p=' + q + '&ei=UTF-8">Yahoo</a>, ';
    s += '<a href="http://tw.search.yahoo.com/search?p=' + q + '&ei=UTF-8">YahooTW</a>, ';
    s += '<a href="http://tw.search.yahoo.com/search?p=' + q + '&ei=UTF-8">YahooTW</a>, ';
    s += '<a href="http://www.openfind.com.tw/cgi-bin/tw/webquery?query=' + q + '&Function=search&f=main&redirect=ON&type=image&ServiceID=0">Openfind</a>, ';
    s += '<a href="http://tw.knowledge.yahoo.com/search/search_result?p=' + q + '&ei=UTF-8">YahooKM</a>, ';
    s += '<a href="http://search.books.com.tw/exep/openfind_book.php?key=' + q + '&page=0&sort=1">Books</a>, ';
    s += '<a href="http://a9.com/' + q + '?a=sbooks">A9</a>, ';
    s += '<a href="http://web.ask.com/web?q=' + q + '">Ask Jeeves</a>, ';
    s += '<a href="http://web.ask.com/web?q=' + q + '">Ask Jeeves</a>, ';
//     s += '<a href="http://www.alltheweb.com/search?q=' + q + '&cs=utf-8">AllTheWeb</a>, ';
//     s += '<a href="http://www.alltheweb.com/search?q=' + q + '&cs=utf-8">AllTheWeb</a>, ';
Line 37: Line 61:
</pre>
</pre>


注意:因為Openfine需使用Big5編碼的中文,所以此處僅能使用英文字串進行搜尋。
注意:ThesisTW, Books, NTNUlib目前尚無法直接使用中文查詢,所以此處僅能使用英文字串進行搜尋,建議改用[http://wiki.moztw.org/index.php?title=Make_your_own_Search_Plugin Search Plugins]方式處理。
 
 
 
 
 
== Recommendation for CustomizeGoogle v0.23 ==
{customizegoogle}\locale\en-US\urls.rdf
# Google Taiwan http://www.google.com.tw/search?le=en&ie=UTF-8&oe=utf-8&q=[QUERY]
# Google Taiwan (Chinese result only) http://www.google.com.tw/search?le=en&ie=UTF-8&oe=utf-8&q=[QUERY]&btnG=%E6%90%9C%E5%B0%8B&meta=lr%3Dlang_zh-TW
 
find citations easier
# Google .PDF http://www.google.com/search?le=en&ie=UTF-8&oe=utf-8&q=[QUERY]&btnG=Google+Search&num=20&sourceid=Mozilla-search&client=firefox-a&rls=org.mozilla:zh-TW:official&as_filetype=pdf
# Google .PPT http://www.google.com/search?le=en&ie=UTF-8&oe=utf-8&q=[QUERY]&btnG=Google+Search&num=20&sourceid=Mozilla-search&client=firefox-a&rls=org.mozilla:zh-TW:official&as_filetype=ppt
# Google Scholar http://scholar.google.com/scholar?q=[QUERY]&ie=UTF-8&oe=UTF-8&hl=en&btnG=Search
# ThesisTW href="http://etds.ncl.edu.tw/theabs/site/sh/search_result.jsp?form_name=sim_search&mode=0&input_str=[QUERY]&query=%E6%9F%A5%E8%A9%A2&TI=checkbox&AU=checkbox&AD=checkbox&KW=checkbox
# CiteSeer http://citeseer.ist.psu.edu/cis?q=[QUERY]&submit=Search+Citations&cs=1
# NTNUlib http://opac.lib.ntnu.edu.tw/search*cht/t?SEARCH=[QUERY]
# DoubleTrust http://www.cs.northwestern.edu/~agupta/cgi-bin/rainbow.cgi?query=[QUERY]
# YahooTW http://tw.search.yahoo.com/search?p=[QUERY]&ei=UTF-8
# YahooKM http://tw.knowledge.yahoo.com/search/search_result?p=[QUERY]&ei=UTF-8
 
 
find books
# Books http://search.books.com.tw/exep/openfind_book.php?key=[QUERY]&page=0&sort=1
# A9 http://a9.com/[QUERY]?a=sbooks
 
another [[Cluster Search Engine|cluster search engine]]
# Vivisimo http://vivisimo.com/search?tb=homepage&query=[QUERY]&v%3Asources=Web
 
social search engine
# Zniff http://zniff.com/?s=[QUERY]&meta=on
 
 


[[Category:Mozilla]] [[Category:Search]] [[Category:Research]]
[[Category:Mozilla]] [[Category:Search]] [[Category:Academic]] [[Category:Google]]

Latest revision as of 06:40, 13 March 2010

目的:

  • 在Google檢索結果的頁面提供其他連結到指定的檔案型態、Google Scholar與其他搜尋引擎
  • 已有替代選擇: 使用Google工具列3.0.x+的自訂搜尋按鈕,詳說明


安裝程序

  1. 須事先安裝Mozilla FireFox
  2. 安裝擴充套件: CustomizeGoogle.com[1] (blog, Groups)
  3. 安裝完擴充套件,重新開啟FireFox,才會啟用擴充套件功能

自訂其他搜尋引擎

目前最新版(v0.20以後)的擴充套件尚未支援自訂其他搜尋引擎。安裝好會提供連結到其他搜尋引擎Yahoo, Ask Jeeves, AllTheWeb, Teoma, MSN, Lycos, Technorati, Feedster, Bloglines, Altavista

此處是舊版CustomizeGoogle v0.17 BETA! (user script)的設定,但注意相容性注意事項

  • 可以使用的:
    • CustomizeGoogle v0.17 BETA! (user script) + Greasemonkey 0.5.3 + MozillaFirefox 1.0.7
    • Butler 0.3 + Greasemonkey 0.5.3 + MozillaFirefox 1.0.7 (中文處理有問題)
  • 無法使用的: user script + Greasemonkey 0.6.4 + MozillaFirefox 1.5

舊版CustomizeGoogle v0.17 BETA! (user script)更改方式

  1. 編輯 C:\Documents and Settings\使用者帳號\Application Data\Mozilla\Firefox\Profiles\亂數.profile名稱\extensions\{亂數}\chrome\customizegoogle\content\javascript.js
  2. 儲存javascript.js ,將網頁重新整理即可生效

以下是我的修改


var CustomizeGoogleServices = {
	_otherWebSearches: function(q) {
	    var s = '';
	    s += 'Google( <a href="http://www.google.com/search?le=en&ie=UTF-8&oe=utf-8&q=' + q + '">Eng</a> | ';
	    s += '<a href="http://www.google.com/search?le=en&ie=UTF-8&oe=utf-8&q=' + q + '">TW</a> , ';
	    s += '<a href="http://www.google.com/search?le=en&ie=UTF-8&oe=utf-8&q=' + q + '&btnG=%E6%90%9C%E5%B0%8B&meta=lr%3Dlang_zh-TW">>></a>), ';
	    s += '<a href="http://www.google.com/search?le=en&ie=UTF-8&oe=utf-8&q=' + q + '&btnG=Google+Search&num=20&sourceid=Mozilla-search&client=firefox-a&rls=org.mozilla:zh-TW:official&as_filetype=pdf">.PDF</a>, ';
	    s += '<a href="http://www.google.com/search?le=en&ie=UTF-8&oe=utf-8&q=' + q + '&btnG=Google+Search&num=20&sourceid=Mozilla-search&client=firefox-a&rls=org.mozilla:zh-TW:official&as_filetype=ppt">.PPT</a>, ';
	    s += '<a href="http://scholar.google.com/scholar?q=' + q + '&ie=UTF-8&oe=UTF-8&hl=en&btnG=Search">Google Scholar</a>, ';
	    s += '<a href="http://etds.ncl.edu.tw/theabs/site/sh/search_result.jsp?form_name=sim_search&mode=0&input_str=' + q + '&query=%E6%9F%A5%E8%A9%A2&TI=checkbox&AU=checkbox&AD=checkbox&KW=checkbox">ThesisTW</a>, ';
	    s += '<a href="http://citeseer.ist.psu.edu/cis?q=' + q + '&submit=Search+Citations&cs=1">CiteSeer</a>, ';
	    s += '<a href="http://opac.lib.ntnu.edu.tw/search*cht/t?SEARCH=' + q + '">NTNUlib</a>, ';	
	    s += '<a href="http://www.cs.northwestern.edu/~agupta/cgi-bin/rainbow.cgi?query=' + q + '">DoubleTrust</a>, ';
//	    s += '<a href="http://search.yahoo.com/search?p=' + q + '&ei=UTF-8">Yahoo</a>, ';
	    s += '<a href="http://tw.search.yahoo.com/search?p=' + q + '&ei=UTF-8">YahooTW</a>, ';
	    s += '<a href="http://tw.knowledge.yahoo.com/search/search_result?p=' + q + '&ei=UTF-8">YahooKM</a>, ';
	    s += '<a href="http://search.books.com.tw/exep/openfind_book.php?key=' + q + '&page=0&sort=1">Books</a>, ';
	    s += '<a href="http://a9.com/' + q + '?a=sbooks">A9</a>, ';
	    s += '<a href="http://web.ask.com/web?q=' + q + '">Ask Jeeves</a>, ';
//	    s += '<a href="http://www.alltheweb.com/search?q=' + q + '&cs=utf-8">AllTheWeb</a>, ';
	    s += '<a href="http://s.teoma.com/search?q=' + q + '">Teoma</a>, ';
	    s += '<a href="http://vivisimo.com/search?tb=homepage&query=' + q + '&v%3Asources=Web">Vivisimo</a>, ';		
//	    s += '<a href="http://search.msn.com/results.aspx?q=' + q + '">MSN</a>, ';
//	    s += '<a href="http://search.lycos.com/default.asp?query=' + q + '">Lycos</a>, ';
	    s += '<a href="http://www.technorati.com/cosmos/search.html?url=' + q + '">Technorati</a>, ';
	    s += '<a href="http://www.feedster.com/search.php?q=' + q + '">Feedster</a>, ';
	    s += '<a href="http://zniff.com/?s=' + q + '&meta=on">Zniff</a>, ';		
//	    s += '<a href="http://www.bloglines.com/search?t=1&q=' + q + '">Bloglines</a>, ';
//		s += '<a href="http://www.altavista.com/web/results?q=' + q + '">Altavista</a>'; 
	    return s;
	},

注意:ThesisTW, Books, NTNUlib目前尚無法直接使用中文查詢,所以此處僅能使用英文字串進行搜尋,建議改用Search Plugins方式處理。



Recommendation for CustomizeGoogle v0.23

{customizegoogle}\locale\en-US\urls.rdf

  1. Google Taiwan http://www.google.com.tw/search?le=en&ie=UTF-8&oe=utf-8&q=[QUERY]
  2. Google Taiwan (Chinese result only) http://www.google.com.tw/search?le=en&ie=UTF-8&oe=utf-8&q=[QUERY]&btnG=%E6%90%9C%E5%B0%8B&meta=lr%3Dlang_zh-TW

find citations easier

  1. Google .PDF http://www.google.com/search?le=en&ie=UTF-8&oe=utf-8&q=[QUERY]&btnG=Google+Search&num=20&sourceid=Mozilla-search&client=firefox-a&rls=org.mozilla:zh-TW:official&as_filetype=pdf
  2. Google .PPT http://www.google.com/search?le=en&ie=UTF-8&oe=utf-8&q=[QUERY]&btnG=Google+Search&num=20&sourceid=Mozilla-search&client=firefox-a&rls=org.mozilla:zh-TW:official&as_filetype=ppt
  3. Google Scholar http://scholar.google.com/scholar?q=[QUERY]&ie=UTF-8&oe=UTF-8&hl=en&btnG=Search
  4. ThesisTW href="http://etds.ncl.edu.tw/theabs/site/sh/search_result.jsp?form_name=sim_search&mode=0&input_str=[QUERY]&query=%E6%9F%A5%E8%A9%A2&TI=checkbox&AU=checkbox&AD=checkbox&KW=checkbox
  5. CiteSeer http://citeseer.ist.psu.edu/cis?q=[QUERY]&submit=Search+Citations&cs=1
  6. NTNUlib http://opac.lib.ntnu.edu.tw/search*cht/t?SEARCH=[QUERY]
  7. DoubleTrust http://www.cs.northwestern.edu/~agupta/cgi-bin/rainbow.cgi?query=[QUERY]
  8. YahooTW http://tw.search.yahoo.com/search?p=[QUERY]&ei=UTF-8
  9. YahooKM http://tw.knowledge.yahoo.com/search/search_result?p=[QUERY]&ei=UTF-8


find books

  1. Books http://search.books.com.tw/exep/openfind_book.php?key=[QUERY]&page=0&sort=1
  2. A9 http://a9.com/[QUERY]?a=sbooks

another cluster search engine

  1. Vivisimo http://vivisimo.com/search?tb=homepage&query=[QUERY]&v%3Asources=Web

social search engine

  1. Zniff http://zniff.com/?s=[QUERY]&meta=on