firefox-5

Firefox 5, 6, 7 and XULRunner: Which versions are which?

会有一股神秘感。 提交于 2020-01-13 20:35:32
问题 I'm trying to recompile a Firefox extension that has binary components for use with Firefox 5 now that the beta is out. According to this I need to rebuild the binary components. What I can't figure out is which xulrunner to download and build against from here. Is there a table that matches up FF versions (5, 6, 7) with code names (Beta, Central, Aurora) with Xul Runner versions (2, etc)? Any decent guide would be great. Update It looks like the SDK / Mozilla version number has been changed

Firefox 5 dispatchEvent not working

爱⌒轻易说出口 提交于 2019-12-20 02:16:04
问题 I have some code that uses dispatchEvent to simulate clicks and the same exact code works fine in Chrome but doesn't work in Firefox. Here's the code: var evt = document.createEvent("MouseEvents"); evt.initEvent("click",true,true); jQuery("a:contains(Next)")[0].dispatchEvent(evt); I'm clicking on a link that loads another page and the page loads fine in Chrome but Firefox does absolutely nothing when I run this code in Firebug or even when I execute it as a bookmarklet. I've also tried the

CSS: Can't get background-size: contain to work in Firefox 5

无人久伴 提交于 2019-12-12 02:46:35
问题 According to Mozilla Developer Network background-size has been supported since Firefox 3.6, however, it is clearly not working in my OS X version of Firefox 5 . It looks fine in Safari, but Firefox 5 is not displaying it correctly. Is there a bug? Why can't I get this to work in Firefox? HTML: <span class="special button">My button</span> CSS: .button { background-size: contain; } .button.special { background: url("/images/special-button-bg.png"); } Here is a jsfiddle which shows that it is

“Submit is not a function” error in Firefox in dynamically CREATED form without other submit inputs

…衆ロ難τιáo~ 提交于 2019-12-02 10:20:27
问题 In Firefox 5's error console (but not in IE 9) I get the error "myForm.submit is not a function" when I call the following javascript function (in an external script file): function go(url_go, arr_POST_vars, str_method) { var str_method = str_method || "POST"; // by default uses POST var myForm = document.createElement("form_redir"); myForm.setAttribute("method", str_method); myForm.setAttribute("action", url_go); for (var key in arr_POST_vars) { var myInput = document.createElement("input");

“Submit is not a function” error in Firefox in dynamically CREATED form without other submit inputs

跟風遠走 提交于 2019-12-02 04:37:31
In Firefox 5's error console (but not in IE 9) I get the error "myForm.submit is not a function" when I call the following javascript function (in an external script file): function go(url_go, arr_POST_vars, str_method) { var str_method = str_method || "POST"; // by default uses POST var myForm = document.createElement("form_redir"); myForm.setAttribute("method", str_method); myForm.setAttribute("action", url_go); for (var key in arr_POST_vars) { var myInput = document.createElement("input"); myInput.setAttribute("name", key); myInput.setAttribute("type", "hidden"); myInput.setAttribute("value

How can I get the SSL Certificate info for the *current* page in a Firefox Add On

你说的曾经没有我的故事 提交于 2019-11-30 07:35:10
I'm trying to develop a Firefox extension/add-on that needs access to the SSL Certificate information of the page that is currently loaded. Once I have this information I plan on modifying the contents of the page based on the SSL information. Though, before I get there I first need to get the SSL info. The approach outlined here makes a separate XMLHTTPRequest to get the security certificate. I would rather not do that if I could avoid it because it presents a security problem. For example, a malicious site/man-in-the-middle could provide one certificate on the first request for the page

window.opener.focus() problem in FF5+

孤街浪徒 提交于 2019-11-29 11:39:15
I'm opening new window with next code: window.open(url,pageName1,"menubar=1,resizable=1,scrollbars=1,status=yes,width=1050,height=820"); so window is not modal In new window I'm calling: if (window.opener) window.opener.focus(); in IE, Chorme, FF3.6 parent window become in focus, BUT not in FF5 or FF6, how I can move focus to parent window? FF4+ prevernt window raising and lower by default, you can enable in options: Tools->Options->Content->Advanced... (in "Enable JavaScript" row)->Check "Raise or lower windows" I'm leaving here my contribution to anyone wants to open popup in background. The

How can I get the SSL Certificate info for the *current* page in a Firefox Add On

邮差的信 提交于 2019-11-29 10:01:16
问题 I'm trying to develop a Firefox extension/add-on that needs access to the SSL Certificate information of the page that is currently loaded. Once I have this information I plan on modifying the contents of the page based on the SSL information. Though, before I get there I first need to get the SSL info. The approach outlined here makes a separate XMLHTTPRequest to get the security certificate. I would rather not do that if I could avoid it because it presents a security problem. For example,

window.opener.focus() problem in FF5+

别说谁变了你拦得住时间么 提交于 2019-11-28 05:14:56
问题 I'm opening new window with next code: window.open(url,pageName1,"menubar=1,resizable=1,scrollbars=1,status=yes,width=1050,height=820"); so window is not modal In new window I'm calling: if (window.opener) window.opener.focus(); in IE, Chorme, FF3.6 parent window become in focus, BUT not in FF5 or FF6, how I can move focus to parent window? 回答1: FF4+ prevernt window raising and lower by default, you can enable in options: Tools->Options->Content->Advanced... (in "Enable JavaScript" row)-