firefox

Firefox "Bad request" caused by corrupt google tracking cookie

Hi there, We have an issue on our site whereby some Firefox users are receiving a "Bad Request" message when they visit our site (nothing else, just the words "Bad Request"!) This would appear to be due to a corrupt google tracking cookie, possibly __utmz (one person delete the google cookies in turn and once that one was removed the s...

layout problem with select fields (firefox)

The select fields have both the same size attribute, but the options having a class with a specific padding (all the same class). But an empty select field has now a different length if it has no option elements. +-------------+ +-------------+ | foo | +---+ | | | bar | | > | | | | baz...

Why is jQuery.position() behaving differently between webkit and firefox/MSIE

Here's a long one. I'm trying to implement horizontal scrolling in my site. It's working fine in Safari and Chrome, but not in Firefox (I'll not get started on IE's issues just yet). From what I can tell, Webkit is using the relative position of the scroll bar grabber div, while firefox is taking it's position relative to the document. ...

jQuery tablesorter plugin works in IE but not in Firefox or Chrome

I am trying use the jQuery table sorter plugin for a table that is generated using ASP.NET gridview. For some maddening reason, it works fine in IE but not in Firefox or Chrome. It always seems to sort only on the first column even if you click on other columns. I have uploaded the generated html (after stripping to the bare minimum w...

Problems with javascript scope in firefox

Hello! <div id="myElement1"></div> <div id="myElement2"></div> <script> window.onload = function() { document.getElementById("myElement1").onclick = function() { for (i = 0; i < 2; i++) { document.getElementById("myElement2").onmouseover = func; function func() {alert("hello"); } } } } </script> In...

django : recaptcha : Error in firefox works in IE & chrome : RecaptchaState error

I have integrated Recaptcha with dJango. dJango Snippet - Recaptcha The view which is showing the page is - from baseapp.recaptcha import captcha def showHome(request): if(request.user.is_authenticated()): tempEmail = request.session.get('id') return render_to_response('logreg/login-register.html', ...

How to extract website information using XPath inside firefox extension?

Hello, I have made a firefox extension which loads a web page using xmlhttprequest. My extension has it's own window opened alongside the main Firefox. The idea of my extension is to load a webpage in memory, modify it and publish in newly opened tab in firefox. The webpage has a div with id "Content". And that's the div i want to mo...

Configuring Firefox 3.0.x to send a Kerberos token

Hello, I'm trying to convince Firefox 3.0.14 to send a Kerberos token. I have configured the service correctly and IE will send a Kerberos token (i.e. starting YI..), but after adding the hostname to the network.negotiate-auth.trusted-uris and network.negotiate-auth.delegation-uris settings in about:config, Firefox only sends an NTLM t...

jpegs are corrupted when resampled with java imageIO

The JPEG Images that ImageIO generated view correctly on windows file explorer, as well as safari webbrowser, but in FireFox, the resampled images are clipped. How do I use ImageIO without corrupting the resamples? The code should resize image keeping aspect ratio, as well as do jpeg compression, the convert it to a byte [] array, whic...

GetElementById IE

Hello. I have this: <input type="hidden" id="aid" value="<? echo $_GET['id']; ?>"></div> and var aID = document.getElementById('aid'); var postFile = 'showcomments.php?id='+ aID.value; $.post(postFile, function(data){ Why will this only work in FF and not IE? ...

Button command firing twice with ButtonField inside GridView inside UpdatePanel with FireFox

I have an update panel which contains a GridView, inside which is a ButtonField. Whenever I press the button I see Firefox doing two POST's (via Firebug). One gets aborted right away, but does reach the server. This causes problems on my server side code as the command (a copy) gets executed twice. IE6 and IE8 do not exhibit this behavi...

Incorrect option selected

Hi, I've created a combo box in a form using the following: <select id="end_minute" name="end_minute"> <option value="00">00</option> <option value="15">15</option> <option value="30">30</option> <option selected="selected" value="45">45</option> </select> In Firefox, he first option is selected, but in IE the option with att...

HTML problem, only works in Webkit

This works fine in Webkit, but when I go to Firefox (Or IE8) it totally messed up. I've been staring at this for so long that I can't find any errors at all with it, so maybe one of you guys can point out where I'm going wrong. CSS: body { font-family: Georgia, serif; margin: 0px; padding: 0px; background: #222; } hea...

What's up with document.domConfig on Firefox?

I was iterating over properties of document when I ran into an interesting phenomena in Firefox, document claims to support the property domConfig although MDC says it isn't implemented but when I try to retrieve the property I get an exception: Error: uncaught exception: [Exception... "Component returned failure code: 0x80004001 (NS...

compile npapi plugin in Mac OSX?

I only have ssh access to a Mac OSX 10.6 computer, so, Xcode is out of scope. Currently, I have trouble to figure out the right format of g++ output: do I need to append -shared and -fPIC, or -dynamiclib or other magic flag in order to get a firefox recognizable binary? ...

XPCOM Shockwave Flash C++

Hi, I recently started "playing" with xpcom, and I would like to know if there is a way do interact with a Shockwave flash element. In IE I can use the IShockwaveFlash interface, but for the Firefox I can't find any interface. I tried using the nsIFlash5 definition from the header file "wrap_XPCOM_3rdparty.h" (acquired from the XulRun...

Selection object behaving strange in Chrome contentEditable element

Hi, I'm working on a realtime syntax highlighter in javascript using contenteditable. When parsing content I extract the text of the div and use regex patterns to style it properly. Then I set the innerHtml of the div to the parsed content. However, this makes the cursor disappear from the screen. I have created this function to reset ...

Moving checkmarks in checkbox lists after page reload - Firefox only

I'm getting some strange behavior in Firefox whenever I put checkboxes inside a list (ol, ul, dl), and then dynamically insert buttons above the list. If I start with a something simple list like this: <dl class="c"> <dt><label for="a1"><input type="checkbox" id="a1" />one</label></dt> <dt><label for="a2"><input type="checkbox" ...

How can I stop an IFrame reloading when I change it's position in the DOM?

Is there any way to stop an Iframe re-loading it's contents when I change it's position within the DOM? Simple example: <script type="text/javascript"> function moveiframe() { var dest = document.getElementById('newparent'); dest.appendChild(document.getElementById('googleframe')); } </script> <iframe src="http://www.google.com"...

SWFUpload works in IE, but not in Firefox

Using SWFUpload v2.2, Firefox 3, IE 8, Flash 10 In my ASP.NET application all uploads are being processed by upload.aspx (I have the correct upload_url set in the settings object). In IE 8 the uploads hit the upload.aspx page and are processed, but in Firefox they do not. Any suggestions? Most of the code for the page that the user vis...