mozilla

Bug with CSS -moz-perspective

偶尔善良 提交于 2019-12-11 11:02:05
问题 I have a mistake with the perspective property.. If you see this JSFiddle code on Google Chrome (v33) and Mozilla Firefox (v28), I have a difference between them.. I can reproduce this error on Chrome if I comment the code : -webkit-perspective: 2500px; -moz-perspective: 2500px; perspective: 2500px; How can I have the same result on the both browsers ? Thank you all for helping and sorry for my bad english. 回答1: You need to set : position:absolute to #header-cube-container instead of #header

Component returned failure code: 0x80004005

ぃ、小莉子 提交于 2019-12-11 10:29:24
问题 I'm trying to send "Get" AJAX request using an HTML file on my computer, but the following code returning me an "Component returned failure code: 0x80004005" exception on Mozilla browser. xmlhttp.open("GET","http://180.92.172.157/SMS-API/SMS-Push.aspx?UserName="+Username+"&Password="+Password+"&mobile="+Mobile+"&SenderName="+SenderName,false); xmlhttp.send(); alert("HELLO"); Could anyone please tell me what's wrong I'm doing? 回答1: Try reading through this: https://developer.mozilla.org/En

Mozilla Add-on development: Accessing LAST USED or LAST CHANGED fields in password manger

喜夏-厌秋 提交于 2019-12-11 10:06:17
问题 My add-on needs to access stored credentials. In this I want to get the credentials that was changed or used recently. I see that I have LAST USED and LAST CHANGED fields but how do I access those fields in my javascript? I searched and also tried ( https://developer.mozilla.org/en-US/Add-ons/SDK/High-Level_APIs/passwords ) but I couldn't get anything. 回答1: This is how to get a list of all the currently stored login informations: var lm = Cc["@mozilla.org/login-manager;1"].getService(Ci

Google Visualization table chart click and return row / column values not working in Mozilla browser

你。 提交于 2019-12-11 06:11:55
问题 I'm running into a problem with differences between Chrome and Mozilla browsers in the below code. When you click on a cell the code returns the row / column clicked. It works fine in Chrome, but when I click a cell in Mozilla nothing happens. I think it has something to do with this bit of code but I really don't know. var selection = table.getChart().getSelection(); if (selection.length === 0) return; var e = event || window.event; var cell = e.target; //get selected cell I am referencing

Getting confirmation box on browser close

北城余情 提交于 2019-12-11 05:37:25
问题 I have tried below code for mentioned purpose but this is not working in mozila and also i am getting some extra line in confirmation box. <html> <head> <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <title>Coordinates!</title> <script type="text/javascript"> var myclose = false; function ConfirmClose() { if (event.clientY < 0) { event.returnValue = 'Any message you want'; setTimeout('myclose=false',100); myclose=true; } } function HandleOnClose() { if (myclose==true)

Content-Disposition: inline for PDF file in ASP.Net not working

无人久伴 提交于 2019-12-11 05:08:35
问题 I am trying to return PDF file to browser with header Content-Dispostion:inline right after I am creating this file. Viewers of browser have problem to open it. File is not corrupted. If I put into browser, viewer shows file correctly. But I want create file and check users rights for file at one request. Here is my headers and response set up: HttpContext.Current.Response.Clear(); HttpContext.Current.Response.ClearHeaders(); HttpContext.Current.Response.ClearContent(); HttpContext.Current

Mozilla Add-On Execute code on first run

ⅰ亾dé卋堺 提交于 2019-12-11 02:59:48
问题 I am currently building an add on and I wanted to execute specific code on the first run. More specifically I want to click on my add on button, browse through my files and select an executable file. This browsing process should only be done on the first run as I want my button to "remember" to open this specific file after the first run. jetpack.future.import("me"); var buttons = require('sdk/ui/button/action'); var button = buttons.ActionButton({ id: "execute-jar", label: "Download Report",

What lib in the gecko 1.9.3 SDK do I link against to use moz_xmalloc()?

穿精又带淫゛_ 提交于 2019-12-11 02:08:34
问题 I'm trying to link my XPCOM extension against the 1.9.3a3pre SDK and I get the following: error LNK2001: unresolved external symbol _moz_xmalloc So, what lib do I need to link to? The documentation doesn't say. This is on Windows right now, but I'll need it to build on Mac and Linux (32bit/64bit) as well. Edit: Now with bounty. Edit: Update: Turns out FF3.7 was cancelled. So I don't have to worry about this until FF4. 回答1: define ' XPCOM_GLUE ' in C++ Preprocessor Definition property. It will

Style the font for <select> and <option> tags in FireFox / Mozilla

可紊 提交于 2019-12-11 01:54:07
问题 The font between the <option> tags cannot be changed with CSS in FireFox. (It can be done, using normal CSS statements, in Chrome.) I can change the font for the <select> part of the statement using CSS, so that the selected option appears in my desired font, but the text between the <option> tags in the dropdown list are always in FireFox's default font. This is important because I want to use a monospace font in the option tags. Can I gain control over style of the font in the <option> tag

absolute DIV positioning with mozilla V.S. safari V.S. Chrome V.S. IE

∥☆過路亽.° 提交于 2019-12-10 12:21:58
问题 I'm having trouble with the browser compatible div positioning. I'm doing an image map with buttons on top of it in separate div's. These div's tend to move around in firefox, in safari and chrome everything is okay. They tend to move down a bit. Changing the doctype seems to influence the rendering in firefox. But none of the doctype's seem to work. Check the Algiers button on this link in firefox and you'll see what I mean. http://kareldc.com/grimonprez/index_js_animatie_clicks.html Any