mozilla

How to determine the event came from the main document of the tab

I'm developing an extension for FireFox. The extension adds event listener to "appcontent" element on "load" event. How to determine the event came from the main document of the tab? At the moment all events from different elements of the page come (for example image and even the extension document if it fires one). I would like to excl...

Can I add an if statement for mozilla firefox stylesheet?

Hi I'm editing a website that has been made compatable with internet explorer so it doesn't work in firefox. Is there any way to add a firefox or mozilla stylesheet? Thanks for you help Judi <!--[if FIREFOX]> <link rel="stylesheet" type="text/css" href="/AEBP_Homepage_12887/css/firefox.css" /> <![endif]--> ...

Is there any tool like ITester for mozilla?

Is there any browser test tool like ITester for mozilla all version? ...

jquery autocomplete submit issues in Mozilla

Hi, I am implementing jquery autocomplete to show a list of products in a drop down and be able to search on it. In IE, when a user starts autofill and scrolls down to a suggestion and prett "Enter" key, it just select the item and focus remains on the search box. In mozilla, when user scrolls down on auto fill and presses enter key, i...

when to release object in npapi plugin

I am confused about the ref count in npapi. Mostly, I don't know which method will increase ref count. Can anyone explain in detail about this? For the convenience, I listed most common used NPN_* functions here and my own understanding: NPN_CreateObject: set ref count to 0 NPN_RetainObject: inc ref count NPN_ReleaseObject: dec ref co...

How can I find the Firefox window from xwininfo?

Hello all, My Perl isn't very good at all and I am having trouble determining why this awesome perl script keeps returning: Error: No running window found Couldn't find window [Mozilla] in [xwininfo -tree -root] I have setup these variables: my $PROGNAME = $0; $PROGNAME =~ s|.*/||; my $GRAB = 'xwd -silent -nobdrs -id %id | co...

How do I retreive an XUL element’s actual width and height?

I wanna get the actual width of a element for presentation. How can I get it? I see HTML element has offsetWidth attribute but I can't find this attribute in XUL element ...

IE-7 Problem with rendering

I have embedded openwysiwyg editor in web application. The things work perfectly fine in firefox. So the exact scene is I select a drop-down option for email and text area shows up. This text area is replaced by openwysiwyg editor for email formatting. So this looks perfect in firefox, but doesn't work correctly in Internet Explorer 7. I...

How can I prevent Firefox from opening the gridview header sort postback link in a new tab on Ctrl Click

I am trying to make my gridview control in ASP.Net do a multi sort based on if the user pressed Ctrl key when trying to sort by clicking on a column name. The problem is that when I am using Firefox, if I click on a column name with Ctrl key pressed, the browser tries to open "javascript:__doPostBack('ctl00$ContentPla..." link in a new ...

How can I add a backup to an already existing installation of Thunderbird?

Hello, I recently installed windows 7 on a new HD to use on my pc. I did not emediately installed the backup of my previous thunderbird installation to the new HD, which I have been using for about a couple of months now. Now that I want to move the old messages from the previous installation of thunderbird to the new one I see that al...

How to remove drop down menu indicator on a button in a XUL Firefox extension?

I'm working on a Firefox extension that creates a toolbar in the browser. I'm using a with type="menu" to create a menu that pops up when the button is clicked. By default, setting type="menu" creates a little menu indicator triangle, like in this image: Is there any way, either in XUL or in the CSS, to get rid of this indicator tr...

Problem with anonymous login to mozilla cvs

I have an existing Bugzilla installation that I'm trying to upgrade via CVS as per the instructions found here: http://www.bugzilla.org/docs/3.4/en/html/upgrade.html#upgrade-cvs. Basically, I just need to login to the mozilla cvs server, but when I try to do so, it won't accept the 'anonymous' password (or a blank one). I just get dum...

What's the difference between Mozilla Public License 1.1 (MPL) and Apache License?

There are a couple of threads talking about license issue. Mostly focusing on GPL/LGPL/BSD. I am trying to use RabbitMQ in commercial applications, which is licensed under Mozilla Public License(MPL). Is MPL friendly to commercial use? I found a different thread in stackoverflow, one of the comments mentions: MPL: people can take your c...

Firefox: Signed script shows scary certificate dialog

The context: I'm writing JavaScript to run an executable and tweak some registry entries on the client machine. I've signed the .JAR using SignTool and my company's Authenticode certificate, but running the script produces a dialog saying: There is no mention of the root certificate authority (in this case Comodo, I believe), so I co...

Non-drawing Mozilla plug-in

I have some dll that implements some logic. I want to create wrapper that will be accessible from JavaScript of HTML page in Mozilla browser. I have found npruntime framework,but it seems supports only window control, i don't need GUI. I am looking for mechanism like ActiveXObject implemented in Internet Explorer. ...

NS_ERROR_FAILURE

I'm trying to implement the basic XHR listener as described on "Ashita" however, when loading firefox with the extension I recieve this error on whenever a page tries to load which prevents anything from loading: Error: uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIBinaryInputStream...

how to display &nbsp; in Mozilla using XSL.

How can I display &nbsp; in Mozilla using XSL. I've tried CDATA but that didn't work. I am using Firefox 3.5.5 ...

How integrate JavaFX with Mozswing ?

Hi. I'm not able to integrate JavaFX with Mozswing. Simply nothing happened. XULRunner is already configured, it also shows the log at the time of execution. Below is an example of how i am implementing the javafx.ext.swing.SwingComponent, such .fx file: public class SwingBrowserComponent extends SwingComponent { public var mozill...

How can I build an application like Thunderbird? Which language should I select?

Hi, I don't want to build the Thunderbird functionality. I just want to build a project with plug-in features, cross platform, and easy to install. Is there any document which point to the development of Firefox or Thunderbird? I know the Thunderbird is build in C++, then how can i get these kind of graphics and all other function. P...

How come NPRuntime require xpt file ?

I am trying to make sense of whatever I learned about NPRuntime. Here is a example of NPRuntime plugin from from mozilla-central of NPRuntime plugin, which mentions following lines // ============================== 145 // ! Scriptability related code ! 146 // ============================== 147 // 148 // here the plugin is asked by Mozi...