mozilla-plugin

Basic sample of a scriptable plugin for FireFox in C++ with VS2005/8

My experience to write a plugin for FireFox is below zero. Is someone out there who could point me to sample code on how to get this accomplished in C++ with VS2005/8? What I need to do with JavaScript in the hosting html page is something like this: var obj = document.getElementById("MyFFPlugin"); var value = obj.CalculateValue; //...

Actionscript Virtual Machine 1 - Inspecting Memory

How do I go about determining what is currently in the Mozilla Flash Plugin memory for AVM1? I am trying to debug a large application we have built and need to see what is getting garbage collected and when. I think we have a number of references causing major content nodes not to unload during the user session. Right now it is all gu...

Mozilla extension: create tab/window with DOM document instead of URI?

I have a web service that requires special headers to be sent in the request. I am able to retrieve expected responseXMLs using an XMLHttpRequest and setRequestHeader(). Now I would like to create a new tab (or window) containing the response document. I would like the default XMLPrettyPrint.xsl file applied to it and when the source is...

Spidermonkey pointing to a NSPR/DIST directory, HELP!

Hey guys, I've been trying to cross-compile Spidermonkey and I am stuck with the problem wherein prtypes.h(NSPR) is unrecognizable. I alread triedy modifying Makefile.ref/config.mk/jsconfig.mk to point to a desired NSPR/DIS directory. I must have missed some basic steps because it still won't make things work. Do you have any ideas on h...

Writing a firefox/netscape plugin

Hi, I am in the process of writing a firefox/netscape plugin (not extension) to run on windows, and I was wondering if you could suggest any sites for guidance and tutorials? I have been looking through the mozilla documentation, specifically the gecko sdk documentations for a reference, but it's not the easiest to follow. Just wonderi...

Color Blindness Simulator

Possible Duplicate: Colour blindness simulator Can anyone recommend a good development tool for testing the affects of colorblindness in applications? A search of SO and Google didn't come up with anything. I am working on a web page and don't have admin privileges so a Mozilla add-on would be ideal. ...

UniversalXPConnect in greasemonkey script

I want to add some button to google reader, that will call some custom XPComponent dll with the feed text, but I am not able to use UniversalXPConnect in greasemonkey scripts. How to call firefox dll plugins from greasemonkey scripts. ...

Mozila plugin auto update error

I'm receiving the error message "An error occurred while trying to find updates for toolbar " on addon console . I'm using sha256sum hash key and McCoy [ https://developer.mozilla.org/en/McCoy ] for signing the install.rdf and update.rdf ...

Firefox Cocoa Plugin

I`ve created simple hello world-like plugin which draws red box. Аfter embedding into xulrunner application the plugin works almost fine. Xulrunner application successfully redraws the box on resizing the application window. But after any mouse event, for instance - left click, my application crashes with "Stack overflow". Debugger say...

How to programmatically update/remove extensions Options

I am installing FF extensions using the information given here https://developer.mozilla.org/en/Installing%5Fextensions. I am extracting the xpi into a folder named after the extension's id. Fine with installation. Now I have two issues, Uninstalling. If I remove the extension id folder, FF is creating an empty folder when re...

I need some tool to view Http Request.

It's probably some browser plugin or a proxy. For example, I open google.com, and type something and press 'Search'. And I want to see all params of http-request (like, method, domain, params etc) ...

where can i find simple example of Mozilla plug-in that mimic firebug element inspection function

Hello all im interested to learn how does firebug implement the "element inspection function" i do not have experience in firefox development but i am experience developer . im trying to avoid divining into firebug source code . because im need only in this function . what will be the fastest way to learn how to do this ? ...

Audio Files : Security concern; how to prevent unauthorized downloading of audio files from a server

For a church website I'm managing, there is a need to place audio files (sermons) on the website. There will be two categories of audio files; one will be a sample size of the audio file, around 5 minutes in length. The other will be the full-length of the sermon (30-50 +/- minutes). I have decided the best setup would be to place t...

Cut and paste out of/ into text fields in a separate window doesn't work

I have a Macintosh Mozilla plugin which puts up a separate window for login information. It seems to work fine, it gets keyboard events like typing and hitting return to hit the default button. HOWEVER, it doesn't seem to get cut and paste events. When I hit Cmd-v, the edit menu flashes, but nothing happnes. Is this a problem with my re...

getting web page data as json object?

I have a url, the data of which page i need as a json object. I ve tried xmlhttprequest and ajaxobject both but doesnt work. It doesnt even give a responseText when I give it as an alert Ill post both the code snippets here. url = http://mydomain.com:port/a/b/c AJAX : var ajaxRequest = new ajaxObject(URL); ajaxRequest.callback = funct...

Has anyone got a simple step by step Mozilla plugin tutorial.

I'm trying to create a Mozilla browser plugin for the sole purpose of detecting with javascript whether or not an application that I have written is installed. This was inspired by another stackoverflow question and answer on a similar subject. All I want really is a HelloWorld type example as what I need to write will be even simpler t...

Creating Your Own Firefox Add-in with Visual Studio

I need to develop an add-in (as a bar) that will monitor user browsing data using Mozilla Firefox (priority) and other web browsers (Chrome, Safari, etc.). I have already done this using IE, but I need the same for Mozilla Firefox too. Any idea, if this is possible, and how to integrate Firefox add-in with the ability to interact with m...

Using nsIZipWriter or other to compress a string as a string?

I need to be able to take a javascript string, compress it using any fast and available means and get back a binary string/blob. Background: The extension I'm developing needs to send various large content to my server. It does this conveniently by dynamically creating a form, adding fields to the form and posting it. Some of these fi...

When creating a JS XPCOM Service can classID be random?

When I create a JS XPCOM service the guid that is used for the classID can just be a randomly generated string correct? following directions here? I ask because I'm forking another project and changed this to a another randomly generated value, and I believe I changed the classDescription, and contractID correctly as well, but I'm not h...

import on csv to sqlite3 crashes

Hello, I have a csv file that is comma delimited. I have no problem with the importing aspect of it except for when the import reaches a line like this: 1,2,3, Canada's,5, 6,7 The import crashes when it reaches the single quote. Does anyone know of a program I could use to import my csv file in to sqlite database without having to get...