为Firefox写了一个简单的user script,用于替换Gmail左上角链接栏,效果如下:
![]()
主要是原来链接栏里各个链接都有id,用document.getElementById就找到了,再找其parentNode,把innerHTML替换就可以了。
这里是源代码。想用的话,把替换文本换成自己合适的就行。
先安装GreaseMonkey,然后点击上面用户代码的链接,就会提示安装。
This entry was posted
on Wednesday, October 4th, 2006 at 9:23 pm and is filed under Firefox, Javascript.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.
装上了,呵呵,我把所有http替换成https访问。非常感谢!