5
голосов
4ответов
1742 просмотров

Difference in jQuery with XML namespace and xhr.responseXML between Opera and Firefox

Consider this: <!DOCTYPE HTML> <html><head><title>XML-problem</title> <script src="jquery-1.3.2.min.js" type="text/javascript"></script> <script type="text/javascript"> $(function() { $('<p/>').load("text.xml", function(responseText, t...

2
голосов
1ответов
1265 просмотров

Creating a Firefox extension to edit "network.automatic-ntlm-auth.trusted-uris"

On the sharepoint site we're developing at work, people are able to log into the site using IE 7, but when prompted for the username and password on firefox 3, it doesn't matter how many times you try to log on, the username/pass window keeps popping up. If you click cancel it denies you access i...

4
голосов
1ответов
1675 просмотров

Seeing duplicate http requests in server logs

I have started a small django application in my machine. When i have seen the request logs I figured out that It is actually logging the same requests twice. After a little investigation, I disabled all of my add-ons in my browser and tried. To my surprise i din't see duplicate requests in logs ...

17
голосов
5ответов
5010 просмотров

jQuery works in Firefox when Firebug is running, does not work when Firebug is NOT running

I have the following Javascript libraries loaded for my page. <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script> <script type="text/javascript" src="http://cdn.jquerytools.org/1.1.2/jquery.tools.min.js"></script>...

5
голосов
6ответов
11383 просмотров

"onchange" event delayed in IE? (ok with Firefox)

It might be a beginner question but I can't understand why the onchange event is never called by IE while it works Ok with firefox. <input type="text" id="mytext" size="48" value="" onchange="execute()"/> <button type="button" onclick="execute()">Go</button> The execute funct...

7
голосов
1ответов
2340 просмотров

Firefox does not preserve custom headers during Ajax request redirect: an ASP.NET MVC solution

I use ajaxForm with jQuery, and there's one problem with Firefox - for some reason it does not preserve X-Requested-With custom header (which is used to detect IsAjaxRequest()). This leads to my controller action returning full view instead of partial since IsAjasxRequest() returns false after re...

0
голосов
1ответов
589 просмотров

When does firefox call nss_init?

I have my very own privacy CA library. So now I want to integrate it with the mozilla nss. So every time when my firefox want to access https page, it will call this library via nss. my problem is, i could not find, at with point (or with source file) within firefox that make a call for nss_init...

1
голосов
2ответов
1142 просмотров

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(); Th...

0
голосов
1ответов
1145 просмотров

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

1
голосов
3ответов
3067 просмотров

Insert into SQLite with variables using javascript

I am developing an extension for Firefox and I have created 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 varia...

2
голосов
1ответов
799 просмотров

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

1
голосов
3ответов
379 просмотров

shift-reload in FF gives unexpected results

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

0
голосов
1ответов
804 просмотров

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

0
голосов
1ответов
791 просмотров

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

0
голосов
4ответов
2636 просмотров

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

0
голосов
1ответов
1484 просмотров

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

6
голосов
6ответов
12999 просмотров

PHP is suddenly super slow

I'm working on a web application using PHP, Apache, and 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 JavaScript files: around 20 seconds. During page load, Fire...

3
голосов
3ответов
2457 просмотров

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

7
голосов
1ответов
718 просмотров

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

Javascript does not have visible threads (yet -- Worker Threads are coming, see more info in 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...

4
голосов
1ответов
1271 просмотров

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

1
голосов
2ответов
1437 просмотров

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

0
голосов
2ответов
1885 просмотров

How to call webservice in Javascript for Firefox 3.0

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

0
голосов
4ответов
383 просмотров

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"> <html> <head> <style> #boxr...

3
голосов
3ответов
1769 просмотров

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

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

0
голосов
2ответов
2046 просмотров

Change HTML-select element value with mousewheel in Firefox

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

0
голосов
3ответов
488 просмотров

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

1
голосов
2ответов
1413 просмотров

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

0
голосов
1ответов
257 просмотров

Why does my heading disappear in IE7 and change color in FF?

This is probably an easy fix, but I'm stumped. Here's the URL: http://urgent.mchenry.edu First off, underneath the urgent.mchenry.edu text box in the header is an h2 w/ class="caps" and text that says "Official McHenry County College Update". However, it absolutely disappears in IE7. Gone. I t...

1
голосов
2ответов
1094 просмотров

Modify Google Chrome or Mozilla Firefox display settings

I would like to know if it is possible to modify Chrome or Firefox display settings, so that it would only show rectangles of HTML DOM objects? What I want to do is to decrease rendering engine job amount as much as possible, so it would only build layout of the page.

0
голосов
2ответов
193 просмотров

Rendering differences between Firefox 3.0 and 3.5

I'm working on a large site and starting on browser compatibility next week. Just had a glance in some different browsers to have so idea of whats ahead of me and i noticed differences in FF3.5 vs FF3. The site has been built in FF3.5/IE8. So I'm wondering if there are know issues between the tw...