Skip navigation.

生活周遭

In My Circle

安装本地的firefox theme

一般firefox的extension都是打包成xpi文件的,本地的xpi文件直接用firefox打开就行了。可是firefox的theme却是打包成标准的jar文件的,直接打开本地的jar就不行了。简单的放在一个html文件的a标签内也不行,就变成下载了。
theme的安装需要一段javascript代码,这段代码可以直接从mozilla的add-on下载站引用就行了。以本地的TangoFF_2_0.jar为例,可以这么做,写一个简单的html文件,也不必求完整:
<head>
<script src="http://addons.mozine.org/js/install.js" type="text/javascript"></script>
</head>

<a href="./TangoFF_2_0.jar" 
   onclick="return installTheme(event,'TangoFF 2.0', 'images/default.png');" >
 Install Theme Tango for Firefox 2.0
</a>

然后用Firefox打开,点机连接就可以了~

夜宴?晚饭。用p4命令行作打包修改中的changelist

Comments

Anonymous 14. November 2006, 01:28

Marco von Hagen writes:

Dear Leira,

wanted to say thank you for you help installin TangoFF 2.0.

worked perfect, even if I only could understand the code.

Have a nice day

Marco

Anonymous 27. January 2007, 10:55

Anonymous writes:

It works,
thx

How to use Quote function:

  1. Select some text
  2. Click on the Quote link

Write a comment

Comment
(BBcode and HTML is turned off for anonymous user comments.)

If you can't read the words, press the small reload icon.


Smilies

December 2009
S M T W T F S
November 2009January 2010
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31