firebug

Why is IE8 incorrectly complaining about loading non-secure elements?

≯℡__Kan透↙ 提交于 2019-12-03 07:20:25
I manage an e-commerce site running under SSL. The problem is happening on the final page of my site's shopping cart that loads under SSL. The problem is that Internet Explorer 8.0 (including version 8.0.6001.18702 and other versions of IE8, but reportedly not all versions of IE8) complain about at least one non-secure element loading, which is scaring away some of my prospective customers. IE8 displays a dialogue box after the page has apparently fully loaded (with seemingly no missing images) that says: "Security Warning: Do you want to view only the web page content that was delivered

debug JS code which triggers an alert()

本小妞迷上赌 提交于 2019-12-03 06:41:46
I have a system which is built using the ext-js library. Part of the system lists orders that are flowing through an online store. When a row is clicked, additional order details are shown. A few days back, a message saying "FIXME: created panelID..." began to appear as soon as a row is clicked. After that, normal functioning continues, i.e. the error message is just annoying and doesn't break normal execution after it appears. I am trying to debug the JS code to see under what circumstances does the error message appear, i.e. why did it suddenly start appearing. I am trying to do this with

ignore firebug console when not installed

左心房为你撑大大i 提交于 2019-12-03 06:23:18
问题 I use Firebug's console.log() for debugging my website. If I try viewing my website in browsers without Firebug then I get a console is not defined error. Is there a way to gracefully avoid this error? I found this potential solution, but it seems a bit cumbersome. And ideas? 回答1: Firebug source code provides a file to do this : See firebugx.js Do not reinvent the wheel every day :) 回答2: I always create my cross-browser wrappers for console.log alike functions and it looks like this: function

How to find out the piece of code that initiated ajax request

无人久伴 提交于 2019-12-03 05:44:36
I have MVC view, in that tens of javascript files are included. there are some ajax requests initiated from the page. I would like to know from which particular js file the call was initiated. I spent some time exploring Firefox addons - Firebug and HttpFox. Both are showing the http request, header , cookies and other hell lot of information, but nothing about the source where the ajax request was initiated. I've been finding some of Chromes more recent debugging features very useful. Bring up the inspector(Ctrl+Shift+I) and switch to the Network tab before launching your application or

How do I enable source map support in Firebug?

家住魔仙堡 提交于 2019-12-03 05:23:31
I've been using Chrome for a good while now, and you have to explicitly enable souce map support in the options. I'm testing something in Firefox now with Firebug, but I'm not seeing my original source files - just the generated bundle. Is there some way to enable source map support in Firebug? I'm using Firebug 1.12.8 in Firefox 27.0.1. Firebug doesn't support source maps yet (as of 2.0.*). You may want to follow issue 5765 for source maps support for JavaScript and issue 5961 for CSS. Firebug 3 will integrate into the built-in DevTools of Firefox, which already have this feature. So Firebug

Can I change the firebug console background color?

萝らか妹 提交于 2019-12-03 03:54:27
I'd prefer the firebug window to have a dark background color and light text (or even just a gray background instead of white would be enough). Is there way I can do this, either through adjusting firebug's original files or perhaps through using an extension? Sebastian Zartner There's no option for changing the colors but there are some themes like NASA Night Launch changing the colors. You also have the possibility to change the colors by yourself. To do so you can either open the XPI file and change the styles there or fetch the source from github, change it there and build your own XPI. To

Debugging Javascript on iPad

纵然是瞬间 提交于 2019-12-03 03:51:36
问题 I was wondering if there are any useful tools people have found to debug javascript on an iPad which is not jail broken. It is an iPad supplied for work so jail breaking is not an option. Through some tedious steps I have gotten firebug-lite working on the iPad but my debugger statements in the javascript are not being hit. There is also no capability that I am seeing to set breakpoints as you can traditionally with Firebug. I also have Safari's debug console open but that is fairly useless

Why is Firefox 3 breaking with console.log

爷,独闯天下 提交于 2019-12-03 03:31:10
I have the following: console.log (a.time_ago() + ' ' + b.time_ago()); This is breaking in FireFox 3, meaning when FF hits that line in the JS, it goes no further. Strangely if I have Firebug open it doesn't break and continues as normal. Some how firebug prevents this issue? I'm puzzled on this one. Any thoughts as to why console.log would break firefox 3, but not if firebug is open? Thanks This is not just Firefox. Your code will stop working in every browser (except Chrome and safari (in some instances) because they have console.log() built in along with their developer tools.) It is

FireBug and monitoring JSONP cross-domain requests

匿名 (未验证) 提交于 2019-12-03 03:06:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: This question is specific to the Firebug plugin for Firefox. The actual functionality works, but I lost my ability to monitor and debug it in Firebug. I had a website which used JSON to get data. In Firebug, I was able to monitor the JSON requests. It would show me each one of them, the headers, and the data that was returned. I needed to change the server to which I submitted my JSON requests. In order to get cross-domain JSON to work, I used JSONP with the callback=? method. I got the functionality to work. However, I cannot monitor and

How Eventbug actually works

穿精又带淫゛_ 提交于 2019-12-03 02:54:50
Eventbug is a add-on for firebug (yes, add-on for add-on), which is aimed to track all events assigned to DOM elements. The question is - how it actually works? Since, generally speaking, there is no way, at least as far as I know, to get the list of attached events in W3C event model. Can somebody who already explored this issue tell me something about the basic idea underneath. Is it redefining addEventListener in global scope or something? It is using nsIEventListenerService which is an internal API available to Firefox add-ons. In fact, it has been introduced specifically for Firebug, see