firefox

Possible to refresh browser page from another tab

I have a silverlight application. This contains a "preview" button. Button code is as follows: private void btn_Preview(object sender, RoutedEventArgs e) { HtmlPage.Window.Navigate(new Uri("http://www.google.com"),"_blank"); } When I clicking the button in firefox, a new page is created in a new tab. When I click agai...

Javascript Speed - Chrome v Firefox

I wrote this small game at http://amarnus.me/games/dodge. Now if you trying playing the game in both Firefox and Chrome, you would clearly notice that it is significantly slower in Firefox. You can call it an unintentional cheat code, yes. ;-) So my question is - Is this because of a slower Javascript engine in Firefox when compared to ...

firefox serif fonts on linux - broken ?

at least on linux, Firefox is rendering serif fonts always in bold and bigger than specified in our css file - it seems really broken. We have checked the Firefox option to use page fonts but it seems to ignore this. Fonts look fine under web-kit. On IE who knows (we don't have it or use it) In CSS we simply specify "serif" as the f...

how to make firefox cursor be based on line-height, rather than height of textbox

As shown in the picture above, if you have a textbox with padding, the initial cursor size at least on my Mac is the full specified height with padding. Of course, when you start typing, it goes back to normal text sizes (see that 'Password' watermark). Is there a way to make the initial cursor the right size, aside from simply resizi...

What is the difference between "Source" and "Generated Source"?

What is the difference between "Source" and "Generated Source"? Please explain with example. Edit: 3 July Which source "Search engine" uses, Generated or before generated? ...

I want to know the use of these options in firefox "Web Developer Toolbar"

I want to know the use of these options in "Web Developer Toolbar" Disable > Disable Javascript > Strict Warnings Disable > Meta Redirects Disable > Meta Referers Disable > Disable minimum Font size CSS > Use border box model Information > Display Table Information Information > Display Table Depth Miscellaneous > Show Comments ...

Flash won't AutoPlay on AJAX Load in FireFox

I have a music site that uses a flash program to play music. When a song is done playing, the flash program uses getUrl to call a JavaScript (jquery) function that reloads part of the page using AJAX. It reloads the part of the page where the flash player is, which then selects and starts the next song. This works fine in IE and Chrome....

Footer font size too big in internet explorer

I am having a problem developing a web page, http://prime-mmorpg.tk/templetetest.php is the page, if you look at the footer in IE, it is 20 times bigger then it should be, like it is in FireFox. What is wrong with this? I am using no sizing CSS or anything for the footer, it is the same as the body, and yet it is huge. Any ideas? ...

Any contenteditable helper plugins for Firefox/Webkit ?

Hey all, I'm currently working to build a CMS for a client where the editing page looks exactly like the rendered page. Hence I don't want an iframe based WYSIWYG, I am looking for something of a wrapper for contenteditable which irons out the differences between Firefox and Webkit. For instance an "Enter key press" in Firefox results ...

How can I create a shortcut for firefox in Greasemonkey?

How can I create a shortcut for Greasemonkey for the firefox bookmarks, or, a shortcut that opens a website? Sorry, I want a greasemonkey script that contain some script that bind some key for firefox bookmark for example, press key 1 = open bookmark 1, and so on ...

How can I redirect some page with javascript in Greasemonkey?

Hey, I want to redirect a page when it finish loading... For example, when google.com finish loading, I want to send a javascript to search something... How can I do it ? ...

default textbox appearance in firefox/safari

Firebug claims that an unstyled textbox is border: 3px inset #F0F0F0; However, <input type="textbox" style="border: 3px inset #F0F0F0;" /> and <input type="textbox" /> produce very different looking borders. What's going on here? This is true in Safari, Chrome, and Firefox—I don't have IE though, so I dunno about that. ...

How to listen to profile-after-change in XPCOM component for FF4

This blog post mentions that XPCOM components will no longer be able to observe 'app-startup' notifications and they will have to listen to 'profile-after-change' notifications now. My changes don't seem to work however; any idea what I did wrong? ...

Issuing non-secure cookie over a secure connection results in pseudo-secure cookie

When Firefox receives a cookie via an HTTPS connection, it appears to treat it as a secure cookie, even though the server did not send it as a secure cookie. When I inspect the cookie from within Firefox, it displays "Send For: Encrypted connections only". When Firefox sends the cookie to the server in subsequent secure requests, inspe...

Hiding vertical scrollbar of multi-line SELECT in Firefox and Chrome?

This problem seemed quite simple (overflow:hidden, right?) until I couldn't solve it. I have a simple multi-line SELECT with defined size: <select size="10" name="elements"> ... </select> MSIE and Opera show vertical scrollbar only when needed, but Firefox and Chrome always display vertical scrollbar in disabled state. I tried setti...

Advice on implementing my own console as an XPCOM

I want to use my own console for my extension, where I would be printing out various debug info. I thought I would do that by doing window.open("chrome://myextension/content/console.xul".. and then printing into textboxes of that window. Do you already see something wrong here? =) Now I have a small problem, window.open returns immedi...

Is there a Perl alternative to YSlow?

I'd like to have a tool in Perl to gather useful statistics for page loads (eg, download time/speed, CDN information, headers, dns lookups, compressions) Does anyone know if one exists or if there's a place to learn about how to make one? ...

Using sockets (nsIServerSocket) in XPCOM component (Firefox Extension) (sockets + new window = seg faults)

PLEASE READ THE UPDATE #2 BELOW IF YOU ARE INTERESTED IN THIS PROBLEM ;) Say I put this code into the JS of my extension. var reader = { onInputStreamReady : function(input) { var sin = Cc["@mozilla.org/scriptableinputstream;1"] .createInstance(Ci.nsIScriptableInputStream); sin.init(input); ...

Javascript failing in Firefox/Firebug?

I'm using Firebug to develop a JS app. All of a sudden, when I got to the page, it appears that I do not have JS enabled - the <noscript> warnings are rendered, and nothing works. When I go to the same page in Chrome, everything works fine. What could be happening? I reverted recent changes back to a point where it worked, but it's stil...

Detecting window load with XUL and running a Javascript function?

I am developing my first addon for Firefox, and I'm using the Extention Developer addon to help me. It has a real time XUL editor which I am using to design my form. At the moment this is what I have: <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> <window id="yourwindow" xmlns="http://www.mozilla.org/keymaster/gatekeep...