请输入您要查询的百科知识:

 

词条 Firebug (software)
释义

  1. Version history

     Version 2.0  Version 3.0 

  2. Features

     HTML and CSS  JavaScript Console  Extensions  FlashFirebug 

  3. See also

  4. References

  5. Further reading

  6. External links

{{Infobox software
| name = Firebug
| logo = Firebug logo.png
| logo size = 100px
| screenshot = Firebug extension screenshot.png
| screenshot size = 250px
| caption = Firebug 2.0.1 running in Firefox 30.0 under Windows 7 with the HTML panel active on the

main Wikipedia page.


| author = Joe Hewitt
| developer = {{url|https://getfirebug.com/wiki/index.php/Firebug_Working_Group|Firebug Working Group}}
| latest release version = 2.0.19[1]
| latest release date = {{Start date and age|2017|02|16}}
| programming language = JavaScript, XUL, CSS
| operating system = Cross-platform
| genre = Mozilla extension[2]
| license = New BSD License[3]
| website = {{url|https://getfirebug.com/}}
}}Firebug is a discontinued free and open-source[4] web browser extension for Mozilla Firefox[2] that facilitated the live debugging, editing, and monitoring of any website's CSS, HTML, DOM, XHR, and JavaScript.[5]

Firebug was licensed under the BSD license[3] and was initially written in January 2006 by Joe Hewitt, one of the original Firefox creators.[6] The Firebug Working Group oversees the open source development and extension of Firebug. It had two major implementations: an extension for Mozilla Firefox and a bookmarklet implementation called Firebug Lite[7] which can be used with Google Chrome.[8]

In addition to debugging web pages, Firebug was used for web security testing[9] and web page performance analysis.[10]

Firebug has been deprecated in favor of the integrated developer tools added to Firefox itself, whose functionality has been unified with those of Firebug. As Firefox 57 no longer supports XUL add-ons, Firebug is no longer compatible.[11]

Version history

Version 2.0

Firebug 2.0 introduced many new features to the Firebug extension including JavaScript syntax highlighting, pretty print for minified JavaScript code, and a DOM Event Inspector to handle all event handlers on a web page. Additionally, users can search for page elements using CSS selectors in the search bar. The debugging tool now allows users to inspect JavaScript expressions as they are evaluated. Moreover, users can inspect values returned from JavaScript functions. It also adds the ability to create new HTML attributes for existing HTML elements.[12]

Version 3.0

On November 10, 2014, Firebug 3.0 was announced and an alpha was made available to the public.[13] This version was to feature a new theme and would have focused on user experience.

Features

Firebug makes changes immediately and gives constant feedback to the user. All editors in Firebug support autocomplete.[12]

The Firebug command line accepts commands written in JavaScript. The result of executing each command is displayed in the console, appearing as hyperlinks. The Firebug application contains multiple windows, splitting related features to a common window.[14] Firebug also allows users to view the download time for individual files. It separates different types of objects, such as JavaScript files and images, and can determined which files are loaded from a browser's cache. Firebug also features the ability to examine HTTP headers and time stamps relative to when an HTTP request is made.[15] Its net panel can monitor URLs that the browser requests, such as external CSS, JavaScript, and image files.

HTML and CSS

The HTML and CSS tools allow for the inspection and editing of HTML and CSS elements on a web page.[16] Later versions of Firebug allow users to see live changes to the CSS.[12] Visualization of CSS elements is shown while inspecting HTML elements. The Firebug layout tab is used to display and manipulate CSS property values. Furthermore, users can click on any visible HTML elements on a web page to access its CSS property values.[17]

JavaScript Console

Firebug's script tab enables users to set breakpoints and step through lines of code.[18] Additionally, Firebug can navigate directly to a line of JavaScript code, watch expressions, call stacks, and launch the debugger in the event an error occurs during execution. Firebug can also log errors. Logging uses a Firebug JavaScript API. Firebug's JavaScript panel can log errors, profile function calls, and enable the developer to run arbitrary JavaScript. Firebug allows users to run JavaScript code through the command line and allows the user to log errors that occur in the JavaScript, CSS, and XML. Firebug provides a separate text editor to modify the JavaScript and see immediate results on the user's browser.

As provided in an update, the JavaScript command line features an autocomplete function. The text editor also provides the ability to write full functions. Firebug requires a user to refresh a web page in the event of a crash.

Extensions

Many extensions have been made to enhance Firebug. Since Firebug is open source, users can contribute their own extensions to the Firebug community.[19]

FlashFirebug

FlashFirebug is a paid Firebug extension[20] that helps Flash and Flex developers debug Adobe SWF files on the web. FlashFirebug was developed by O-Minds[21] and is licensed under the GPLv3.

In February 2012, O-Minds purchased the code to FlashBug,[22] a competing Firefox extension. Flashbug had extensive capabilities to parse AMF and Shared Objects objects and partially decompile Adobe SWF files directly in the browser.[22] Soon after the purchase, O-Minds integrated key features of FlashBug into FlashFirebug and retired Flashbug[23] from the AMO repository.

Currently the extension displays textual Output from trace() commands within the Adobe SWF movie,[21] a Display Tree with the hierarchy of display objects and their properties,[21] viewers for AMF and Shared Objects,[21] and a tool to modify the 3D transformation of any display object on the stage.[21]

See also

  • Flash of unstyled content
  • {{section link|Google Chrome|User interface}} (Google Chrome Inspector)
  • Internet Explorer Developer Tools
  • Opera Dragonfly
  • {{section link|Safari (web browser)|Other features}} (Web Inspector)

References

1. ^{{cite web|url=https://addons.mozilla.org/en-US/firefox/addon/firebug/versions/|title=Firebug Version History|date=2017-02-16|work=Mozilla extension}}
2. ^[https://addons.mozilla.org/en-US/firefox/addon/firebug/ Mozilla Firefox Add-on]
3. ^Overview of Firebug
4. ^[https://github.com/firebug/firebug Firebug on GitHub]
5. ^Firebug Home Page
6. ^O'Reilly Performance Tools: Appendix - Even Faster Websites
7. ^Firebug Lite Homepage
8. ^Firebug Lite for Chrome
9. ^{{Citation | last = Hope | first = Paco | last2 = Walther | first2 = Ben | title = Web Security Testing Cookbook | place = | publisher = O'Reilly Media, Inc. | year = 2008 | location = Sebastopol, CA | volume = | edition = | url = | doi = | id = | isbn = 978-0-596-51483-9}}
10. ^"High Performance Web Sites", Steve Souders, CACM, Dec, 2008.
11. ^{{Cite web|url=https://hacks.mozilla.org/2017/10/saying-goodbye-to-firebug/|title=Saying Goodbye to Firebug|website=Mozilla Hacks|language=en-US|access-date=2017-10-24}}
12. ^{{cite web|last=Odvarko|first=Jan|title=Firebug 2.0 Release|url=https://blog.getfirebug.com/2014/06/10/firebug-2-0/|publisher=Firebug Working Group|accessdate=15 October 2015}}
13. ^{{cite web|last=Odvarko|first=Jan|title=Firebug 3.0 The Next Generation|url=https://blog.getfirebug.com/2014/11/10/firebug-3-next-generation-of-firebug/|publisher=Firebug Working Group|accessdate=10 November 2014}}
14. ^Hewitt, J. (2007). Ajax debugging with firebug. Dr.Dobb's Journal, 32(2), 22-26.
15. ^What is Firebug?
16. ^{{cite web|last=Salkosuo|first=Sami|title=Debug and tune applications on the fly with Firebug|url=http://www.ibm.com/developerworks/library/wa-aj-firebug/|publisher=IBM Developer Works|accessdate=6 May 2008|date=2008-05-06}}
17. ^{{cite web|last=Zukerman|first=Erez|title=Debug Web Pages in Firefox With Firebug|url=http://www.pcworld.com/article/247356/firebug.html|publisher=PC World|accessdate=6 January 2012|date=2012-01-06}}
18. ^{{cite web|last=Suehring|first=Steve|title=Identify JavaScript Problems with Firebug|url=http://www.dummies.com/how-to/content/identify-javascript-problems-with-firebug.html|publisher=Dummies}}
19. ^[https://getfirebug.com/wiki/index.php/Firebug_Extensions List of Known Firebug Extensions]
20. ^[https://addons.mozilla.org/en-US/firefox/addon/flashfirebug FlashFirebug Add-on Page]
21. ^O-Minds FlashFirebug Product Page
22. ^[https://mariani.life/projects/flashbug/ Flashbug Project Page]
23. ^[https://addons.mozilla.org/en-US/firefox/addon/flashbug/ Flashbug Add-on Page]

Further reading

  • {{cite book|last1=Luthra|first1=Chandan|last2=Mittal|first2=Deepak|date=April 7, 2010|title=Firebug 1.5: Editing, Debugging, and Monitoring Web Pages|publisher=Packt Publishing|edition=1st|location=|page=224|isbn=978-1-84719-496-1}}

External links

  • [https://getfirebug.com/ Firebug Homepage]
{{JavaScript}}{{Mozilla}}

4 : Discontinued Firefox add-ons|JavaScript programming tools|Web scraping|Free software

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/16 19:12:03