firefox

To analyse CPU consumption of Firefox addons in SO

I currently analyse inefficient Firefox addons by uninstalling them and seeing empirically in a long run whether the addon was a problem or not. However, this way of finding the inefficient addons is very time-consuming. I would like to know exact numerical ways to see the CPU consumption for each addon independently in Firefox the C...

Why is the XSLT disable-output-escaping not implemented in Firefox?

This is an issue that recently came up for me while writing a new XSLT for some XML generated by an application with XTHML embedded using CDATA. Normally I've been able to use disable-escape-output to render the results correctly. However, in Firefox, everything was being displayed as escaped (i.e. &) as opposed to rendering as expe...

web page memory usage in firefox

Is there any way to know how much memory current web page is using in Firefox? ...

Firefox Extension: Get selected text

I am working on a simple Firefox Extension and I want to get the selected text. I tried this: var WordCount = { /* ... */ changeSelected: function() { var selectedText = this.getSelection(); var words = this.countWords(selectedText); this.changeStatus(words, " selected"); //alert(selectedText); ...

Open firefox window in selenium with firefox addons loaded?

Hi all, when I run my test in selenium, the newly opened firefox window is opened without my installed addons like xpathchecker. Is it possible to setup selenium so that it will use firefox with installed addons? ...

WCF WebGet ResponseFormat Vs WebOperationContext.OutgoingResponse.ContentType

What is the difference between using a WebGet attribute [WebGet( ResponseFormat = WebMessageFormat.Xml )] and manually setting the content type? WebOperationContext.Current.OutgoingResponse.ContentType = "application/xml"; I have a Silverlight app that is making this request to WCF. I'm looking at the traffic and the request/resp...

Detecting if Firefox 3.5, or Firefox 3.0 or lower

I have to admit I never had to worry about Firefox versions before when it came to CSS, but for some reason, FF 3.5 is not positioning some of my elements properly as compared to how FF2 and FF3.0 do. Now I am faced with having to detect if its FF 3.5. Here is what I do now for handling CSS across FF and IE: <!-- MAIN STYLESHEET --> <...

Using Firefox HTML source viewer in VB.NET?

I want to view the HTML source of a web page, I've using ICSharpCode.TextEditor, Scintilla,... and they're all good. But, I have missed Firefox HTML source viewer. I wonder if I can use Mozilla ActiveX Control to open the source viewer or is there a command line argument that make Firefox open it? Thanks! ...

How do I launch the Selenium IDE from the command line with a specific test case loaded?

I'm on Windows, and I want to launch Firefox and the Selenium IDE with a specified test case loaded and ready to play back. I've got as far as: >"C:\Program Files (x86)\Mozilla Firefox\firefox.exe" -chrome "chrome://selenium-ide/content" which launches Firefox and the IDE, but I don't know enough about the Selenium IDE or Chrome to g...

Developing a Firefox addon that turns a file's URI into its filename when saving it

I've read some documentation and tutorials about developing Firefox Addons. But never found how to do this. I would like to make an addon that when you try to save a file (via left-click or right-click/save as) it automatically sets the to-be-created-file's name to be the same as the original file's URI. (but with some changes, like mak...

FireBug and monitoring JSONP cross-domain requests

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

Is it possible to build an addon to firefox that can break a loop of alerts?

Several times I got into conditions my scripts threw alerts in high rates. While there is an alert modal window open, you can't do any other action in the browser. I am looking to develop an add-on that will enable me to kill or suspend the "thread" the alert modal window belongs to. In What direction should I look? ...

Offline storage in firefox 3.5 for file://

Hi, I was trying out the code for offline storage in firefox 3.5, taken from http://starkravingfinkle.org/blog/2008/05/firefox-3-offline-app-demo-part-2/. When the page loads i get a dialog prompting me that the application is asking for storing data, but when i press Allow, the dialog does not go away . The app works fine at the online...

How do I close a browser tab when the scrollbar reaches the bottom of the page?

Using Autohotkey, I’ve remapped a button to execute a loop. Every 30 seconds, PgDn will execute. In order to move on to the next tab, Ctrl-W (close tab) needs to happen. Is there way any to detect that the scrollbar as at the bottom? Once the “scrollbar-at-bottom” condition is met, PgDn will execute “close tab” instead. What language sho...

Is there a default license for Firefox add-ons?

Do they have to be GPL or can they be something else? And if nothing is specified in the code are they considered to be GPL by default? ...

html form firefox focus

All right, this one is going to sound very weird and I don't know if any of you have experienced the same problem. I have a very simple login form (in html) which includes username, password and submit button and works fine on IE but when I run it in Firefox (3.xxx) and click on password textfield, the focus jumps on username and select...

Firefox causes extra "Not Postback" ping when postback happens

We got weird problem in my application (asp.net). The problem happens only in Firefox. The scenario is like this.. We have grid bind with results. when I change page of the grid (postback). at that time extra "Not postback" is caused in FireFox only which actually disturb my session logic and then all goes wrong. Can anyone have idea o...

jQuery and XML

Hi, I have an AJAX query which makes a request and gets some XML back. The XML contains data for a table and a chart. The table works fine but the chart (for FusionCharts) is proving to be problematic. I have it working in FireFox by using // For some reason the .text() is not working on this, one solution is to write it to the ...

Should we implement proprietary Firefox CSS?

With lots of talk and bickering among developers about how IE breaks standards, is it worth supporting mozilla and webkit CSS? Examples -moz-border-radius -webkit-border-radius Of course there are many more, but I just want to know everyone's thoughts. Thanks ...

Is there a .NET control similar to Firefox's Address/Location/Awesome bar?

Is there a .NET component out there that is similar to Firefox's location bar? I need all the features of the Firefox address bar, but I want to control the "history" from which the suggestions are made. This is for Winforms or WPF. ...