firefox-addon

FireFox extension: How can i modify a file on startup?

I would like to modify a file loaded by Firefox on startup (persdict.dat - this is the personal dictionary file). What code do i need to use in order to enter an additional word into the file before it gets loaded by FireFox on browser startup? ...

how to by pass following error in Firefox extension "server does not support RFC 5746"

I am developing a FireFox extension when I do xhr to the Secure server , particularly POST a data it gives a status 500, and following mesage: onsip.highrisehq.com : server does not support RFC 5746, see CVE-2009-3555 How can I by pass by It? I assume that this is because of the Server misconfiguration, but I can't wait till so...

How to include JavaScript on a website through a Firefox addon?

How is it possible to execute JavaScript code on a specific page through a Firefox addon. I know I can use Greasemonkey but since I'm porting one of my Chrome extension, I want it to have the exact same features. So my question is, is it possible to execute JavaScript through a Firefox addon as if that JavaScript was executed in the page...

Firefox Plugin Downloading

Hello all, I am trying to create a SIMPLE plugin, no interface is necessary, that will automatically download and save to "Desktop/MyFolder/" everything that the page loads. My thought was to make an extension that extends FireBug, but that seems to be rather challenging. I got it to do some things, however on things like images, flv's...

Firefox addon to see the request

Is it possible to see the request which my browser send to the server. Or if it's some addon for firefox. ...

"Http channel implementation doesn't support nsIUploadChannel2. An extension has supplied a non-functional http protocol handler"

I'm writing a Firefox extension that uses lots of XMLHttpRequests, following the pattern of the sample code at MDC. Most of the time this works perfectly, but some of the requests are causing the following message to appear in the console: Http channel implementation doesn't support nsIUploadChannel2. An extension has sup...

Asynchronous POST request from a Firefox's web worker

Hello all, I am trying to make an asynchronous request with POST method from a web worker used in my extension. The thing is that it does not work for me. On the server side I have PHP script listening for data in $_POST variable. Although I am able to establish connection to the server, and even pass some data in URL (GET), the $_POST ...

How to make a script to run on pages that updates with ajax requests?

I have a script that runs on some pages. The problem is that I attach the script on the page load, but all links on the page make requests and change the contents from the response. (The url's hash changes) I need a way to check when the "page" is finished loading to add my scripts. The problem: somesite.com/home (event load is fired)...

view response content of ajax,flash http requests

I'm interested if there is some tool (preferably a firefox addon) that allows you to record http requests and view their response header and content. ...

How to inject CSS located on /skin ?

I want to inject a css file located on the skin folder in a browser page. It is located on chrome://orkutmanager/skin/om.css, accessing manually show the file contents correctly. I've tried this, but it's not working... What am I missing, or is it impossible? ...

Playing a sound in a Firefox add-on

I would like to create a simple add-on that would play a different MP3 recording every time the user double clicks a word in a webpage he is visiting and selects a special option from the context menu. The MP3 files are located on a remote server. Normally I would use JavaScript+Flash to play the MP3 file. In a Firefox add-on, however,...

Check if there are opened menus and popups

Hi. I'm developing firefox extension, and I have a button, which shows <panel> using openPopup method when users moves mouse over button, and close it after few seconds user moves mouse out. The problem appears if a firefox menu is opened, or context menu, or any toolbarbutton with type="menu" are opened. Then if users moves mouse over ...

extensions development-- firefox or chrome

I'm going to implement an extension, which is kind of similar to GreaseMonkey. Just wondering which browser I should pick: Firefox or Chrome? Which one has better technique supports? ...

A plugin for manipulating JavaScript/HTML code

I need a tool that can parse and insert code to the JavaScript/HTML code before the browser starts to interpret the code. I've been thinking using a proxy to do it. But now I'd like to know whether I could implement such functionality in a Firefox plug-in? ...

How do I overlay the preference menuitem in FF4/MacOSX ?

Hello, I'm having problems to define the overlay of preferences menuitem for FF4 beta in MacOSX. It works for previous version of FF and in FF4 for other platforms. Basically want to open my .xul window when the user click in Preferences, but now is opening the FF preferences (The overlay is not working). Any help will be great :) Die...

JqueryUI Draggable in Firefox Extension

Hello, I am building a firefox extension and using JqueryUI in it. In my extension I have certain elements which needs to be dragged and dropped, but I guess Jquery's UI document model is not working for the FF extension. I have been able to reference $ to firefox document with various events like this: var ff = window._content.docume...

Replicate the functionality of Java's "Pattern.quote" in a JavaScript RegExp

In Java, you might try to make a regular expression that would match the URL stackoverflow.com using Pattern.compile("stackoverflow.com"). But this would be wrong because the . has special meaning in regular expressions. The easiest way to fix this is to write Pattern.compile(Pattern.quote("stackoverflow.com")) which comes out to: Patter...

Firefox addon: How to fire event when page load *starts*?

I've written a sidebar addon: which fetches the current page's URL makes a call to a personal server with the URL and displays contextual info in the sidebar Currently, this function is invoked on following events: on enabling the addon on window load on appcontent load on TabSelect However, there are times when a web page takes ...

Firefox Addons: Unable to open new page in document.popup.

Hi, I have a firefox addon which opens a document.popup window. When I click a link within the popup, I want to call a javascript function which displays an alert within the popup itself. When I try onCLick(onY()); the alert comes only after I close the popup. '<div id="SearchLiteDef-yahoo" style="'+ 'font-family:arial; fon...

Firefox Extension : Store Addon Data

I am building up a firefox extension which allows users to drag and drop things. Now if a user closes the application or reloads the page, I want to restore the last activity he did. Example : User moves a box from point X to Y. There can be many more boxes as well. Now after page reload or application startup, if user puts ...