首頁 美術繪圖 | 美術設計 | 熱門標籤 | 首選 | 首頁宣傳 | 近期作品 論壇: 發表 | 美術工作 | 美術比賽 | 展覽活動 | 美術相關 | 一般討論 | 美術同好 CG 討論 :: Photoshop | Painter | 3D 行動 | AMP

【 立即註冊 】 : 更改個人資料 : : 登入

會員名稱: 登入密碼: 保持登入

Build Your Firefox 4 Search Plugins Bar

發表新主題 回覆主題 討論區 Windows, Linux, Perl, PHP, C/C++, Driver, Web 理論、應用、硬體、軟體

| 1頁, 共1
人氣點閱:4780 發表人
Build Your Firefox 4 Search Plugins Bar 2011-04-17 18:36
/ / /

Customized your own Firefox 3/4 Search Bar Plug-In



1. Locate Firefox Search Plug-In Folder



Windows: C:\Program Files\Mozilla Firefox\searchplugins\
Linux: /usr/lib/firefox-4.X.X/searchplugins/

There are some default built-in XML in it,
you could duplicate and revise them to meet your need.


2. Build your OWN icon by base64 encode (Optional)



Get your website's favoicon or your logo gif file,
then base64-encode it.

引言回覆:

# ls favicon.ico
-rw-r--r-- 1 user user 318 2003-06-26 19:33 favicon.ico
#
# base64 favicon.ico
AAABAAEAEBAQAAEABAAoAQAAFgAAACgAAAAQAAAAIAAAAAEABAAAA
AAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAANQA////AAAAwAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAEAIiAAAAAAEAEREREREREAEAEQEAAAAQAQAAAQAAABABAQ
ABAREAEAEBEAEBEQAQAQEQAQAAABABARABAAAAEAEBEAAREREAAQ
AQAAAAAAABABAAAREAAAEAAAEAEAAAAQAQARAAARABERERAAEREA
ARERERERAAEAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA


Note: these base64 are __without__ CR/LF/Space.

3. Build Your OWN Search Page



You could use Google Custom Search or Google AdSense Search
Google Custom Search: http://www.google.com/cse/
Google Adsense Search: https://www.google.com/adsense/report/overview


4. Build Your OWN XML by revise one of XML



Revise the ShortName/Description/InputEncoding/Image/Url/SearchForm
to meet your needed.

e.g. Paste base64 encoded code into Image-XML-Field from step-2

NOTE: These filed (includes tag or value) __must__ be "Case-Sensitive".

代碼:

<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
<ShortName>小哈搜尋</ShortName>
<Description>小哈搜尋</Description>
<InputEncoding>UTF-8</InputEncoding>
<Image width="16" height="16">data:image/gif;...SKIP...</Image>
<Url type="text/html" method="GET" template="https://vovo2000.com/utils/search-result/">
    <Param name="q" value="{searchTerms}"/>
   <Param name="cx" value="partner-pub-8334843251678223:1729803172"/>
   <Param name="cof" value="FORID:10"/>
   <Param name="ie" value="utf-8"/>
    <Param name="sa" value="搜尋"/>
</Url>
<SearchForm>https://vovo2000.com/utils/search-all/</SearchForm>
</SearchPlugin>



Note: AGAIN, the base64 Image-XML-tag are "contiguous" without CR/LF/Space.



5. Copy the XML file into the searchplugins folder mentioned above



Edit it and save it into the folder.

6. Restart Firefox 4



Then, you could see the your personal Firefox Plug-Ins!

Note: These steps may too work well under Firefox 3 / 3.5 / 3.6 / 4.0
vovo-zh-TW-XML.jpg
vovo-zh-TW-XML.jpg


Vovo2000-Com-Customized-Search-Bar.jpg
Vovo2000-Com-Customized-Search-Bar.jpg



________________

美術插畫設計案子報價系統 v0.1 Beta
爪哇禾雀
Type



繪圖畫廊設計藝廊
攝影相簿留言板
最愛收藏分類標籤
暱稱: Type
註冊: 2002-11-30
發表: 11177
來自: vovo2000.com
V幣: 901776
Re: Build Your Firefox 4 Search Plugins Bar 2011-04-20 22:24
/ / /

Example Download
=> https://docs.google.com/a/vovo2000.com/leaf?id=0BwwsJcOhwf0PZWY1YWMwODAtZTg0Zi00NjliLTlmN2ItZDM0ZWI2OWFkODYx&sort=name&layout=list&num=50
________________

美術插畫設計案子報價系統 v0.1 Beta
爪哇禾雀
Type



繪圖畫廊設計藝廊
攝影相簿留言板
最愛收藏分類標籤
暱稱: Type
註冊: 2002-11-30
發表: 11177
來自: vovo2000.com
V幣: 901776
Re: Build Your Firefox 4 Search Plugins Bar 2013-03-10 21:49
/ / /

代碼:

<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
<ShortName>小哈搜尋</ShortName>
<Description>小哈搜尋</Description>
<InputEncoding>UTF-8</InputEncoding>
<Image width="16" height="16">data:image/gif;base64,AAABAAEAEBAQAAEABAAoAQAAFgAAACgAAAAQAAAAIAAAAAEABAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAANQA////AAAA/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAIiAAAAAAEAEREREREREAEAEQEAAAAQAQAAAQAAABABAQABAREAEAEBEAEBEQAQAQEQAQAAABABARABAAAAEAEBEAAREREAAQAQAAAAAAABABAAAREAAAEAAAEAEAAAAQAQARAAARABERERAAEREAARERERERAAEAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA</Image>
<Url type="text/html" method="GET" template="https://vovo2000.com/utils/search-result/">
    <Param name="q" value="{searchTerms}"/>
   <Param name="cx" value="partner-pub-8334843251678223:1729803172"/>
   <Param name="cof" value="FORID:10"/>
   <Param name="ie" value="utf-8"/>
    <Param name="sa" value="搜尋"/>
</Url>
<SearchForm>https://vovo2000.com/utils/search-all/</SearchForm>
</SearchPlugin>

________________

美術插畫設計案子報價系統 v0.1 Beta
爪哇禾雀
Type



繪圖畫廊設計藝廊
攝影相簿留言板
最愛收藏分類標籤
暱稱: Type
註冊: 2002-11-30
發表: 11177
來自: vovo2000.com
V幣: 901776





資訊相關理論、技術、管理、應用、產品等
發表新主題 回覆主題