10 posts tagged with javascript and Firefox (View popular tags)

Firefox javascript command: how to close a tab? Last week you helped me create a toolbar bookmark for scrolling down a half page in Firefox using the command javascript:self.scrollBy(0,300); as seen here. Now I'd like to add a second command to that bookmark: a command to close the active tab. The button then would close the active tab and subsequently scroll down a half page of the next tab that appears. In my reading there appears to be some difficulty making using javascript to close tabs in FF 2.0, and not all pre FF 2.0 solutions currently work. Ideas?
posted on Jan 12, 2008 - 5 answers

At least in Firefox I'm seeing an undesirable behavior in textareas. My question is how to fix/avoid it. Here's the problem. Go to a textarea in Firefox. (The ask.metafilter ask a question one will do fine.) Type enough characters to fill a whole line of the textarea e.g., kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk... Now put a single space in front of that line. It moves the line one line lower instead of just putting a space in front of the characters which is what I would prefer i.e., treat a space like any other character. [more inside]
posted on Jul 27, 2007 - 5 answers

I have written a bookmarklet that works in Firefox but not in IE6. How can I change it to be supported cross browser or even as a separate bookmarklet to get the same results. [more inside]
posted on Jan 24, 2007 - 5 answers

javascript question: im looking for a way to access the style sheet text in firefox. [more inside]
posted on Jan 29, 2006 - 6 answers

I want to go back to FireFox 1.0.4 because JavaScript has failed me in 1.0.7. How do I do so. . .or is there hope for my 1.0.7 ? [more inside]
posted on Nov 15, 2005 - 9 answers

Without using any plug-ins or extensions, how can I always force a link to open in IE, regardless of the client browser? [more inside]
posted on Oct 25, 2005 - 9 answers

Firefox 1.5 Beta : some of my javascript bookmarklets stopped working. Any ideas? [more inside]
posted on Sep 17, 2005 - 2 answers

I have a bookmarklet that I'd like to run by a pressing a hotkey in Firefox -- any suggestions? I've set up a mouse gesture to do this, but I'd like a keyboard shortcut as well.
posted on Aug 23, 2005 - 4 answers

FireFox filter. This is driving me mad. My website has a little JavaScript (inside) to drag in a random image. Each image is 150 wide (varying heights). IE displays them fine. Firefox 1.0 resizes certain images. Anyone know why?
posted on Nov 24, 2004 - 9 answers

Firefox / Javascript question... how do I get the mouse X/Y position across frames (relative to the browser window, of course)
posted on Aug 2, 2004 - 4 answers