超过三行显示...兼容火狐_如何强制扩展与Firefox 3.6+的兼容性

超过三行显示...兼容火狐

超过三行显示...兼容火狐

If you’ve already upgraded to Firefox 3.6, you might have noticed that many of your extensions no longer work, and the old checkCompatibility trick doesn’t work anymore. Or does it?

如果您已经升级到Firefox 3.6,您可能已经注意到许多扩展不再起作用,并且旧的checkCompatibility技巧不再起作用。 还是呢?

Thanks to my good buddy Daniel for pointing out the change in Firefox 3.6. His personal blog is so nerdy it will make your head explode.

感谢我的好伙伴Daniel指出了Firefox 3.6中的更改。 他的个人博客如此书呆子,会使您的头部爆炸。

Force Extension Compatibility with Firefox 3.6+

强制与Firefox 3.6+兼容

This is the error you get when you try and install an extension that isn’t compatible. Pay special attention to the Firefox version string, as we’ll need that later.

这是您尝试安装不兼容的扩展程序时遇到的错误。 请特别注意Firefox版本字符串,因为稍后将需要它。

image

Type about:config into the address bar, and then after clicking through the warning, you’ll want to right-click in the list and choose New –> Boolean from the menu.

在地址栏中输入about:config ,然后在单击警告后,右键单击列表,然后从菜单中选择New –> Boolean。

image

Now we’ll be prompted to enter the preference name. This is where you need to pay attention to the exact version you are using, because the preference has to be set for the exact version of Firefox you are using.

现在将提示我们输入首选项名称。 在这里,您需要注意所使用的确切版本,因为必须为所使用的Firefox的确切版本设置首选项。

We’re using Firefox 3.6b3, as noted in the error message above, so the preference would be the following… note the capital C there, very important.

正如上面的错误消息所述,我们使用的是Firefox 3.6b3,因此首选参数如下:注意此处的大写C,非常重要。

Update: For the current Firefox 3.6 release candidate you’ll need the following:

更新:对于当前的Firefox 3.6候选版本,您需要以下内容:

extensions.checkCompatibility.3.6

extensions.checkCompatibility.3.6

Basically the format is extensions.checkCompatibility.VERSION.b for Beta releases or extensions.checkCompatibility.VERSION.a for Alpha releases. So if you were testing out Firefox 3.8 Alpha, you’d use extensions.checkCompatibility.3.8a as the preference name.

基本上,对于Beta版本,格式为extensions.checkCompatibility.VERSION.b;对于Alpha版本,格式为extensions.checkCompatibility.VERSION.a。 因此,如果您正在测试Firefox 3.8 Alpha,则可以使用extensions.checkCompatibility.3.8a作为首选项名称。

image

Yeah, that wasn’t the simplest thing. On the next dialog, just choose “false” and close the dialog.

是的,那不是最简单的事情。 在下一个对话框中,只需选择“ false”,然后关闭对话框即可。

image

You should now see the value in the list if you filter for it.

如果您对此进行过滤,现在应该在列表中看到该值。

image

And your extensions should now install. If they don’t, then you probably put the wrong version into the preference name.

现在,您的扩展程序应该已安装。 如果不是,则您可能在首选项名称中输入了错误的版本。

image

Definitely a very useful tip, and one that I suspect I’ll be using all the time.

绝对是一个非常有用的技巧,我怀疑我会一直使用它。

翻译自: https://www.howtogeek.com/howto/6697/how-to-force-extension-compatibility-with-firefox-3.6/

超过三行显示...兼容火狐