Probably a simple question for everyone. This displays the alert with the location in Chrome and Safari but it doesn't work in Firefox
<html>
<head>
<script type="text/javascript">
function onload() {
var loc = window.location;
alert("url is " +loc);
return false;
}
</script>
</head>
<body onload="onload()">
</body>
</html>
An...
Using Firefox, working on a Firefox extension, I continually get a javascript warning:
reference to undefined property mySidebar.context.netProgress
I have tried multiple ways of testing the value:
if (mySidebar.context.netProgress === undefined) {
And
if (typeof mySidebar.context.netProgress == "undefined") {
And
if (!mySideba...
Hi there,
I've been working on coding a personal website from scratch in my free time, and have gotten the layout mostly looking like I wanted. But for the life of me, I cannot figure out why Firefox does not align the 'dropdown menu items' ('about', 'blog', etc.) BELOW the background image into the dark grey area like it does in Safari...
I am wondering if it is possible to self host a Firefox addon instead of going through Mozilla. I would like users to be able to install the addon from my website, and bypass the approval and hosting of Mozilla.
The reason is the addon would violate the updated review policy because of advertising. The users would know this, and the ad...
I'm trying to install wordpress...The install script will not run in firefox or chrome. I'm on ubuntu. I only get an option for downloading the file in both browsers. Any thoughts?
EDIT: Do I need to install libapache2-mod-php5?
...
I wonder if it is possible to get values of certain preferences set in about:config using javascript?
Incentive is to get value of preferences set in firefox addon i've created when user lands on addon front end. Basically, I'm trying to identify users landing on FE without asking them to login explicitly.
...
I am able to read the cookies from the sqlite db in firefox.
However, I need to also read the cookies that are marked "Expires: At end of session" in the firefox cookie list.
It appears that these are NOT stored in the sqlite database.
Is there any means to read these programmatically?
Thanks,
Elijah
...
Hey,
I am pulling me hair out about this one.
http://www.nettunes.co.za/build/contact.php
I have an image at the end of a text input that is styled with a background image, here is the css:
.text_input{
background:url(../images/forms/text_input_back.png) top left no-repeat;
width:479px;
border-style:none;
font-size:18px...
I need a way to process HTML before it's actually loaded and parsed by Mozilla. Is there any content listener that I can use in my Firefox extension?
...
I need to have my web page periodically poll the server for new information every 10 seconds. I have a timer (setTimeout) setup to call my AJAX function to get the data. On completion, the AJAX function sets the timer for another 10 seconds.
The problem is that Firefox continuously displays the "Page Loading Indicator" (Throbbing).
H...
Hello,
I've implemented jqGrid with treeGrid enabled. On Firefox, the width off the header row (with the titles of the columns) is different from the width off the data rows.
I've attached the init code for the jqGrid and a link with the screenshot image off the problem (because I'm new to the site, it appears I can't upload the image)
...
Well..I am learning java now and I am curious to know will this yield a noticeable performance increase ? And If many developers are following similar methodology for windows programming ( C++ back end and Java UI ) or other languages are used like python?
*this : C++ back end and other languages for UI instead of using the other langu...
I have recently developed an HTML5 jQuery plugin and I'm having trouble removing the red border on required fields in FF4 beta.
I noticed that FF applies this border/outline in required fields and removes it when value is set. The problem is that I am using the value attribute to emulate the placeholder attr in older browsers. Therefore...
I am writing an XPCOM object that will like to access the main firefox window, and the open tabBrowsers. What is the interface that I should use ?
...
Disclaimer: I posted this question in Server Fault first. One of the users there suggested SO instead. So here I am.
Firefox 3.6.10 on the same machine does.
When I try to display a page from Domain A using an iFrame in Domain B, Firefox displays an empty page. Chrome displays the page from Domain A even though it is not supposed to.
...
Hi friend!
I have a master page which is having Javascript code which looks like this:
<script type="text/javascript">
function ClientPrint(str)
{
alert('before');
PrintControl.RawPrint(str);
alert('after');
}
</script>
And the child form is calling this Javascri...
I run this code every frame, works great in chrome
data[index + 0] = bgData[dis + 0];
data[index + 1] = bgData[dis + 1];
data[index + 2] = bgData[dis + 2];
data[index + 3] = 255;
but firefox gives the error:
An invalid or illegal string was specified" code: "12
unless I add -1 to each line as below:
data[index + 0] = bgData[di...
This is a kind of difficult one to explain but basically I have a page which has some property info on and it is database driven.
In firefox however it loads the page and then re-directs to a white page with some weird chinese writing on it or it's saying 1.17
http://www.hpb.co.uk/tenancy/location/PR2CT/default.aspx
That's the link o...
Hey,
I'm using jQuery UI to make transitions between pages on my website. It works great on Firefox, but on Safari this function slides the div to the extreme right, then it goes back to the center of the screen. Note that it's not like a bounce effect. Does anyone know a good solution for that?
Thanks!
...
Hi Guys;
I haven't had any experience on building plugin's, need guidance on where to start specifically for firefox.
...