firebug

Network tab in Firebug doesn't show any files.

I'm creating a html-layout based on an existing layout. I want to extract all the files, that are currently actually being used, from the old layout, since there is a lot of crap in the directories that's been there from the ancient times or something. So I tried to open the existing layout in Firefox and use Firebug to see which files ...

Basic help using Firebug

Just starting using the Firebug console. I have a test script which I'll post below. I open up the Firebug console and type $("p"); this returns null. Its my understanding it should return all my p elements ie p, p.foo, p, p#bar. A conflict maybe or am I just using the console incorrectly? <!DOCTYPE html> <html> <head> <title>Testing ...

How Firebug works internally?

I have debugged through JavaScript using Firebug more than hundred times without worrying about whats happening there. I want to know how exactly a Firebug handles JavaScript/DOM debugging. Say I set a break point on some statement inside a method and start debugging. I want to know what's going on in there? ...

Tracking when / where a variable is set in Javascript using FireBug

I am currently using FireBug to see how hypem delivers it the content to allow its flash player to work (specifically the play button functionality). I have found that the trackList variable is populated with the data but I do not know where it is set. How can I track when / where this collection is modified? I can add a watch to it bu...

firebug is erroniously telling me my variable is not defined

I'm setting a breakpoint in the code below where it says "breakpoint". Also adding a watch expression for dataStore. function(){ var self = {}; var dataStore = []; var areEq = UNAB.objectsAreEqual; self.put = function(key, value){ /*breakpoint*/ dataStore.push({key:key, value:value}); } return self; } At this breakpoi...

Weird whitespace appearing on Joomla

While polishing my site I noticed there was some unwanted space between 2 elements, so I decided to remove it. But looking at the source, I found this: Please check it by yourself, there's no trace of this server-side. Live page here: http://www.playersonline.com.ar/guias Any help would be appreciated. ...

How to view "generated HTML code" in Firefox?

If using Firebug, we can click on the HTML tab, and click to expand each element to see the generated HTML code. Is there a way to expand it all or get a plain text file? I just accidentally found out that there doesn't even need to be Firebug. We can just press CTRL-A (to select all) on the webpage, and then right click and choose "V...

How to hide precious HTML from user eyes ?

I am thinking to create an website that generates HTML through a wizard.Finally, I want to make the users to buy the generated HTML source if they like what they see. But I don't want to let the users to steal the HTML, CSS and JS that I use to create the effect they want. I want a technique which is immune to Firebug and Right Click -...

Firefox toolbar execution time and memory profiling

Hi All, So, I am working on creating a toolbar for firefox. It currently sucks as far as memory usage/execution time of the JS code I have written. I can say that since every so often firefox complains - "A script in mycode.js is taking more time than expected. Do you want to stop the script". I need to see which function is it thats do...

firebug console

Hello, The following is my block of code. since I haven't installed Firebug in IE, Every time when I try to test my code in IE I'm getting an error message console is undefined. so I decided and developed this block of code, so that console.log work only in firefox and to avoid error messages in IE. function clog() { if(window.con...

'console' is undefined error for internet explorer

Hi, I'm using firebug and have some statements like: console.log("..."); in my page. In IE8 (probably earlier versions too) I get script errors saying 'console' is undefined. I tried putting this at the top of my page: <script type="text/javascript"> if (!console) console = {log: function() {}}; </script> still I get the error...

jQuery missing : after property id

Hello everyone. $('#note').click({ $('#trigger').remove(); $('#info').slideDown(4000, function(){ $(this).fadeOut(40000); }); }); What I'm trying to do here is obvious. Sadly, when I try this piece of code, FireBug throws the following error: missing : after property id. After trying to debug for some time, I saw...

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

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 nu...

Debugging jquery exception with Firebug

I am receiving a javascript error whose source line is in the jquery javascript library: uncaught exception: Syntax error, unrecognized expression: # I know what this error is: it usually happens if you try something like: $('#'); However, I am struggling to debug it. It should be straightforward if I could just get a stack-trace. B...

Export or save html source including iFrame's html

In FireBug the HTML view displays the full html of the page including the html of the iFrames. Is there a way to save this same html view or using another FF extension to save the full html? Meaning the saved file will have the html, body and the rest of the dom for the iFrames. I know I can view and save the individual iFrames' HTML but...

Firebug console shortening strings in array logged?

Hello all! I have a custom logging function to log to the firebug console that looks like this: // the name here is just for fun function ninjaConsoleLog() { var slicer = Array.prototype.slice; var args = slicer.call(arguments); console.log(args); } And it works exactly like I want it to....except that if I have string v...

Why sometimes Firebug won't show list of Javascript files to set breakpoint?

For example, if I go to http://sorgalla.com/projects/jcarousel/examples/dynamic_ajax_php.html and go to Firebug, and set Scripts to Enabled, and Show Chrome Source and Static, eval, and event script, still no file list is shown so that I can view them and set a breakpoint. In another project, I could. Is there a reason why? ...

How to use Firefox Firebug on Sub-Menus

Hi, How to use Firefox Firebug on Superfish v1.4.8 Vertical Menu sample but on the sub-menus not the top menu. Superfish Menu I basically want to be able to freeze Firebug on a sub-menu selection to process but unsure how to. Thanks. ...

Firebug - How to track the definition of a called function?

Hello all, I have read http://stackoverflow.com/questions/3279976/how-to-know-where-javascript-method-is-defined-and-which-method-is-called-using-f and tried all mentioned methods. Still I could not find a method work for me. Basically, I just need to track down where a javascript function is defined? I have used the latest alpha ve...

How to Prevent Page Change when using Firebug

I want to inspect the request that will change window.location or whatever it may be using to change the url. I don't know where in the code it is changing the url so I can't put a breakpoint in there. How can I use Firebug to allow Ajax requests but prevent the url from changing? Or how can I otherwise inspect the request that will c...