The global picture is that I want my Firefox X11 window to have its urgent flag set when (say) a new Gmail mail arrives.
I feel confident that I can produce the code to check Gmails arrival by reading some other Firefox extensions' code. What I can't figure out is how to get the Window ID of the webbrowser, so that I can call, say, a...
I want to implement websites using a computer that is running only Ubuntu.
This is not feasible because Ubuntu FireFox displays completely different from Windows FireFox.
This means that I can do things like JS & PHP on Ubuntu, but have to switch to my Windows Computer to (edit and) view HTML & CSS as they appear for most users.
This...
I'm building this site http://www.philgoulet.com/dev/michele/index.php and it looks good in firefox, chrome, IE8, but apparently it looks like death in IE6. Normally I expect everything to look a little different in IE6, but not this bad. I'm not even sure why it's getting so messed up. Anyway, I need to get the site to work in IE6, but ...
When i bookmark a website in Firefox (like pressing on the star, right next the url-bar, or even ctrl-d) i don't get the window anymore, where i can select the folder to save in. What went wrong? That way i am not going to find my bookmarks anymore...
Thx for advice.
...
We have a very unsual problem. We have an aspx page that loads in Firefox inside 3 seconds. In IE8 it takes 20 seconds. This is consistent across a number of PCs. We have changed the page so that the only thing output is HTML and images - there is no javascript (the page as designed uses a lot of jquery for accordion style behviour and w...
I am using this in a Firefox extension and can't get it to work.
var allLinks = document.evaluate(
'//a[@href]',
window.document,
null,
XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,
null);
window.alert(allLinks);
This alerts "[object XPathResult]". However the following always returns "0". (And...
When I manually start Firefox and then try to attach to it using Browser.AttachTo(Find.First()) method, this results in exception "Couldn't find an ForeFox window..."
But when I start FireFox by this command in the first console application:
new FireFox(@"http://google.com")
and after that try to attach to it using Browser.AttachTo(Find...
Hi, we are developing a web application using GWT in the front end.
In GWT we make calls to the server by appending javascript code as stated below:
public native static void call(int requestId, String url, ICall handler) /*-{
var callback = "callback" + requestId;
//Create a script element.
var script = document.createE...
Hi there!
Ok, so, I have the following markup that opens in a pop-up window (the size is adjusted to 120px width and 300px height via Javascript):
<body bgcolor="#000" topmargin="0" leftmargin="0" style="width:100%">
<table border="0" cellspacing="0" cellpadding="0" width="100%" height="100%">
<tr>
<td align="center" height...
I decided to show a breaking version of what I am talking about. It is not important how it messes up the layout, only that it causes the DIV element to be null....
<!-- [ top panel ] --><div id="top_panel">
<!-- -------------------------------------- -->
<script type="text/javascript">
alert(document.getElementById('top_panel'...
Hi,
How to use Firefox Firebug on Superfish v1.4.8 Vertical Menu sample but on the sub-menus not the top menu.
Superfish Menu
I basically want to be able to freeze Firebug on a sub-menu selection to process but unsure how to.
Thanks.
...
In the page I'm working on, when the user clicks on an object, one SVG group rotates out of the way while another rotates in.
The code as it is works just fine in WebKit, but it isn't working at all in Gecko. Here is the block of code that is not being executed by Gecko:
var totStep = dur*2/msrate, step=0;
window.timer = window.setInte...
Hi...
I'm developing a mozilla Add-on, and i would like to know, how to change a page that is requested by ajax before the response be sent..
Let's say that in stackoverflow i have a button and when i click call this function:
h = new XMLHttpRequest();
h.open("GET", "somepage",true);
h.onreadystatechange=function() {
if (h.readySt...
Im perplexed by this one.
jQuery.height() is coming back with different values in Firefox and Chrome. Measuring the pixels on-screen indicates that of the two, Chrome appears to be reporting the correct value, while firefox is off by 2 or 3 pixels each time. Has anyone else encountered this issue?
I've tried grabbing the height using t...
Hi guys,
I'm having a very annoying issue on Firefox 3.6.8.
I have this sample plugin:
(function($){
$.fn.test_plugin = function(settings){
$(this).load(function(settings){
alert('ok');
});
};
})(jQuery);
And at the bottom of the html page something like this:
$(function(){
...
Hi,
I have a custom control which contains a RAdCombobox. I am adding a handler to the change event of the combo by using the following code
$addHandlers($find(this._CMBID).get_inputDomElement(), { 'change': this._onValidateMethod }, this);
where,
the this._CMBID is the combo Id and
this._onValidatemethod is method to add handler
Th...
How to set cookie under my firefox addon?
function setCookie(name, value, expires, path, domain, secure) {
document.cookie = name + "=" + escape(value) +
((expires) ? "; expires=" + expires : "") +
((path) ? "; path=" + path : "") +
((domain) ? "; domain=" + domain : "") +
((secure) ? "; secure" : "")...
I'm new to HTML5 application. And I'm making in-house software. This means I can force users to use only most recent version of firefox/webkit.
I saw many documents concerning about JS memory leaks in these point:
Circular references.
Event handlers.
Closures.
As I think, it's just a problem of only (old version of) IE. But I cannot...
I am having a problem identifying a label on a jQuery generated page.
This is the code of the page (as seen in firebug).
I am trying to find it using this statement,
assert(browser.label(:id, "acms-ws-select-label").exists?)
Put it fails to find the label. Any ideas on what I am doing wrong?
Update: running the same script in IE wi...
I am having trouble accessing the document in my firefox extension. I am trying to get *target*.addEventListener("DOMContentLoaded", Run.writeToFile(line.value), false); to work, however I keep getting errors no matter what I try for my target. I have very little understanding of all of this and have pretty much tried everything I could ...