firefox

Javascript form submital works in webkit, fails elsewhere

I've written this code to try and send a url as a post value to the same page. The code worked great in chrome and safari... but fails in FF3 and IE (the last one I could care less about, but I need it to work in firefox). In FF3 and IE it opens up a blank new tab. What should I know about the differences between the way webkit and the o...

Javascript: I have a custom right-click menu but still want the spellcheck!

I wrote a custom right-click menu thing for my website. Firefox automatically does spellchecking and underlines mis-spelled words. However I can no longer right click on these words because I have a custom right-click menu... Does anyone know if its possible to have code like: if(needsSpellcheck) { //use firefox menu } else { //us...

input:focus isn't working on Firefox

I have the following style which I've verified is being loaded: input:focus { outline: none; } :focus { outline: none; } I did this to stop showing the dotted rectangle when I click on something. This works for everything in FireFox that I've noticed, except for my input buttons. My input buttons still show a dotted rectangle around...

RSS displaying correctly in Safari but not Firefox.

Hi folks! I am having a problem with our RSS feed displaying correctly in Safari but not in Firefox. A sample is shown below. The issue is in the <title> tag under <pubdate>. The shows correctly in Safari but is spelled out in Firefox. Has anyone encountered this problem? <?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet type="t...

Firefox: If needs spellcheck?

Possible Duplicate: Javascript: I have a custom right-click menu but still want the spellcheck! Is there a JS property or command to see if a word is underlined in red (ie. needs to be spellchecked) in Firefox? Ideally, for sample code it would be like... if I right click on a word the is underlined in red it will alert: //wat...

Show and Hide div's javascript works in IE but not FF or Chrome

I have a number of spans(20 - to be exact) they all have Id's. I then in my style sheet I set the visibility to hidden. I made this script to show and hide these spans once clicking on a section of the image map: function showDiv(pass) { var divs = document.getElementsByTagName('span'); for (i = 0; i < divs.length; i++) {...

how to make Javascript shortcut in all browser.

I'm trying to make shortcut with javascript. It works with FF but not with IE8. I'm using this code - document.onkeydown=function(e) { if(e.which == 83) { alert("hello"); } } Please give me a simple code which will support all browsers. Thanks ...

Pass information back from an iframe?

Right now i'm building a firefox plugin that duplicates some functionality on my website. It takes in an email address and then returns information to the user. The easiest way to do this in the plugin is to use an Iframe and render that super simple form on my website. All of this works great, but to make the plugin really useful, i wou...

Problem images firefox

Hi guy, I have a big problem with my web site (you can see here), several user can't see images with firefox. I use too firefox but I don't have this problem. These users use firefox 3.5.2 with windows XP or VISTA. I have no idea to find the problem. Have you any idea ? Thanks a lot. ...

Detect Operating System From Firefox Extension

I am developing a firefox extension, i need to detect which operating system firefox is running on but i can't seem to find and info on how to do it? ...

Is the vertical bar (|) valid CSS or Firefox specific?

I noticed this rule in Firebug: *|*:link { color:#0000EE; } I'm not sure that I've ever seen the vertical bar (|) before. It's in the about:PreferenceStyleSheet so it may be Firefox specific. What does it mean? Any link to a reference? I thought possibly that the vertical bar was an "OR", but that's the comma in CSS. ...

Links become undefined after file download in Firefox/Chrome/Safari, not IE

Using ASP.NET 2 I have an aspx page where a linkbutton posts back, generates a pdf file, and uses the following method to send the file back to the client Dim r As System.Web.HttpResponse = System.Web.HttpContext.Current.Response r.Clear() r.ClearContent() r.ClearHeaders() r.AppendHeader("content-disposition", "attachment; f...

JavaScript ranging gone wrong

The following code gives me a really weird error in Firefox: Error: uncaught exception: [Exception... "Index or size is negative or greater than the allowed amount" code: "1" nsresult: "0x80530001 (NS_ERROR_DOM_INDEX_SIZE_ERR)" location: "file:///G:/test.html Line: 13"] <html> <head> <title>test</title> <scr...

Alternative to Firebug for Firefox?

The latest versions of Firebug in Firefox feel like they've been regressing. Performance is abysmal. This is a common complaint amongs everyone on my team, and increasingly among many other web developers online. Are there any alternative extensions for Firefox that gives similar functionality(DOM inspector, Net tab, console)? ...

Firebug memory usage

Hey all, Is Firebug a bit of a memory hog when you run it for a while? Or is it just Firefox? I kinda get to the point where my firefox is using 1 Gb of memory and everything just slows down. Has anyone found a solution for this? EDIT I am running the latest and greatest versions of both. EDIT I suppose there is no real answer to thi...

Firefox engine library

Hi, I'm now using AxWebBrowser component to get DOM from web page and find used styles on each element. Unfortunatelly this is not working perfectly and some elements doesn't return correct data. I'm thinking about if it's possible to use engine from firefox? Is there some dll library I can use, navigate to the page and go throw DOM of ...

Firefox [npapi] plugin development - firefox freeze when calling a method

Hi, I'm trying to learn how to write a Firefox plugin. I downloaded the npruntime example from Mozilla compiled it and ran it. Getting properties from the plugin worked well but when I tried to call a method, Firefox freezed. I thought maybe something is wrong with the example, so I wrote my own basic scriptable plugin that has one prop...

java runtime 6 with socks v5 proxy - Possible?

I have written an application that (amongst other things) runs a local service in windows that acts as a SOCKS v5 proxy for Firefox. I'm in the debugging phase right now and have found certain websites that don't work correctly. For example the Java Applet for Picture Uploading on Facebook.com fails because is is unable to lookup domain...

-moz-focus-inner

In another question I asked about alignment this was given to me to answer the question about firefox being a twit. It worked but it has left a sour taste in my mouth and I'll explain why. button::-moz-focus-inner { border: 0; padding: 0; } Opera (10 for this example), Firefox (3 for this example) and Internet explorer (7 for thi...

How do you configure firefox to open an application without prompting the user?

I've got a serverside app that send down a custom mime-type file "application/x-optibase". Firefox prompt user user to save or open the file and if the user clicks open the correct application launches so I believe I have mimeType.rdf configured correctly I've gone into about:config and set browser.helperApps.neverAsk.openFile to appl...