firefox

Why does React hot-reloading on Firefox automatically open the Debugger?

别来无恙 提交于 2020-07-20 19:40:48
问题 OS: MacOS Catalina 10.15.5 Browser: Firefox 78.0.2 with React Developer Tools 4.8.0 add-on enabled IDE: Visual Studio Code 1.46.1 Framework: React This all of a sudden started happening today. Maybe Firefox updated in the background without me knowing, but one minute this never happened, and now it won't stop happening. Problem: Whenever I save a local file I am working on that has a React error (could be a missing component prop, or improper syntax), Firefox reloads the page but then directs

input type datetime-local is not working in firefox

前提是你 提交于 2020-07-18 10:01:19
问题 I have an input type of datetime-local which is working fine in chrome but when i try to run the same page in firefox it shows text box instead of datepicker.I have tried using modernizer but still the problem exist can anyone tell me how could the datetime-local issue can be fixed in firefox. <div class="form-group" ng-class="{'has-error': vm.basicInfoForm.validFrom.$invalid && (vm.basicInfoForm.validFrom.$dirty || vm.basicInfoForm.$submitted)}"> <label translate >.NEW.STARTDATE</label>

Programmatically set browser cookie (Firefox)

我的未来我决定 提交于 2020-07-18 05:37:10
问题 I know from this question that Firefox 3.0 and up stores its cookies in an SQLite database. My question is: can you access this database from other desktop programs in such a way that you could add a cookie? I realize this has security implications. However, I do not want to read them at all. I want to be able to set one cookie if possible. I don't even want to overwrite a cookie. I just want to add it if it isn't there already. This is sort of a personal project I'm working on for fun. This

Is it possible to detect Firefox users in pure CSS?

孤街浪徒 提交于 2020-07-17 06:13:09
问题 Is it possible to detect Firefox Browser only with CSS like IE? for example, IE browser can be detected like: <!--[if IE 7]> /* IMPORTING CSS FOR IE */ <![endif]--> Can be Firefox browser detected like this code? 回答1: Not that I know of, but you can try this: @-moz-document url-prefix() { #my-id { font-size: 100%; } } This website has more options as well You can place this in your CSS file or between your <style type='text/css'> tags in your HTML. Works Fine! 回答2: Nowadays you can use the

How to initiate a Tor Browser 9.5 which uses the default Firefox to 68.9.0esr using GeckoDriver and Selenium through Python

≡放荡痞女 提交于 2020-07-16 01:35:11
问题 I'm trying to initiate a tor browsing session through Tor Browser 9.5 which uses the default Firefox v68.9.0esr using GeckoDriver and Selenium through Python on a windows-10 system. But I'm facing an error as: Code Block: from selenium import webdriver from selenium.webdriver.firefox.firefox_profile import FirefoxProfile import os torexe = os.popen(r'C:\Users\username\Desktop\Tor Browser\Browser\TorBrowser\Tor\tor.exe') profile = FirefoxProfile(r'C:\Users\username\Desktop\Tor Browser\Browser

Firefox: How to Grayscale an Entire Page without breaking fixed-positioned elements?

泪湿孤枕 提交于 2020-07-09 17:13:22
问题 Why do CSS filters, (ones that seem to have nothing to do with size/positioning) break your ability to give descendant-elements a fixed position? In addition to answering this question, please suggest a solution that addresses the problem I showcase below. The CSS and HTML below simply produces a little red box in the center of the viewport: #box { background: red; color: white; display: inline-block; border: solid #333333 10px; padding: 5px; position: fixed; top: 50%; left: 50%; transform:

Dynamically changing proxy in Firefox with Selenium webdriver

孤街浪徒 提交于 2020-07-09 13:20:54
问题 Is there any way to dynamically change the proxy being used by Firefox when using selenium webdriver? Currently I have proxy support using a proxy profile but is there a way to change the proxy when the browser is alive and running? My current code: proxy = Proxy({ 'proxyType': 'MANUAL', 'httpProxy': proxy_ip, 'ftpProxy': proxy_ip, 'sslProxy': proxy_ip, 'noProxy': '' # set this value as desired }) browser = webdriver.Firefox(proxy=proxy) Thanks in advance. 回答1: This is a slightly old question

window.getSelection().toString() not working in Firefox (works in Chrome)

孤人 提交于 2020-07-08 13:54:06
问题 When I highlight numbers on an <input type="number"> in Chrome, window.getSelection().toString() successfully gives me the highlighted text. But this is not so in Firefox; it is always blank. Does anyone know why? This is really confusing since MDN getSelection documentation states it should work in Firefox 57. 回答1: This is a firefox bug. See https://bugzilla.mozilla.org/show_bug.cgi?id=85686 Very old one, not fixed yet. I use the following code as workaround: function getSelectionText() { if

window.getSelection().toString() not working in Firefox (works in Chrome)

那年仲夏 提交于 2020-07-08 13:54:00
问题 When I highlight numbers on an <input type="number"> in Chrome, window.getSelection().toString() successfully gives me the highlighted text. But this is not so in Firefox; it is always blank. Does anyone know why? This is really confusing since MDN getSelection documentation states it should work in Firefox 57. 回答1: This is a firefox bug. See https://bugzilla.mozilla.org/show_bug.cgi?id=85686 Very old one, not fixed yet. I use the following code as workaround: function getSelectionText() { if

How can I choose a different client certificate in Firefox?

*爱你&永不变心* 提交于 2020-07-08 09:32:46
问题 When I choose a client certificate in Firefox (or cancel choosing none), Firefox seems to remember this decision even though I've told it to ask me every time. I understand that it'd be useless for Firefox to ask me every page load , so of course it's remembering my decision for the length of whatever it thinks of as a session, but how can I change that selection or close that session? It's not a per-tab decision... Thanks! 回答1: You need to clear SSL session state of your browser. Take a look