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

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

问题描述

我今天打开了一个 Firefox,点击了 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.

我点击确定并意识到它根本不起作用(每次使用 Inspect Element 都会选择 元素).所以我想恢复那个设置,但我找不到在哪里切换它.我尝试重新安装 Firebug,但该设置存储在某处,因此它会自动启动 DevTools 而不是 Firebug.

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.

对如何恢复到经典 Firebug 有任何帮助吗?

Any help how to revert back to the classic Firebug?

推荐答案

As我在 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.

还有一个Inspect Element with Firebug相关的错误选项,它打开 DevTools,但实际上并没有选择被检查的元素.这个错误在 Firebug 2.0.19 中通过删除选项得到了修复(所以只剩下 Inspect Element 选项,它的工作原理如上所述).

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

我对相关主题的回答所述,您可以通过设置首选项browser.tabs.remote.autostartbrowser.tabs.remote.autostart.1browser.tabs.remote.autostart.2 通过 <代码>关于:配置.

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.

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

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.

注意:这是一个临时解决方案,因为多进程模式在某些时候将是强制性的,并且首选项将被删除.此外,从 Firefox 57 开始,仅限 WebExtensions 将被支持,并且 Firebug 基于不同的 API,所以它肯定不会在那个时候工作.

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.

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

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天全站免登陆