Firefox
Firefox - 本地修改插件和强制唱歌(Firefox - locally modify addon and mandatory singing)我一直使用快速拨号 。 使用我快速简单的随机后台脚本:
<script type="text/javascript">function changeImg() {var fullpath = "file:///C:/Users/shdow/AppData/Roaming/Mozilla/Firefox/Profiles/qwvpaoc7.default/images/";var newImgNumber =Math.floor(Math.random()*231);document.body.style.backgroundImage = 'url(' + fullpath + "wp" + newImgNumber + ".jpg" +')';}window.onload=changeImg;</script>该脚本被直接添加到文件的头部:chrome://fastdial/skin/icons/fastdial.html现在,最近强烈的强制性唱歌,Firefox禁用修改后的插件作为“无符号扩展”
我已经尝试将我的脚本添加到greasemonkey,但显然它不能在chrome上运行://
因此,每次重启firefox时,我都必须重新安装插件,并在本地修改它。 很烦人。 我有什么办法可以取回我的随机背景吗?
I've been using fast dial for ages. With my quick and simple random background script:
<script type="text/javascript">function changeImg() {var fullpath = "file:///C:/Users/shdow/AppData/Roaming/Mozilla/Firefox/Profiles/qwvpaoc7.default/images/";var newImgNumber =Math.floor(Math.random()*231);document.body.style.backgroundImage = 'url(' + fullpath + "wp" + newImgNumber + ".jpg" +')';}window.onload=changeImg;</script>The script is diretcly added to head of the file: chrome://fastdial/skin/icons/fastdial.html Now, lately with horrible mandatory singing, Firefox disables the modified addon as an 'unsigned extension'
I've tried adding my script to greasemonkey, but apperantly it doesn't run on chrome://
So, i have to reinstall the addon, and modify it locally, every time I restart firefox. Very annoying. Is there anything I can do to get back my random backgrounds?
最满意答案如果我想在Firefox中安装未签名的扩展,我有哪些选择? Developer Edition和Nightly版本的Firefox将具有禁用签名实施的设置。 还有一些特殊的非品牌版本的Release和Beta将具有此设置(请参阅,以便附加开发人员可以处理其附加组件而无需对每个构建进行签名。要禁用签名检查,您需要设置xpinstall.signatures.required首选项为“false”。在搜索框中输入Firefox的URL栏中输入about:config类型xpinstall.signatures.required双击首选项,或右键单击并选择“切换”,进行设置为假。
或者,您可以更改插件的ID,创建一个AMO帐户并将其提交以作为未列出的插件进行签名,您可以自行使用。
What are my options if I want to install unsigned extensions in Firefox? The Developer Edition and Nightly versions of Firefox will have a setting to disable signature enforcement. There are also be special unbranded versions of Release and Beta that will have this setting (see , so that add-on developers can work on their add-ons without having to sign every build. To disable signature checks, you will need to set the xpinstall.signatures.required preference to "false". type about:config into the URL bar in Firefox in the Search box type xpinstall.signatures.required double-click the preference, or right-click and selected "Toggle", to set it to false.Alternatively you can alter the addon's ID, make an AMO account and submit it for signing as unlisted addon which you can use for yourself.