(在Mozine论坛上发过的文章,可能有人不知道再发一下吧。) 有部分Linux用户报告安装greasemonkey时系统报错阻止安装,如下图: 经查证,是由于配置文件config.xml的默认权限设置造成的。 该文件位于~/.mozilla/firefox/.default/gm_scripts/。 在终端下,改变至上述路径,然后输入下列命令就可解决问题: chmod 600 config.xml 希望对Linux用户有所帮助。 (图看不清的话可以看这里 http://forums.mozine.cn/index...
by Seamy - Linux文档专区 - 2007-02-26 20:34:21 阅读(733) 回复(0)
// // ==UserScript== // @name A // @namespace http://dd // @description change s // @include http://* // @include https://* // ==/UserScript== function addGlobalStyle(css) { var head, style; head = document.getElementsByTagName('head')[0]; if (!head) { return; } style = document.createElement('style'); style.type = 'text/css'; style.inner...
妙用 greasemonkey 扩展,使 Firefox 正常浏览 BT @ China 联盟网站 2006-06-15 Toy Posted in Tutorials RSS Trackback 曾几何时, Firefox 无法正常浏览 BT @ China 联盟 网站,一度成为困扰众多 BT 粉丝的难题。现在,终于有人提出了解决方案。 一、greasemonkey 扩展简介及安装 greasemonkey 这个 Firefox 扩展允许你将 DHTML(即“用户脚本”)添加到网页上以改变其行为。你可以通过点击 这里...