firebug

Fiddler vs Firefox w/ Firebug

ぃ、小莉子 提交于 2019-12-05 02:42:45
Fiddler does look interesting and I've seen people recommending it as a good debugging tool but a quick runthrough I don't see anything all that great that we dont already have in Firebug. What can Fiddler do that Firebug cannot? Conversly what can Firebug do that Fiddler cannot? Yes it can - it is capable of showing HTTP messages from any program, not only web browsers. Fiddler is an extensible web-debugging platform which can be extended with any .NET language. It allows you to write pluggable inspectors to display traffic in a context-sensitive manner, and allows tampering with any request

How to access line numbers when wrapping Firebug (or similar) Console api

放肆的年华 提交于 2019-12-05 02:41:43
I have wrapped the console API to provide granular logging levels as well as few other sugar features. This works fine, the only problem is that firebug (or whatever other console) will always report the line number the log came from as the line the console API itself is invoked. How would you suggest I make the console log the line number at which I call my wrapper function? I would prefer a cross browser solution but failing that a firebug plugin could be a good start. fyi I call my loging function like so: db.log(db.LogLevel.WARN, "Blah Blah Blah"); Interesting problem... I may have a hack

Reading time reported in the Firebug Net tab

不羁岁月 提交于 2019-12-05 02:18:11
问题 See this screenshot from Firebug's Net tab: http://www.scdi.org/~avernet/try/firefox-times.png I know that: The time between 1 and 2 is the time taken by my app to generate the HTML and for the data to make its way to the browser. The time between 3 and 4 is the time taken by my JavaScript initialization code which runs on DOMContentLoaded. But what about the time between 2 and 3? Is that what the time Firefox takes to "render" the page? In this case, it is pretty significant (about 1.5

Can I copy the list of HTTP requests made by a web page out of Firebug’s Net panel?

一笑奈何 提交于 2019-12-05 01:26:15
In the Firebug Net panel, you can get a list of all HTTP requests made for the current page. http://getfirebug.com/wiki/index.php/Net_Panel Is there a way copy this list as text, so that I can paste it somewhere else for my own records? I’m doing some optimisation work, and it’d be really handy to save the requests made for pages before I optimise, so that I can check what effect my optimisation has. Alternatively, are there any other tools that would give me the same file information (i.e. URL of file requested, size of file — I don’t need the timeline stuff that Firebug’s Net panel does) as

Firebug console error HTTP 407 Proxy Authentication Required

纵饮孤独 提交于 2019-12-05 00:27:02
I am behind a proxy at work (using NTLM authentication). Whenever I load up a page, my Firebug console gets flooded with messages like this: "NetworkError: 407 Proxy Authentication Required - http://somewebsite/Scripts/jquery-1.8.2.min.js" It does that for all URLs referenced on that page: JS, CSS, Image, whatnot. The annoying thing is that the file is actually successfully loaded. It seems that Firefox hits the 407 Error, spams the log and then loads it anyway with the NTLM credentials. Is there any way I can stop these useless errors from showing up, so they don't drown out the console

Is it possible to stop a javascript with Firebug without using breakpoints?

雨燕双飞 提交于 2019-12-04 22:41:33
Is it possible with Firebug to stop a javascript with a press of a button or a keyboard shortcut instead of stopping it by setting a breakpoint? Why would I like to do this? We have a very dynamic website with lots of animations. It would be a great help if I could just stop the scripts at the moment the animation is doing something I want to inspect. That would be a lot faster than fiddling with the breakpoints. This is how I did it, from the web console (not the scratchpad), run: window.addEventListener("keydown", function() {debugger;}) Then go back to the debugger tab. When you focus the

Firefox rendering gone WRONG - see something really weird

人走茶凉 提交于 2019-12-04 22:30:05
问题 I have the following is really weird. Bassically when I view the source of the page everything looks fine but the page looks all wrong. So I decided to take a look at the source using firebug and firebug shows a very different story. But if I refresh the page the page looks fine and the source and firebug match up. See below for what the source is but what firefox displays and firebug shows: View source shows this: <div class="mainpanel"> <a class="thumbphoto" onclick="window.location=this

Tbody tag in xpath produced by fire bug

百般思念 提交于 2019-12-04 21:34:56
I'm trying to extract some data from online htmls using ruby hpricot library. I use the firefox extension fire bug to get the xpath of a selected item. There's always the extra tbody tag present in the produced xpath expression. In some cases, I must remove the tbody tag from the expression to obtain the results while in other cases, I must keep the tag to get the results. I just can't figure out when to keep the tbody tag and when not to. In order to take into account and avoid this problem, use XPath expressions of the following kind : /locStep1/locStep2/.../table/YourSubExpression |

How do I get watir-webdriver to start Firefox 4 with Firebug?

。_饼干妹妹 提交于 2019-12-04 20:53:33
问题 Any ideas? I've tried setting webdriver.firefox.useExisting=true as described in the link below hoping to reuse an existing window with firebug enabled, but no such luck. http://code.google.com/p/selenium/wiki/FirefoxDriver 回答1: you have to create a specific profile where Firebug is always enabled, then launch firefox with this profile in your configuration 回答2: The quick answer is: browser = Watir::Browser.new(:firefox, :profile => "default") But if you are running tests you probably shouldn

Using firebug, where are the js errors shown?

淺唱寂寞╮ 提交于 2019-12-04 20:53:08
using firebug, where are the js errors shown when the page renders? (if you have any good js debugging links w/firebug send them my way please!) Javascript errors will be listed in the Console of Firebug. You can also set Firebug to break on all errors, which is helpful for detecting why the error was thrown. As you are asking for some links: Firebug Tutorial - Logging, Profiling and CommandLine (Part I) Firebug Tutorial - Logging, Profiling and CommandLine (Part II) Firebug Tutorial - Using Commandline API in Firebug You'll need to enable the Script panel for whatever site you're looking at.