firefox

Firefox kills Java applets when out of view

Hiding a Java applet using display: none causes firefox to kill the applet until it is visible again. It also seems to kill the applet if you position the applet out of view ie. position: absolute; left: -9999; Using visibility: hidden; will hide the applet without killing it, but then the applet still takes up space in the layout wh...

How to extend the sensible area around active area (hyperlinks) in Firefox ?

At which level in Firefox the active zone around active areas (text and image hyperlinks) is defined ? I would like to experiment ways to extend them to ease the use of touchscreens for the web... ...

Change HTML-select element value with mousewheel in Firefox

Hi there, Is there any possibility to tell Firefox to use the mousewheel für scrolling through the select element. In firefox after selecting another value the select element looeses its focus, and in IE it doest loose its focus, so if i use my wheel the onchange event is fired. Try here. Is there any solution? Thank you ...

Firefox hides vertical scrollbar if element's height is less than 32px

Hi all, in FF3 (3.0.14) I'm seeing an issue where the vertical scrollbar is hidden on an element if its height is less than 32px. In my (much simplified) example below, the scrollbar doesn't appear on "shouldScroll" - even though its child is larger than it - until I increase its height. Does anyone know if this is a known issue with pa...

IE7 versus FF floating issue

The following code renders differently in IE7 and FF3 (NEW CODE POSTED OLD CODE WAS MISLEADING - sorry for confusion) <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; <html> <head> <style> #boxr1{ background-color:#FFFFFF; border:3px solid #DDDDCA; float:ri...

How to call webservice in javascript for firebox 3.0.

Hi, I have a problem with calling .Net web services with a Firefox client. A simple example will be enough for me. Server side code is like this: [WebService(Namespace = "http://tempuri.org/")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] [ToolboxItem(false)] public class Service1 : System.Web.Services.WebService { [Web...

PHP form validation + cookies = Firefox cache problem?

I have a simple form validation class in PHP. It works like this: A: form page that POSTs results to VALIDATION page VALIDATION: checks results. If wrong, set cookies with the name of the fields that are wrong and the message for each input error. Go back to A form page by using headers location property. A: if the cookies are present...

How do I access currently selected text from a bookmarklet, while on gmail.com

I'm using FF 3.5.3 on Windows Vista. This is my (edited for shortness) bookmarklet: javascript:(function(){ var text = window.content.getSelection().toString(); alert(text); })(); Works, but not on gmail.com. Probably due to dynamicly generated content. I'm aware of this workaround, but it only works for Firefox extensions. ...

How do Javascript's "multiple execution contexts" work?

Javascript does not have visible threads (yet -- Worker Threads are coming, see more info in http://stackoverflow.com/questions/30036/javascript-and-threads). However, it does seem to have multiple execution contexts that appear to exist simultaneously -- independent, when you have multiple Firefox Windows, and multiple Firefox/IE tabs....

Comet Jetty/Tomcat, having some browser issues with Firefox and Chrome

I am exploring the use of Comet for a project I am working on. I tried creating a test application first using Tomcat6 and CometProcessor API and then with Jetty7 Continuations. The application is kind of working on both but I am having some issues with the actual display of messages. I used the technique of creating an XMLHttpRequest Co...

php suddenly very very very slow

I'm working on a webapp using php, apache en mysql. For the past year the response times of this application have been good. Suddenly yesterday the application became very slow on firefox (complete page load, including css and js files: around 20 secs. During page load firefox is completely unusable). Interestingly the responsetimes in I...

Checkbox not checking inside div in Firefox

Weird problem. I don't know if anyone can shed some light on this? I have a checkbox inside a div. It works fine in IE but not Firefox. I have to click the space around the checkbox that is occupied by the div (sort of like a label) for the checkbox to tick on and off. Directly clicking the checkbox does not show it as ticked on or of...

Radio buttons being reset in FF on cache-refresh

(This is technically an addendum to an earlier StackOverflow question I had posted, but my original post asked a different question which doesn't really cover this topic -- I don't want to edit my older question as I feel this is different enough to merit its own page) While browsing my website in Firefox 3.5 (and only FF3.5), I come ac...

How do you insert a string of escaped HTML that is larger than 4096 bytes into a CKEditor instance?

I recently brushed up against Firefox's 4096 byte (4KB) limit for individual XML nodes when using Paul Schreiber's unescapeHtml string method to insert a large string of escaped HTML into a CKEditor instance. This approach did not handle a string over 4KB in size in Firefox 3.5.3 due to the browser splitting the content into multiple no...

Firefox cache path construction Mac OS X

I know the path for Firefox's cache is as follows on Mac OS X Leopard: ~/Library/Caches/Firefox/Profiles/COMPUTER_CODE.default/Cache How is the variable "COMPUTER_CODE" above created? I assume it is different from computer to computer. I want to be able to programmatically delete this cache if it exists. ...

shift-reload in FF gives unexpected results

dear javascript mavins, I'm presenting a simple animation using img.src replace and the <canvas> tag. At present it's only expected to work in FireFox (FF 3.5.3, Mac OS X 10.5.5), so cross-browser compatibility isn't (yet) an issue. When the page is first loaded, or loaded into an new window or tab, all seems to work as expected, and t...

jQuery animate() deselects text in Firefox

Here's the code: $("#textyt:input").focus(function() { $(this).animate({width:"545px"},500).css("color","#614A3E"); $(this).select(); $(this).mouseup(function(e){ e.preventDefault(); }); }); If I take away the animate effect, this focus event selects the text (as I'd like). With the animate effect, the text deselects when the an...

Insert into SQLite with variables using javascript

Hi, I am developing an extension for firefox and i have created a SQLite DB. When inserting values into the table i get an error message: Error: Permission denied for http://en.wikipedia.org to call method UnnamedClass.toString on <>. The string values to be inserted are stored in a variable. var book = "Harry Potter"; var myInsertQuer...

Creating unsafe browser XUL element from Firefox extension gives (NS_ERROR_FAILURE) [nsIWebNavigation.sessionHistory]

I'm trying to add hidden browser element dynamically from Firefox extension but, although it adds successfully, it gives me Error: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIWebNavigation.sessionHistory]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://global/content/bind...

Strange behaviour with range.toString()

I want to get back the text that I select in an element using the Range object provided by Mozilla's flavour of javascript. So I do this: //assume that I'm only using Firefox, and there is just one selection var range = window.getSelection().getRangeAt(0); var rangeText = range.toString(); This works OK when the html of the selected ...