Customize Google: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 6: Line 6:
# [http://moztw.org Mozilla FireFox]
# [http://moztw.org Mozilla FireFox]
# 安裝擴充套件: [http://www.customizegoogle.com/ CustomizeGoogle.com] v0.7
# 安裝擴充套件: [http://www.customizegoogle.com/ CustomizeGoogle.com] v0.7
# 重新開啟FireFox


更改預設的其他搜尋引擎Yahoo, Ask Jeeves, AllTheWeb, Teoma, MSN, Lycos, Technorati, Feedster, Bloglines, Altavista
更改預設的其他搜尋引擎Yahoo, Ask Jeeves, AllTheWeb, Teoma, MSN, Lycos, Technorati, Feedster, Bloglines, Altavista
# 編輯 C:\Documents and Settings\使用者帳號\Application Data\Mozilla\Firefox\Profiles\亂數.profile名稱\extensions\{亂數}\chrome\customizegoogle\content\javascript.js
# 編輯 C:\Documents and Settings\使用者帳號\Application Data\Mozilla\Firefox\Profiles\亂數.profile名稱\extensions\{亂數}\chrome\customizegoogle\content\javascript.js
 
# 儲存javascript.js ,將網頁重新整理即可生效


以下是我的修改
以下是我的修改
Line 17: Line 18:
_otherWebSearches: function(q) {
_otherWebSearches: function(q) {
    var s = '';
    var s = '';
    s += 'Google(<a href="http://www.google.com/search?le=en&ie=UTF-8&oe=utf-8&q=' + q + '">Eng</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 + '">TW</a>), ';
    s += '<a href="http://www.google.com.tw/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=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=pdf">.PDF</a>, ';

Navigation menu