firefox

Is there a public specification of WebGL anywhere?

It seems the Khronos group is fairly closed when it comes to releasing early specs for WebGL to the public. Does anyone know of a resource to keep up to date on API changes? The only thing I can seem to find, short of doing a checkout of Firefox or WebKit sources, is a page from 2007 on Vladimir Vukićević's blog with a small list of Op...

jQuery only working in Firefox - event model issue?

Hi I'm no jQuery expert but managed to get the effects running I required for my WordPress site frontpage at http://www.bringmyshuttle.com View in FF and all works fine; the other filters reset to 'all' when one option is selected, and the correct thumbs are faded out/retained. In IE or Safari, nothing... I built on FF and Safari on M...

Keyboard options for FileUpload in IE differnt from Firefox?

I am using Apache's File Upload. Key board "tab" and then "enter" on the Browse button of File Upload does not open an option to browse in IE, but submits the form. But the space bar works fine. In firefox, it works fine, with "enter" it opens an option to browse. Can anyone plesae let me know why does this happen? Or am I supposed to sp...

Output Flash Trace to Firebug Console

Hello, I am trying to output my Flash application's trace to the firebug console. After some Goggling I have found that other are doing something like this: public static function debug(text: Dynamic):Void { trace(text); ExternalInterface.call("console.log", text.toString()); } My Firebug console never out...

Floating DIVs in IE7 vs. IE8, Firefox, Chrome and Safari

Hi folks, I'm a bit stumped on this one. I am referring to this page - http://savitarbernese.com/welcome.aspx. At the moment it looks okay on IE7 but I can't seem to get it to work on other browsers. As it stands now I had to wrap a couple of DIVs within tables to make the background extend behind the full content. I'm guessing this has...

Firefox not reading DTD?

Hello, I have an XML file (diploma.xml) that looks like this: <?xml version="1.0" standalone="no" ?> <!DOCTYPE Diploma SYSTEM "diploma.dtd"> <Diploma> &students; &Registrations; &Courses; </Diploma> And the DTD looks like this: <!ENTITY students SYSTEM "students.xml"> <!ENTITY Registrations SYSTEM "registrations.xml"> <!ENTITY Cou...

Selecting grandparent div with jQuery doesn't work in IE/Chrome

I have the following jQuery function: function GetGrandparentDiv(item) { return item.parents('div:eq(1)'); } Which is called by the following function: $(".addset").click(function(e){ e.preventDefault(); var addstr = "<span class='setrow'>random html</span>"; var gp = GetGrandparentDiv($(this)); alert(gp.attr...

Best "Getting Started" Tutorial for a firefox extension developer

I browsed amazon but the reviews of all the avaialbe firefox books are pretty discouraging. And the documentation on http://developer.mozilla.org is not really good either. I need to develop a plugin that puts the browser in push mode - waiting on a socket until it receives a URL from there and displays this URL in the current tab. Wha...

jQuery problem with firefox, isn't it cross-browser compatiable?

Hello guys, I have problem here with this code below it works on all browsers except Firefox ,it's in external js file and the link in aspx file $(document).ready(function () { var h = $(".img_cover").width() ; if ($.browser.msie) { $(".download_box").width(h + 1); $(".download_pdf").width(h + 1); $(".right_column")...

Is "localStorage" in Firefox only working when the page is online?

So i'm toying around with HTML 5 and the localStorage and i'm noticing that my values only get stored when i run the page in Firefox on the local host (i.e. http://127.0.0.1:8000/test/index.html) when i run the file locally (file:///C:/test/index.html) my values won't get stored. Safari 4 has no problems with both setups. So does anybody...

Trigger javascript event when using Google auto fill on firefox

Hi all, I have a form, in which I am disabling the submit button until an user has typed in all the mandatory fields. I was initially using onkeyup to keep a tab on the mandatory fields and enable the button when all the mandatory fields are filled. But I had users complaining that they filled in the form using AutoFill button on the G...

How to call bat file present inside firefox extension content directory ..

I have a bat file which needs to be called from javascript in firefox extension .. I have bat file present in content/chrome directory.. I tried to call bat file like this .. var exe = Components.classes['@mozilla.org/file/local;1'] .createInstance(Components.interfaces.nsILocalFile); exe.initWithPath("chrome://sample/co...

Vimperator/Conkeror-like link selection

I use Conkeror on a daily basis except at work where I need Firebug, since I'm a web developer. I really miss having the "follow link" ability in Conkeror but I don't want to resort to using Vimperator to get it. Is there any Firefox extension which lets me follow links by hitting a key followed by the link text like in Conkeror? ...

How can I prevent the backspace key from navigating back?

On IE I can do this with the (terribly non-standard, but working) jQuery if ($.browser.msie) $(document).keydown(function(e) { if (e.keyCode == 8) window.event.keyCode = 0;}); But is it possible to do in a way which works on Firefox, or in a cross-browser way for a bonus? For the record: $(document).keydown(function(e) { if (e.k...

Is there any way to get the Firefox API's

Is there any way to get firefox Api so that i can access them programatially There any other method other than XPCom ...

Zoom firefox to certain resolution

Hello, My page has a resolution of 800x480. It has been designed as such. Now in Firefox (I have control over the viewers machine), I want to zoom the whole screen to 800x600. I know that there is a zoom option, but that does it proportionally (e.g. 150%). Is it possible to somehow to only stretch the 480 to 600 (a sort of a zoom). I ...

How do I redirect a browser to a local file in ASP.NET?

I want firefox to open C:\somefile.txt on the local drive. I've tried response.redirect with the "file:///" prefix, but it just inserts "Object moved to here." into the page. I also want to htmlencode the path because it could contain special chars... Edit: To be clear: C:\somefile.txt is a file on the client box running the browser...

Remote site, local file redirection

As a followup on this answer: Specified javascript does work in case of a local website, but fails in case of a remote site. The firefox extension locallink helps in case of links, but is useless in case of the javascript solution provided by the linked answer. Please provide possible workarounds for redirecting to local files (unc) in ...

jQuery slideToggle - when div is toggled it pushes content out of viewable area (IE)

This is an annoying ocurrance in IE when I use the jQuery slideToggle effect. Without the div being open, page looks normal. The minute I toggle the div open, it extends past the current content, overtop of the footer, and out of the viewable browser area (Even after scrolling all the way down). This feature seems to work just fine in f...

Run ajax while main page is loading

I got this php script that generates reports that take 20 to 30 seconds to complete. I would like to add a progress bar, and I have the progress updating in my DB correctly. The problem is that I cant use jQuery to $.post or $.get while the main page is sitting there loading the report. I can run javascript, like popup a window that sa...