Firefox - 本地修改插件和强制点唱

Firefox - locally modify addon and mandatory singing

我使用 fast dial 已经很久了。使用我快速简单的随机背景脚本:

<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 将修改后的插件禁用为 'unsigned extension'

我已经尝试将我的脚本添加到 greasemonkey,但显然 运行 chrome://

因此,每次重启 firefox 时,我都必须重新安装插件,并在本地修改它。很烦人。我可以做些什么来找回我的随机背景吗?

https://wiki.mozilla.org/Add-ons/Extension_Signing#FAQ

  • 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.

或者您可以更改插件的 ID,创建一个 AMO 帐户并将其提交以供签名,作为您可以自己使用的未列出的插件。