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...
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 ...
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...
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"?
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 "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
...
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....
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?
...
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 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
...
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 ?
...
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.
...
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?
...
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...
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...
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...
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?
...
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);
...
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...
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...