mozilla

Do Mozilla apps have access to the process manager?

So really I have 3 questions, but they are all pretty straightforward (for once): Can an add-on in Firefox see if there are multiple instances of Firefox/the firefox process running? Since the only way (in Windows, at least) to have multiple instances of Firefox running is by having them run under different profiles, is it possible for...

window.open() not playing well with anchors in Firefox 3.

The following javascript, intended to open a new window and jump to a specified anchor, works great in IE. Unfortunately, in Firefox, it opens the window, but it doesn't jump to the anchor. I've been struggling with this problem for a couple of days now (searches and modifications) to no avail. If anybody has any insight as to how I ca...

Firefox extension to alert on missing .js files?

I am porting a Web App to a new environment. Due to changed paths, some references to JavaScript Files () are broken. I know of no way to make Firefox / Firebug / the web developer toolbar to warn on missing JS files, or at least issue an information somewhere. Am I overlooking something? Thanks in advance. ...

Embedded music player not working in opera and mozilla browser.

Hi, The media player embedded code work only in IE.How I can do it able to work on opera ,mozilla and other browser.I am using this below code. <HTML> <HEAD> </HEAD> <BODY> <OBJECT ID="Player" height="0" width="0" CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"> </OBJECT> <INPUT TYPE="BUTTON" NAME="BtnPlay" VALUE="Play" OnClick=...

Display caret position in textfield in Firefox or resize textfield as needed.

There is an annoying bug in Firefox which allows me to set the caret position in a textfield, but it does not automatically scroll that caret into view. My particular issue arises when using the jQuery Masked Input Plugin (http://digitalbush.com/projects/masked-input-plugin/) If the width of the textfield is less than the width of the ...

how does jemalloc work? what are the benefits?

Firefox 3 came with a new allocator: jemalloc I have heard at several places that this new allocator is better. The top Google results don't gave any further information though and I am interested in how exactly it works. ...

NS_ERROR_FILE_IS_LOCKED when several requests using SQLite on mozilla plateform

I'm trying to use Storage mechanism in mozilla platform (in thundebird 3.0). The following code is used after each test to erase the table present in the database: function tearDown() { let database = new Database(); let req1 = "SELECT name FROM sqlite_master WHERE type='table'"; let statement = database.connection.createStateme...

What's the difference between "domain" and "non-domain" cookies?

I'm reading the MDC entry for nsICookieManager2.add and it talks about domain and non-domain cookies. What are the differences between the two types of cookies? ...

What does this code (from a Mozilla Add-on tutorial) do?

var Helloworld = { onLoad: function() { // initialization code this.initialized = true; }, onMenuItemCommand: function() { window.open("chrome://helloworld/content/hello.xul", "", "chrome"); } }; window.addEventListener("load", function(e) { Helloworld.onLoad(e); }, false); http://kb.mozillazine.org/Getting%5Fstar...

problem on executing on mozilla (activexobject is not defined)

my source is working in IE but not in mozilla. please help me. <script type="text/javascript"> <!-- var adOpenDynamic = 2; var adLockOptimistic = 3; /* Path of database. */ var strDbPath = "..\\SRVGdb.mdb"; /* Here is the ConnectionString for Microsoft Access. If you want to use SQL or other databases, you hav to change the connection...

Mozilla Rhino: Different ways of adding Java object to scope

I've got this piece of Java code with embedded Rhino (irrelevant bits omitted): Context cx = Context.enter(); Scriptable scope = cx.initStandardObjects(); scope.put("foo", scope, Context.toObject(foo, scope)); ScriptableObject.putProperty(scope, "bar", Context.javaToJS(bar, scope)); where foo extends ScriptableObject and bar is just...

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

Replace Helvetica Neue with a different font in firefox.

Is there a way to replace the font 'Helvetica Neue' with 'Verdana' in firefox via the userchrome.css, usercontent.css, or user.js? I find this font extremely hard to read without zooming the content. Thanks. ...

Which configuration properties are new in Firefox 3.6?

Hello! Now in beta-stadium, I suppose, Firefox 3.6 will not change much. I wonder, is there somewhere a list of new configuration properties (from version 3.5 to 3.6)? I mean those in about:config. ...

Mozilla Print Preview

i had created one web page with header image (style="background-repeat: repeat-x;"). I have need print this page. Then print preview click and i see 2 pages. first page top position include header image and then 2 page is same header images included, but i need only first page with header image, 2 page don't need header image. please hel...

Silverlight InitParams prompting to install Silverlight in Mozilla and Chrome

I have a problem with a Silverlight control's behavior in an ASP.NET page. The control works OK within IE, but in Mozilla, I get the 'install Microsoft Silverlight' message. After some try/fail sessions, I came to the conclusion that I get that message in Mozilla only if I use the <param name="InitParams"/> param in my Silverlight contr...

What's the easiest way to pass image data from the client side to a mozilla plugin

I have a Zebra label printer on an XP box which I want to drive with JS in a FireFox browser. Currently I have a plugin based on the npscriptable geko sdk sample. I pass strings in using JS string property sets, and the plugin renders the strings: <form> <input type="button" value=" Print Label " onclick="doPrint();return false;" /> ...

Firefox 3.0 CSS Drop Shadows

What is a technique to add drop-shadows to text that would work in Firefox 3.0? FF3.5 and Chrome support the CSS3 property drop-shadow: p { text-shadow: #000 2px 5px; } IE6, 7, 8 support filters: p { filter: shadow(color=#123456, strength=2); } How would you do it for Firefox 3.0? It uses the Gecko rendering engine and none of the...

Firefox 3.6 build error on Windows VS2005 - C compiler cannot create executables

I am trying to build Firefox 3.6 Beta 4 using Visual Studio 2005 on Windows. I downloaded the release source, the latest version of mozilla build, but get the error "C compiler cannot create executables.". I have been able to build all other 3.5 and previous versions without any issues. The problem occurs at the start of the build proce...

Mozilla CSS bug : table with bottom-border + border-collapse : causes random borders to appear and disappear

When applying a bottom border to a table, with "border-collapse" set to "collapse", weird random bottom borders appear below some table rows, of varying widths -- they appear and disappear when scrolling, sort of like the IE6 "peekaboo bug"; resizing the window, or switching to another application and back again, makes them go away, scro...