11.1.1 enable and disable firebug
Enter "www.google.cn" in the Firefox address bar.
", After the page is loaded, click the firebug control icon in the lower right corner, or press the F12 key to open the firebug window shown in 11.6.
|
(Click to view the big picture) Figure 11.6 firebug window |
If you do not like this method, you can click the Option Button in the upper-right corner of the firebug window or press Ctrl + F12 before opening the window to change the window mode to the pop-up window mode.
As shown in figure 11.6, the "console", "script", and "network" labels in the second line of the window are gray, when you switch to these tab panels, the system will prompt "the Panel has been disabled", indicating that the current
The website has not enabled the "console", "script", and "network" functions of firebug. The HTML, CSS, and Dom functions of firebug are enabled for all websites.
There are four methods to enable the "console", "script", and "network" functions of firebug for the website:
Click the drop-down button next to "console", "script", or "network", and select "enable" from the drop-down menu. This method will enable "console", "script", or "Web
. However, the author does not recommend this because some website scripts are unique to IE or have bugs, and errors will not stop prompting during browsing, resulting in browser crash.
Similarly, click the drop-down button next to the "console", "script", or "network" labels. However, this time, select "enable YYY for XXX" from the drop-down menu ", "XXX" is the current website domain name, and "yyy" is "console", "script", or "network ". This method can only enable "console", "script", or "network" for the current website.
Similarly, click the drop-down button next to the "console", "script", or "network" labels and select the "Site" command from the drop-down menu. As shown in figure 11.7, enter the website domain name in the site address bar and click "enable. This method enables multiple sites at a time.
|
Figure 11.7 enable or disable a site dialog box |
Select the option to enable in the panel, and then click "enable selected panel for XXXX", where "XXXX" is the website domain name. This method can only enable "console", "script", or "network" for the current website.
To disable the "console", "script", or "network" function of a website, you can only select the prohibit option in the drop-down menu of the "console", "script", or "network" tab, or disable or remove a site in site management. You cannot perform operations in the panel.
Click the close icon in the upper-right corner of the firebug window or press the F12 key again to close the firebug window.