在最新版FirefoxFF5、FF6中使用FireGestures手勢外掛程式

來源:互聯網
上載者:User

個人覺得FireGestures
是最好用的手勢外掛程式,比chrome、maxthon、opera的都好用。

所以無論Firefox官網發新聞還是發微博說FF5出來了什麼的,本著“不能用手勢就不更新”的原則,用了FF4很久了。

 

今天周末OT,同時說手勢外掛程式寫著:

Latest Version: 1.6.5
Released on: 2011-06-18
Works with: Firefox 3.5 - 5.*

 

結果到了官網外掛程式頁面
,還是不能在5.0上用。

這下真的怒了,先到github上確認原始碼是支援5.0
。作者也夠狠啊,就改了兩個字元。

 

再來就是問問google:how to build firefox addons
。好了,終於找到一個只需要7-zip就可以構建的例子

 

不過原檔案中的build.bat在我的電腦上無法把firegestures外掛程式正確編譯,所以做了一下修改:

set path=D:/Soft/7-Zip;%path%<br />set x=firegestures<br />xcopy %x% build /i /e<br />REM xcopy build/content build/chrome/content /i /e<br />REM xcopy build/locale build/chrome/locale /i /e<br />REM xcopy build/skin build/chrome/skin /i /e<br />REM rmdir /s /q build/content<br />REM rmdir /s /q build/locale<br />REM rmdir /s /q build/skin<br />REM cd build/chrome<br />REM 7z a -tzip "%x%.jar" * -r -mx=0<br />REM cd ../..<br />REM rmdir /s /q build/chrome/content<br />REM rmdir /s /q build/chrome/locale<br />REM rmdir /s /q build/chrome/skin<br />replace chrome.manifest build<br />cd build<br />7z a -tzip "%x%.xpi" * -r -mx=9<br />cd ..<br />move build/%x%.xpi %x%.xpi<br />rmdir /s /q build<br />pause<br />

 

產生的.xpi檔案很容易安裝,在FF中按下ctrl+shift+a(外掛程式管理),再把xpi拖進去就可以了。

網友提醒,我上傳了自己的build目錄,http://download.csdn.net/source/3378206,目錄裡的xpi檔案是支援FF6.0、5.0安裝的。

 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.