mozilla

Scaling issue in combobox options (mozilla firefox )

我与影子孤独终老i 提交于 2019-12-12 23:21:08
问题 i am adjusting a parent div to fit clients browser area. -> in chrome i have used the zoom property which correctly scales all elements inside including combobox -> And in mozilla, it doesn't scale the 'options of the combobox', it actually lies away. <div style="transform: scale(0.8);"> <select> <option>option 1</option> <option>option 2</option> <option>option 3</option> </select> Fiddle i found the same issue question here : Here but this only talks about listing issues. 回答1: Definitely

How to tell JavaFX WebView to ignore 'use strict' directive?

人盡茶涼 提交于 2019-12-12 18:02:16
问题 I am trying to integrate the mozilla viewer in a JavaFx WebView by using the following code: import javafx.application.Application; import javafx.scene.Scene; import javafx.scene.web.WebView; import javafx.stage.Stage; public class TestStrict extends Application { @Override public void start(Stage primaryStage) throws Exception { WebView webView = new WebView(); String url = TestStrict.class.getClassLoader().getResource("pdfjs-1.1.366-dist/web/viewer.html").toExternalForm(); webView.getEngine

在浏览器地址栏按回车、F5、Ctrl+F5刷新网页的区别

╄→гoц情女王★ 提交于 2019-12-12 17:05:05
有不少同学问,这不都是刷新吗?还有什么区别呢?其实,还是有的。 其中,在地址栏按回车又分为两种情况。 一.是请求的URI在浏览器缓存中未过期,此时,使用Firefox的firebug插件在浏览器里显示的HTTP请求消息头如下: Host 192.168.3.174:8080 User-Agent Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20100101 Firefox/5.0 Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language zh-cn,zh;q=0.5 Accept-Encoding gzip, deflate Accept-Charset GB2312,utf-8;q=0.7,*;q=0.7 Connection keep-alive HTTP返回状态显示200 OK,但是,后台Nginx服务器的access.log并没有找到该请求的记录,说明请求并没有真正提交到HTTP服务器。而是被浏览器发现缓存中还有未过期的文件,直接把请求拦截了,firebug里面显示所谓的“请求头消息”、“响应头消息”都是浏览器“伪造”的。这种刷新,使用的网络流量是最小的,可以说完全没有,时间消耗也是最少的。就像你找到一盒没有过期的牛奶

redirect http request URI in mozilla Addon Builder

别等时光非礼了梦想. 提交于 2019-12-12 15:54:17
问题 I defined a http-on-modify-request observer in Mozilla's Addon Builder, and want to redirect requests (change subject.URI.spec ), but Firefox complains about: Error: An exception occurred. Traceback (most recent call last): File "http://chrome.angrybirds.com/", line 2536, in null File "http://chrome.angrybirds.com/", line 2344, in null File "http://chrome.angrybirds.com/", line 2988, in wi File "http://chrome.angrybirds.com/", line 1756, in ti File "http://chrome.angrybirds.com/", line 1231,

How to check if a Firefox WebExtension is installed or not with page JavaScript?

我只是一个虾纸丫 提交于 2019-12-12 13:34:08
问题 I have developed a WebExtension for Firefox and my website works with the extension as a prerequisite. I need to check programmatically whether the extension is installed or not and if not ask the user to install it. I am not able to find a way how to check this operation of whether my extension is already installed in the user's browser. Editor note: Methods available in Firefox differ from those available in Chrome, so this question is not a duplicate. 回答1: Important note to begin with: A

Why are plotly-rendered graphs not working on Mozilla

馋奶兔 提交于 2019-12-12 09:58:26
问题 I am getting the following error when trying to open an html document put together with knitr in Mozilla Firefox. The error is a result of the graph element composed with the plotly package. unknownError: error occurred while processing 'getCachedMessages: out of memory The entire contents of the rmarkdown file (default everything else): library(plotly) library(ggplot2) theData <- data.frame(A=1:26, B=letters, C=rnorm(26,19)) g<-ggplot(theData, aes(x=A, y=C)) + geom_point() ggplotly(g) I have

Console logging from a Firefox add-on

末鹿安然 提交于 2019-12-12 08:56:42
问题 The Mozilla documentation (https://addons.mozilla.org/en-US/developers/docs/sdk/latest/dev-guide/console.html) says that I should use console.log to generate messages from an extension. Those messages are said to appear in the Firefox Error Console. But this is not the case for me. I'm using the Addon builder for the first time today, and I'd like to create an extension that switches tabs on certain events. The tabs are indeed switched, and to a tab which I expected, so my code definitely

Range object: differences between Webkit and Mozilla based browsers

寵の児 提交于 2019-12-12 08:49:20
问题 at the moment I have some troubles writing an abstraction layer for Mozilla and Webkit based browsers for using the DOM-range object (getting and processing user selections). I have also tried to have a look at frameworks like Rangy but this seems far to complex for my task (I have no idea where exactly in the code to find the information I need. If someone could give me a hint, I would be grateful!). What I want is simply this: get back the reference to the text node the selection starts in

How to obtain a dump of the Mozilla Developer Network site

坚强是说给别人听的谎言 提交于 2019-12-12 08:08:18
问题 What size is the entire Mozilla Developer Network site? api.jquery.com is about 40MB when downloaded via wget . 回答1: As per bugzilla bug 757461 and the download section at the About page, MDN provides weekly snapshots of the entire site content available at: (Updated link, but the content is old until this issue is fixed.) https://mdn-downloads.s3-us-west-2.amazonaws.com/developer.mozilla.org.tar.gz It's approximately 8GB for the content. 来源: https://stackoverflow.com/questions/15909114/how

How to set Helvetica font?

不想你离开。 提交于 2019-12-12 07:44:52
问题 How to set Helvetica font? I add css: body { font-family: Helvetica, Sans-Serif; color: #444444; font-size: 9pt; background-color: #FAFAFA; } but in Mozilla I see MS shell dlg font. Why is this happens and how will repair it? Update: I set Arial but in Mozilla I see MS shell dlg again. 回答1: If you want all browsers to use Arial whenever Helvetica is not available, you can always specify Arial as a second choice font. body { font-family: 'Helvetica', 'Arial', sans-serif; color: #444444; font