如何恢复Firebug旧版本? [英] How to revert Firebug to old version?

查看:135
本文介绍了如何恢复Firebug旧版本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我今天打开了一个Firefox,点击了Firebug按钮,它显示我在新版本中已经集成到了开发者工具中。



并意识到它根本不起作用(每次使用检查元素 元素< body> 元素被选中时)。所以我想恢复设置,但我无法找到切换它。我试图重新安装Firebug,但该设置存储在某处,所以它会自动启动DevTools,而不是Firebug。

任何帮助如何恢复到经典的Firebug? p>

解决方案

正如我在Firebug讨论组中所写的那样,在检查的实际元素是一个bug之前,先选择< body> 元素而且我已经提交了一个错误报告



还有一个使用Firebug检查元素选项,这会打开DevTools,但实际上不会选择检查的元素。这个bug在Firebug 2.0.19中通过删除选项得到了修复(所以只剩下 Inspect Element 选项,如上所述)。



<如我对相关主题的回答中所述,您可以通过设置首选项<$ c来重新启用Firebug $ c> browser.tabs.remote.autostart , browser.tabs.remote.autostart.1 browser.tabs .remote.autostart.2 通过 about:config



这些设置控制Firefox是否工作在多进程模式(其UI和单独的进程网站)。不幸的是,Firebug与该模式不兼容。



注意:这是一个临时解决方案,因为多进程模式在某些时候是强制的和偏好将被删除。此外,从仅限Firefox 57 WebExtensions 将被支持,Firebug是基于不同的API,所以它肯定不会再工作了。



另一种方法是安装旧版本的Firefox ,比如48,禁用自动更新并在那里安装Firebug。虽然如此,这个选项不值得推荐(至少不是长期的),因为你会错过重要的(安全性)错误修复和新功能。


I've opened a Firefox today, hit the Firebug button and it showed me that in the new version it is integrated into the developer tools.

I hit ok and realized that it doesn't work at all (everytime using Inspect Element the <body> element is selected). So I would like to revert that setup back, but I cannot find where to switch it. I tried to reinstall Firebug, but that setup is stored somewhere so it automatically starts the DevTools instead of Firebug.

Any help how to revert back to the classic Firebug?

解决方案

As I wrote in the Firebug discussion group, that the <body> element is selected first before the actual element you inspected is a bug and I've already filed a bug report for it.

There is also a bug related to the Inspect Element with Firebug option, which opens the DevTools, but doesn't actually select the inspected element. This bug got fixed in Firebug 2.0.19 by removing the option (so there's just the Inspect Element option left, which works as explained above).

As mentioned in my answer to a related thread, you may be able to reenable Firebug by setting the preferences browser.tabs.remote.autostart, browser.tabs.remote.autostart.1 and browser.tabs.remote.autostart.2 to false via about:config.

These settings control whether Firefox works in multi-process mode (separate processes for its UI and the websites). Unfortunately Firebug is incompatible with that mode.

Note: This is a temporary solution, because the multi-process mode will be mandatory at some point and the preference will be removed. Also, starting from Firefox 57 only WebExtensions will be supported and Firebug is based on different APIs, so it definitely won't work anymore at that point.

Another way is to install an old version of Firefox like 48, disable automatic updates and install Firebug there. Though, having said that, this option is not recommendable (at least not long term), because you will miss important (security) bug fixes and new features.

这篇关于如何恢复Firebug旧版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆