Hey guys,
recently I've installed the FireGestures plugin for Firefox, which I find very useful.
You can also create your own scripts using JavaScript.
I want to create a script that simply scrolls to the top and then reloads the page.
Sound simple, but I couldnt figure it out.
In FireGestures' help page it says "Of course, you can us...
In IE 8, jQuery acts as I would expect:
>>$('div',$('<a><div></div></a>')).html('test').html()
"test"
In FireFox:
>>> $('div',$('<a><div></div></a>')).html('test').html()
"<a>test</a>"
It puts anchors around what I wanted. Does anyone know why this would happen?
EDIT: Setting this with plain javascript (i.e. setting innerHTML) cau...
The Venkman addon (officially called JavaScript Debugger) likes to print lots and lots of information using window.dump (or at least I assume that's what it's using since I don't know any other way to print to console). I would like it if the console contained only the output from my code, and not all the output from Venkman. I don't min...
Hello,
I have this simple HTML:
<html><body>
<input><div contenteditable="true" style="border:1px #7f9db9 solid; width:100px; height:20px;"></div>
</body></html>
It shows two input boxes. When I type something into the 2nd one, then go at the very beginning of the row (hit Home-key), then I hit Backspace, the text jumps at the end of...
I’m trying to load local XML files with a remote XSL stylesheet. IE seems to handle this just fine but not firefox. Is there a fix for this?
...
Hi
I have already opened a webpage in Firefox which is actually running through the apache web server on the same machine. And I have C# application running on the same machine.
Now I want to refresh/inform my already open web page that C# has finished processing.
I have seen the threads all over the web and also some similar threads on...
I am using prototype 1.6.1 to insert and remove a div as a first child of another div.
So I have parent div 'A'
and I do
$('A').insert(divB,'top');
then later
$('B').remove();
This works fine, but if I create the same div a second time and then try to remove it again I get an error that $('B').parentNode is null. But if I look at ...
On Windows it seems that when there's white text on any background and it does transitions, the text naturally turns to some shade of green during its opacity value being toggled back to 1.
This makes sense. But does anyone know any sort of workaround to prevent it transitioning to a shade of green between the animating besides changing...
I have a site where a page takes 10 seconds to load with firefox, and a further 10 seconds to load the images. It's a php page running on apache. The Images are just static images.
It runs beautifully on chrome.... instant loading.
googling for the answer has pointed me towards a possible issue with keep alive and the lack of content l...
This works in Chrome and any other browser that supports placeholder text in HTML5
<input id="name" name="name" type="text" placeholder="Please enter your name..." required /> <br />
But, it doesn't work in 3.5 and earlier of Firefox, and obviously IE8, and possibly other browsers.
How do I achieve the same thing (preferably in HTML...
Where can I find source code of FireFox for iPhone?
...
I'd like to create a SVG overlay over my webpage
using "z-index:1000" and make this overlay transparent
to mouse events. However right now if I create a SVG object at absolute
position using i.e. this call:
r = Raphael(0,0,150,150);
r.path("M0 0L150 150").attr('cursor','crosshair');
$(r.canvas).css({'z-index':1000, 'position':'absolute...
When I try to get the contents of a htm file into a div using a xmlhttprequest object in Firefox it includes everything, but in IE it only includes the contents of the body tag. In other words it ignores all the styling (in the head tag) of the page, rendering it ugly.
Is it possible to get the full page when using xmlhttprequest in in...
Hi, I'm having difficulties registering an example XPCOM component into firefox from this example here: http://www.iosart.com/firefox/xpcom/
I'm trying this on Firefox 3.6. After successfully building and transferring the XPT and library into the components folder in firefox, and following what instructions are applicable, I'm unable to ...
Basically my question is not about how, its about Why ? :)
Now i will tell what what i know, then tell me what i missing (if any).
In Firefox you can not access remote XML files such as RSS feed using Javascript, because you will get access denied error. Normally to solve it we implement proxy (Internal page to query the content) so we ...
Hi,
UPDATE
I have now managed to get it working in both Firefox and Safari on Mac OS X but for some reason, it's still not working in Google Chrome 5.0.375.125.
Could it possibly be related to this thread in the jQuery forums about Google not working properly on a file system url but will work when hosted on a server, i.e. see:
jQuery...
Firefox runs, but when the tests finish executing Firefox stays up.
This is on Debian Linux with Firefox 3.6.
...
Hi,
I've used the following in the CSS file of the website. It works on safari but not on Firefox. I'm a newbie so apologies for this if it seems like a simple question. Been trying now for 3 hours.
@font-face {
font-family: handwriting;
src: url(http://example.com/handwriting.ttf);
}
Thank you in advance.
...
Hi everyone,
Now this is tricky. I am trying to do WAP testing using firefox and selenium. For that I've created a custom profile and installed a plugin called modify headers. When I launch the profile manually, the addon works fine. But, when I use it with Selenium RC, then, Firefox disables the plugin, saying that it is incompatible w...
Hello all, my current work tasking requires creating a firefox plugin. I've done this relatively easily on Linux but porting to windows has exposed a peculiar problem. To do the port, I refactored the basic windows example given in the mozilla source tree. I did this operation slowly and methodically, testing as I went. Aside from the oc...