IE works fine, but FireFox does not.
I am setting a cookie on my default.aspx page:
HttpCookie hc = new HttpCookie("guid", guid.ToString());
hc.Expires = DateTime.Parse("12/12/2010");
Response.Cookies.Add(hc);
My upload control (I'm using SWFUpload) submits to upload.aspx.
On upload.aspx I call:
if (Request.Cookies[...
Using Firefox 3.5.7
The following test page should behave like Opera, Safari and Chrome.
Key presses (arrows or 1-5) should have no effect (i.e. The events should be cancelled so that the number never changes from the initial default "3").
[I have separate working code for IE too].
Many thanks to anyone who can make it work?
<html...
I would like to know what is the maximum length of a String when saving in the classic preferences System:
var prefs = Components.classes["@mozilla.org/preferences-service;1"]
.getService(Components.interfaces.nsIPrefBranch);
prefs.setCharPref("com.exemple.namespace.preference", potentiallyLongString);
Couldn't find it...
Google Maps can now pinpoint my location with street precision with the help of Firefox.
I understand this is a new feature of HTML 5 compatible browsers and that the location is fetched by using some sort of feature of the connected WiFi network (I hope I'm not making any silly assumptions).
What I intend to know is how this whole pro...
I implemented SWFUpload on my site and it works great in IE, but in Firefox no data is POSTed to the server. I have verified this using Charles. I noticed from the debug info that in IE the last two lines read:
SWF DEBUG: Event: uploadSuccess: File ID: SWFUpload_0_0 Response Received: true Data:
SWF DEBUG: Event: uploadComplete : ...
I have the test code below. I was expecting Firefox to display the first image, execute the delay and suspend the retrieval of the second image then display "Hello" and the second image.
Why is it displaying everything at once after the delay?
UPDATE: I need to add more clarification. I am NOT trying to write production code. I read th...
When I refresh the page below in FF 3.0, I expected the web page to clear but it didn't.
Why doesn't document.body.innerHTML = "" clear the page?
UPDATE:
I am trying to clear the previous screen during a refresh while the new page is loading. I actually want to see the page clear, wait and then the next js running. I don't want to clea...
Can we write some add-ons for Firefox with .Net Framework (C# or VB) ?
...
Hi,
I'm curious with all the webservers reloading the code on save, can't we just make firefox do the same when in develop mode? any hints on how to do this?
...
Apparently, latest Firefox versions stores its bookmarks in a file called 'places.sqlite'. Like a browser can import the bookmarks from another browser, I would want to import the bookmarks to a file, but I need to know what would you need to do it?
...
I would like to use feature detection to tell whether the user's version of Firefox supports the CSS style value -moz-linear-gradient. (This was added in Gecko 1.9.2. Version 3.6 of Firefox uses this.)
I can't use document.body.style.mozLinearGradient (or something similar) because -moz-linear-gradient is not a style property but a styl...
uri = 'http://www.nytimes.com/';
searchuri = 'http://www.google.com/search?';
searchuri += 'q='+ encodeURIComponent(uri) +'&btnG=Search+Directory&hl=en&cat=gwd%2FTop';
req = new XMLHttpRequest();
req.open('GET', searchuri, true);
req.onreadystatechange = function (aEvt) {
if (req.readyState == 4) {
if(req.status == 200) {
...
I'm trying to detect when a user hits escape or enter when in a xul textbox (firefox extension). But the following code doesn't seem to work. Any assistance would be much appreciated.
const KEY_ENTER = 13;
const KEY_ESCAPE = 27;
function keyPressed(e) {
switch (e.keyCode) {
case KEY_ENTER:
// do something
...
hi,
Below is the sample html code i using in my webpage
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
</h...
Hello.
I have this simple:
<script type="text/javascript">
$("#message").fadeIn("slow");
</script>
<div id='message' style="display: none;">
<span>Hey, du har fået +1 points, du har nu <u>2929</u></span>
<a href="#" class="close-notify" onclick="closeNotice()">X</a>
</div>
And i have a design on my site. When i use this, it w...
in firefox when im inside a input textbox and press down the up/down arrow key it doesn't autorepeat. how can i make that happen and control how many keypress it will fire up per sec?
UPDATE: i use:
$('#search_view #search').live('keydown', function(event) {
if(event.keyCode == 40) {
// code
}
});
but it just execute t...
I have a simple jQuery AJAX funciton:
$.ajax({
type: "GET",
url: "json/" + address,
dataType: "json",
timeout: 1000,
data: "username=" + username + "&paging_limit=" + paging_limit,
success: function(json){alert("somthing")},
error: function(){alert("somthing else")}
});
I get the following error in Firefox (3.6) when the req...
Hi,
I just created an image gallery at http://nu-lightbox.appspot.com/, a google app engine. I tested this website with firefox 3.5 in Windows XP and Ubuntu Linux. If you open the website and click on the circular blue arrowed button, you will notice how jaggy (not smooth) the animation is.
The weird thing is when I open the HTML pag...
I'm writing a customer form, where a drop down menu should be automatically set to the appropriate option if the window.top.document.url is known.
To achieve this I do a <body onload='javascript:init([Generic value])' which calls
function init(value) {
if (value) {
document.getElementById('RefererURL').value = window.to...
Hello experts!
I have currently changed to Mac from Ubuntu and for some reason viewing xml files in Firefox differ between the two. In Ubuntu Firefox(3.5) I get a XML tree but in Mac OS(10.6) Firefox(3.6) i get plain text. To se the xml tree i need to check the source. It is the same xml file.
Could someone please explain why and how t...