firebug,google-chrome-devtools,firefox-developer-tools , Why do downloaded KB different in Firefox DevTools vs. Firebug or Chrome DevTools?

Why do downloaded KB different in Firefox DevTools vs. Firebug or Chrome DevTools?


Tag: firebug,google-chrome-devtools,firefox-developer-tools

Can anyone explain me why, debugging on any page, I see always a great difference between the Firefox DevTools, Firebug and the Chrome DevTools in terms of transferred file sizes? For example, with the homepage of Stack Overflow I see:

What is the truth?


In opposite to the Chrome DevTools' Network panel and Firebug's Net panel the summary within the Network panel of the Firefox DevTools displays the size of the contents after decompression. That means it displays the actual size of the files, not the transferred bytes of the files.

Background: Some servers compress the response contents before they sent them to the client using algorithms like GZIP to save network bandwidth. The clients then decompress the contents once they received them.

The Firefox DevTools do not offer a summary of the transferred size of files (as of Firefox 38.0.1). The Network panel only displays the decompressed size of files at the bottom of the panel:

Summary of network requests within the *Network* panel

Therefore I created an enhancement request to display the transferred size within the summary and the performance analysis.

Though the panel has a Transferred column listing the transferred size for each file:

*Transferred* column within Firefox DevTools *Network* panel

Related: only works with timeout

I'm writing a chrome extension that is supposed to show a page action icon whenever a PDF is loaded. To this end, I'm checking the content type, and if it equals application/pdf, I To my surprise, however, this chrome.webRequest.onHeadersReceived.addListener( function(details) { if (details.tabId >= 0) { var header =...

Is HTML5 drag and drop compatible with Chrome Apps (packaged)?

I've tried the traditional methods and it works as a webpage in Chrome, but not when I'm using the page as a packaged app. I'm just doing this example from W3 for testing purposes since it's very simple.

Is there a way to view in Developer Tools?

I have a Chrome Extension and I'm able to view background page localStorage on the Resources tab of Developer Tools. Is there a way to do the some for

Can't find out how button click event got wired

I have a button which posts back through Ajax. I tried to find out what code executes when the button is clicked. I used Visual Event (screen capture below) to see how the event was bound but the info didn't help me enough. Then I set an event listener breakpoint...

Chrome Dev Tools claim that styles overrides themselves

How should I understand following entries in Chrome Dev Tools: Styles overrides... themselves (same file, same line, same style)?...

What's the best way To edit CSS and JS of Html Template [closed]

I have a HTML5 Template in my Local Computer. I want to edit this template CSS and JS to use in my project. I use this solution to edit Template Open Web site With Google Chrome also Open with Notepad++ Edit CSS file with Notepad++ and Refresh page in Google...

How to add multiple css rules at once through Dev-Tools or Firebug

I have 300 lines of CSS, consisting of many rules that I need to test on a page. I would preferably like to paste the rules in one go at the bottom of the main.css that the page is using - or add a pseudo "extra-main.css" sheet to the page...

Chrome developer sidebar in extension pane

I am making a developer extension for Chrome. I create a custom pane, and want to add a sidebar to that pane. This page includes documentation on how to create a sidebar in the Elements pane and the Sources pane. However, it does not include any createSidebarPane method under the...

What is the method in Firebug to find out the CSS files causing class name clashes?

The same class being declared in a large number of CSS files imported on a webpage makes it very difficult locate the clash manually. The same class name could have been declared differently in two different CSS files, causing the class definition in one style sheet to supercede the class...

Chrome developer tools: is there a way to show what calls the function?

Just as in the topic: is there a way to show what calls the function that I want to inspect? I have an issue, where my function is called twice, and I dont know what calls it for the second time... Thanks, uksz...

Chrome - open dev tools in new window

in chrome 43.0.2357.81 I can't find the little box which can separate devtools into a new window I tried googling q=open+inspect+element+in+new+window+chrome nothing new Here is the Screen shot ! ...

Chrome Developer Tools shows favicon 404 error in Brackets LivePreview

I've just started doing Anthony Alicea's "Javascript: Understanding the Weird Parts" course, and he's using the live preview feature of Brackets to demo his code. The first module is a barebones HTML page with a script tag linking to an empty JS file. When I open this page in Brackets...

What determines the width of a div class when it's not defined?

I am trying to resize the sidebar column in this example. It's currently at 25% (column .3u). I would like to expand it to an equivalent of 26% without shrinking the actual main area (column .9u). The only way I see to accomplish is to increase the width of the...

Chrome Dev Tools console - select frame programatically

Using the Chrome Dev Tools console, I'm trying to select an element inside an iframe on the page. Is there a way to do this programatically without having to select the frame in the frames dropdown in order to set the console context to that frame first? Assuming the target...

Firebug Events side panel is empty

Did anyone ever notice that the Events side panel within the HTML panel in Firebug is not working anymore? I'm used to relying on that functionality. Anyone has any idea what's going on?...

Node.js sometimes doesn't respond to HTTP GET

I have a web page with the following line: <link rel="stylesheet" type="text/css" href="stylesheets/toolbar.css"/> From time to time I see a problem that I can't properly reproduce. One of the resources sometimes never loads. Sometimes it is a JavaScript file, sometimes a CSS file like on the screenshot below. I have...

How to search for a DOM element in the Elements panel & highlight it in web page in Chrome dev tools?

I am using the latest Chrome & Canary. If I search for a DOM element in the search box in the drawer in dev tools and double click on a result, Chrome switches to the Sources panel and I can't highlight the element in the browser from there. How do...

Why do downloaded KB different in Firefox DevTools vs. Firebug or Chrome DevTools?

Can anyone explain me why, debugging on any page, I see always a great difference between the Firefox DevTools, Firebug and the Chrome DevTools in terms of transferred file sizes? For example, with the homepage of Stack Overflow I see: Chrome DevTools: 282 KB Firebug: 246 KB Firefox DevTools: 873...

why don't I see any network call in Chrome's DevTools (or any other tool such as Charles)

while yahoo finance updates stock price on an already open page such as Thanks in advance! Jack M...

How to use Firebug to get info about request & response data?

I want to get the information about the request data and response data using Firebug for my Java application, which is run on Tomcat. I searched Google but couldn't find an easy tutorial for a beginner. Can you recommend any easy-to-understand source to learn it?

Inline style element appers in develoer window but not when viewing source code

I am looking at a form that has a captcha. The CSS being applied has made it all whacky looking. I'm about to diagnose the issue, and I'm looking at the styles being applied in my Google chrome developer window. For each individual rule, there is light grey text in...

Getting URL of HTML 5 video

I'm trying to the get the URL of this HTML 5 video but I can't seem to find it. I looked in Chrome dev tools but couldn't find anything. It's not even possible to right-click and view source on the video. I had to do it on another part of...

Is new line a separator in Javascript

While debugging a web SPA issue, I stumbled on something to which I could not find concrete references online: missing comma separator between function expressions in javascript. Here's the details: This works - explicit comma as a separator is there (note - intentionally on one line): var f1 = function()...

Chrome Extension - How to execute a JS script on page load

The following is that I'm trying to achieve Every time '' loads, a script/function triggers. However, the functions itself reloads the page via 'location.reload();' Basically, an infinite loop of reloads. Script reloads page -> Script injected -> Script reloads page -> etc. I want the tab @ to keep...

update popup.html content dynamically

I am sending a message from the contentscript to popup and trying to show the received message when the extension is clicked. I can see that the message is being received only when I Inspect popup contentscript.js console.log("content script"); chrome.runtime.sendMessage("hello",function(response) { console.log("sending message"); }); popup.js console.log("popup script"); function onReq(request, sender,...

Chrome Inspect Element is not showing all Javascript

The current project I am working on builds a page's javascript code based on some conditions. All the code works but when I go to inspect element to see it, it is not showing. Or more like it is truncated and 3 dots added at the end. It seems to...

Why doesn't Chrome's console display the function code anymore?

In the past, if I had a function test with the content function test () { return true; } and I typed test into console, then I'd get back: function () { return true; } Now however, it just returns function test() without the actual function code. How do I...

Provide network data from Firebug to Python

Is there a way to copy the network data from Firebug (for example POST headers) and put them into Python code so I don't need to write each header by myself? There is an option Copy Request Headers, but it is not in the right format for Python. So the...

Visualise CSS selectors like :read-only in debug (F12 tools)

Having :read-only, [readonly] { background-color: aliceblue; } <form> <h2>test</h2> </form> How can I detect, when debugging, say, in Chrome, that the h2(or form) field has an :read-only property (or other type of selector, like :disabled, etc.) set to true? PS. To clarify the question: the question is not about a...

Firebug does not display my JavaScript files

I am building a web application with AngularJS en typescript in VS2012. These TypeScript files are all compiled into JavaScript files and send to the client using Bundles (all options turned off, thus I'm sending all files individually). In Firebug HTML view I can see all my JavaScript files, but...

detect requests calls in a url similar to network in chrome dev tools

I don't know if what I am looking for is possible, I want JS, or any other programming method solution to detect the requests calls for a given url page, something similar to chrome dev tools There is a site that displays videos, I would like to access through the...

I can't write object literal notation in Dev Console? [duplicate]

This question already has an answer here: JavaScript object literals syntax error 2 answers I get error when i write this: {a:1, b:2} but not when i just write this {a:1} I've tried in Firefox and chrome both give errors. There is no error if i Assign it to...

Why does the expiration date of the request cache lie in the past?

I am working on caching some pages and I noticed this in Firebug: So it says that the cache expired 45 years ago. Is this a bug or some bad data? I have another page that is caching correctly I just do not understand why its saying Expires ... 1970....

Why Chrome shows \ufeff symbol and gray lines in TypeScript?

When I open my TypeScript in Chrome debugger I see strange red dot at the first line. I believe it corresponds to unrendered symbol \ufeff (as popover says). There is no such symbol in the TS file when I open it in editor (e. g., Notepad++ with "show all...

View a Javascript method's contents in Chrome console

When I console.log an object in Chrome, I see all properties and a method name, but I can't see the contents of the method itself. How can I view the contents of an object's method? I've created a JSFiddle that may help explain what I'm looking for. ...

jQuery delegated mouseenter event only fires on click

I'm trying to wire up the jQuery mouseenter event to a bunch of links in a container. I also want to cancel navigation of the link so I'm wiring up the click event. All of the sudden the mouseenter handler is only executing after clicking the link. It is still...

YSlow is not at all working with Firebug 2.0.9

I just installed YSlow but only to found that only a basic pages gets created - if I try to click any link on the same YSlow report - no action happens FireFox - 37.0.2...

Firebug is printing one addtional numbers when executing code in its command line

I was executing JavaScript within Firebug's console. While running the below loop I have noticed it's printing one additional number: var i = 0; while(i<10) { console.log(i); i++; } It's providing the following output: var i = 0; while(i<10) { console.log(i); i++; } 0 1 2 3 4 5 6...

Chrome F8/hotkey debugger breaking during a drag and drop operation

In Chrome's web-developer tools one can break at any point by pressing F8. Often times I would like to break and inspect an element during a drag and drop operation by pressing F8. This won't work however. Is there a native Chrome-way shortcut without running a custom script?...

How to access the DevTools API without actually opening the DevTools window?

The documentation says "An instance of the extension's DevTools page is created each time a DevTools window opens. The DevTools page exists for the lifetime of the DevTools window." However, the Facebook Pixel Helper manages to to get network information without the devtools window being open. So, I was wondering...

Is this a bug in Firebug?

I have the following javascript code: function vocableToTextFieldClickEventHandler(e) { if (e.keyCode == 13) { //Enter key if (pausedAfterAnswer) { pausedAfterAnswer = false; goToNextVocable(); setAnswerNeutral(); $("#vocableToTextFieldUI").val(""); return; } if (textIsOnlyValidCharacters(vocableToTextFieldNode.value) == false){ displayError("Not valid input!"); } if (answerIsCorrect()) { displayAnswerCorrect(); getActiveVocable().setPreviousAnswerStatus(1); pausedAfterAnswer = true; } else { repeatList.push("x"); //This line pausedAfterAnswer...

Inspecting the value of a JS variable in Chrom console

This is fragment of a JS plugin that I'm using on my site. I'd like to inspect the value of isTouchDevice directly in the console. Just typing isTouchDevice reurns an 'undefined' error. (function($) { "use strict"; $.maxmegamenu = function(menu, options) { var plugin = this; var $menu = $(menu); plugin.settings...

Disable variable value information in chrome debugger

I don't know where or what key combination could make to enable variable value viewer inside the file viewer. How to disable ? (I dont see the way...?)...

How to load saved .cpuprofile file in Chrome developer tools CPU profile?

There's a save button in the Chrome dev tools profiler, but no load button. How do you load a saved profile back into Chrome to view it?

What’s the quickest, easiest way to execute a JavaScript file on a live web page?

I have this JavaScript file URL: (hosted on GitHub and passed through RawGit), and I would like to inject it into a live web page via the browser’s console. In order to achieve that, I can dynamically create a <script> element and append it to the DOM: (function ()...

Get CSS class definition from chrome developer tools console

I would like to programatically retrieve a set of CSS class definitions from chrome developer tools. In effect similar to what is displayed in styles tab in the right hand side. The input needs to be a class name and the output should be all the styles defined in it....

How to get last executed JS functions

I'm working on a large and old project that run tons to JavaScript and sometimes when solving a bug its a bit hard to know which function has executed. Is there a way to get a list of the last executed functions in Chrome Developer Tools?...