firebug

Is the HTML shown via 'View Source' different from the HTML shown in (Firebug) developer tools?

时光毁灭记忆、已成空白 提交于 2019-11-26 12:25:22
问题 I\'m using Firefox alongside Firebug Developer tools. Is the HTML shown in View Source ( Ctrl + U ) different from the HTML I see when inspecting elements using Firebug? What are the differences between the two? 回答1: Yes they are different. View source shows you the original HTML source of the page. The inspector shows you the DOM as it was interpreted by the browser. This includes for example changes made by javascript which cannot be seen in the HTML source. Oh and this also counts for the

Is there something like “Firebug for IE” (for debugging JavaScript)?

家住魔仙堡 提交于 2019-11-26 12:25:12
问题 I\'m trying to fix some JavaScript bugs. Firebug makes debugging these issues a lot easier when working in Firefox, but what do you do when the code works fine on Firefox but IE is complaining? 回答1: you can also check out the IE Developer Toolbar which isn't a debugger but will help you analyze the contents of your code. Visual Studio will help with the debugging Fiddler should help analyse the traffic travelling to and from your browser 回答2: You can try Firebug Lite or use Visual Studio to

How to debug Greasemonkey script with the Firebug extension?

无人久伴 提交于 2019-11-26 12:08:33
问题 I didn\'t find a way to debug Greasemonkey scripts with the Firebug extension. Does anyone know how to do this ? Thanks. 回答1: Updatier: The Mene+Shuman fix now is busted with Firefox 30 and Firebug 2. Firefox 31 may provide workarounds (will investigate). In the meantime, use the "General workaround strategies" listed below. Update: This answer is now obsolete. If you open about:config and set extensions.firebug.filterSystemURLs to false then you can use Firebug to debug the Greasemonkey

Is there a way to change context to iframe in javascript console?

被刻印的时光 ゝ 提交于 2019-11-26 12:04:28
问题 I would like to change the context of the javascript executed in the webkit developer tool/firebug console to execute its code like it is running from inside an iframe on the page. I know I could do this by opening the page in the iframe on a separate page, but I want to run code where it interacts with the parent frame. 回答1: Chrome 15 allows you to change the scope of the console. On the bottom of the console, next to the clear console button, there is a menu that says <top frame> which will

Understanding Firebug profiler output

本小妞迷上赌 提交于 2019-11-26 12:02:34
问题 I\'ve been trying to use Firebug\'s profiler to better understand the source of some JavaScript performance issues we are seeing, but I\'m a little confused by the output. When I profile some code the profiler reports Profile (464.323 ms, 26,412 calls) . I suspect that the 464.323 ms is the sum of the execution time for those 26,412 calls. However, when I drill down into the detailed results I see individual results with an average execution time greater than 464.323 ms, e.g. the result with

Testing for console.log statements in IE [duplicate]

南笙酒味 提交于 2019-11-26 11:55:26
问题 This question already has answers here : Closed 8 years ago . Possible Duplicate: 'console' is undefined error for internet explorer If you have console.log statements in your code, Internet Explorer will throw a JavaScript error (at least in IE7 which is what our intranet users have installed). I am using Firefox for most of my development testing primarily because of the functionality provided by Firebug (where I use a lot of console statements) but I also need to test in IE. if I add the

Error: “Access to restricted URI denied”

白昼怎懂夜的黑 提交于 2019-11-26 11:30:55
问题 Access to restricted URI denied\" code: \"1012 [Break On This Error] xhttp.send(null); function getXML(xml_file) { if (window.XMLHttpRequest) { var xhttp = new XMLHttpRequest(); // Cretes a instantce of XMLHttpRequest object } else { var xhttp = new ActiveXObject(\"Microsoft.XMLHTTP\"); // for IE 5/6 } xhttp.open(\"GET\",xml_file,false); xhttp.send(null); var xmlDoc = xhttp.responseXML; return (xmlDoc); } I\'m trying to get data from a XML file using JavaScript. Im using Firebug to test and

Equivalent of Firebug&#39;s “Copy XPath” in Internet Explorer?

蓝咒 提交于 2019-11-26 11:14:44
问题 I have an Internet Explorer only web application. I\'m exploring what we can do to automate the testing. Selenium looks like a good tool, but to be able to activate links etc. I need to tell it where they are. The application wasn\'t built with this kind of testing in mind, so there generally aren\'t id attributes on the key elements. No problem, I think, I can use XPath expressions. But finding the correct XPath for, say, a button, is a royal pain if done by inspecting the source of the page

Is there a plugin that allows me to automatically unminify the Javascript included on a site? [closed]

巧了我就是萌 提交于 2019-11-26 10:57:12
问题 Is there a plugin, add-on, Greasemonkey script or something similar (at worst, an easy to use proxy?) that automatically unminifies the Javascript files included on a site? I know about e.g. jsbeautifier.org but doing this externally doesn\'t allow me to set breakpoints in the unminified code, for example. Typical use cases for me: Analysing and learning from complex web frontends. Debugging Greasemonkey scripts which interact with the existing code. I\'m primarily interested in a solution

Firebug says “No Javascript on this page”, even though JavaScript does exist on the page

谁说胖子不能爱 提交于 2019-11-26 10:29:53
问题 Why does Firebug say there is No Javascript on this page when there are clearly loads of JavaScript on the page. I even reloaded the page several time to make sure but it still show the same message. It never used to do that before, but all of a sudden it misbehaves. Is it because of some configuration issues or because of something else? 回答1: As of Firefox version 50, it seems that Firebug will no longer work as Mozilla are migrating to Firefox Devtools . The tab Tools/Web Developer has a