I am testing the speed of different methods to dynamically add html elements to the DOM. I've build a tester here (code is working version, so pretty sloppy). The results are (very) different for different browsers with Chrome getting all the points for speed, and Opera a good second - but that's not the question here.
In Firefox I det...
Why does Firefox not handle this. This code works in IE.
<%@ Language=VBScript %>
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
</HEAD>
<script type='text/javascript'>
function drvFunc(elem)
{
var e = elem.name;
var d = "document."
var f = "frm";
var str = d+"."+f+"."+e+".value;";
ale...
Hi All!
I recently used jquery and the form validation plugin on a form we're testing at our community college:
www.mchenry.edu/parentorientation
Right off the bat, (if viewed with FF, Opera, Safari, etc.) when you click submit w/o entering any values, you get some nice error messages in the form, the intended effect. However, if yo...
This is sort of tangential to coding, but programmers often do "view source" on their own pages and on others' pages. I learned that when you do the normal View Source in Firefox, it takes the URL you're at and issues another GET request to that URL. There are two reasons why this is bad:
If you've just issued a POST and do View Source...
This code will work fine in Webkit (chrome) but not in firefox, where the second span will drop, do you know why?
<div id="sbar">
<span id="status">Some Text</span>
<span id="mlog" style="float: right;">Some text in the right</span>
</div>
...
I have created a simple JSF image browsing app, and I'm having a problem with firefox.
The app itself is running inside Tomcat. The pictures are stored in a directory that is served by Apache. I've got 9 pictures that get shown on a page. The servers are on a machine separate from the client. When I try to load the page in firefox...
Are there ways to remove the sliding and fading effects from Firefox as an end user when I visit web pages that use such javascript effects?
When some element is inserted into the DOM, the elements after it are slided down. This is a graphical effect, that is very time and bandwith consuming when someone is viewing over a remote connect...
If you set the innerHTML of a <div> to innerHTML = '<a href="Something/C%23">C#</a><br />';
What seems to actually get 'rendered' is:
<div>
<a href="Something/C#">C#</a><br />
</div>
What is the proper way to escape this so the link will stay "Something/C%23" ?
UPDATE:
I noticed a weird little thing here. If you use a function to b...
For testing purposes, I want to install two different instances of firefox on ubuntu - so that they don't share cookies.
(I want to simultaneously login with both instances as different users to our website).
How do I do that?
I do it with Firefox & Opera, but I prefer Firefox (because of firebug).
...
As a side result of testing some code I wrote a small function to compare the speed of using the array.push method vs direct addressing (array[n] = value). To my surprise the push method often showed to be faster especially in Firefox and sometimes in Chrome. Just out of curiosity: anyone has an explanation for it?
You can find the test ...
You have a console.log(o) in your code.
Now in Firebug you can click on the object in the console, which takes you to the DOM inspector.
I thought there was a way to then access from the console command line that object you just inspected with $0, but it doesn't seem to work.
Maybe something changed in Firebug, or I don't remember thi...
Are there any plugins out there that will simulate a double click in any of the major browsers?
I'm trying to test some code that prevents double clicks on form submission buttons, and would love to be able to either use a hot key or the middle mouse button to send a double click to the browser.
Thanks
Don
...
XUL panels in a Firefox extension overlay always come with a shadow for free. How can I remove this shadow?
Example code for the shadow effect I don't want:
<popupset>
<panel id="popuppanel" width="500" noautohide="true">
<vbox>
<label value="test"/>
<label value=""/>
<label value=""/>
...
I downloaded Firebug and attempted to use it to debug JS for a site that uses frames.
My understanding is when I go to the Script tab in Firebug, I would see the JS functions on the aspx and the JS in any files that are included and I would be able to set breakpoints.
However, all I see on this site is:
</head>
<frameset>
<frame src...
I am interested if it is possible (via plugin or other means) to add line numbers (and perhaps more) to vanilla firefox text areas (I know there are various code editors, and there is its all text plug in, but wasn't sure if there was something simpler that works in place)
...
I am calling a COM component in IE. Here is the code
<object align="left" classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
id="Winvideo-Silverlight2RTW-Hypervideo-Part1-WMVa.wmv">
<param name="FileName" value="Winvideo-Silverlight2RTW-Hypervideo-Part1-WMVa.wmv">
<param name="AutoRewind" value="true">
<param nam...
Hi all,
I have a sIFR replaced H2 link that simply toggles (w/ jQuery) another div on and off. 'Seems' to work in all browsers but Firefox 3. Any thoughts ?
<ul id="titlenav">
<li><h2><a href="javascript:void()">Title</a></h2>
<ul id="titlemenu">
<li>1</li>
<li>2</li>
<li>3</li>
</ul>
</li>
</ul>
$(...
I am trying to write PHP code to delete all of the user cookies on my domain.
Here is what I got:
<?php
$domain = 'www.example.com';
$deleteExpiration = time() - 60*60*24*365*10; // 10 years ago
foreach (array_keys($_COOKIE) as $cookie) {
setcookie($cookie, 0, $deleteExpiration, '/', $domain);
}
Running this code on http://www.ex...
Firefox 3 now stores bookmarks in a Sqlite file called profiles.sqlite.
This file is locked while Firefox 3 is running.
I know that there are backup files, but they are old (only written when FF exits).
I do not want the user to have to install a plug-in.
Is there a way to grab the bookmarks while FF 3 is running?
I am developing in...
Over the last few days, I've noticed that (occasionally) when testing my own site in FF, it loads the first time that FF has been opened, but it seems to hang on subsequent loads (windows only - i haven't noticed this behaviour on mac, but i don't use my mac as much).
The url is http://HearWhere.com
Of course, my concern is that somet...