firefox

CSS transform doesn't work in Mozilla browser

家住魔仙堡 提交于 2021-01-28 11:24:11
问题 I am trying to create a 3D animated slider using a combination of input/label to trigger the transition on click but it doesn't work in Mozilla firefox. It works perfectly fine in Chrome but in Mozilla there's no transition between the cards when I click https://codepen.io/panfilov/pen/GogJVy * { margin: 0; padding: 0; } body { padding: 20px; background: #eee; user-select: none; } [type=radio] { display: none; -webkit-perspective:1000px; -moz-perspective:1000px; } #slider { height: 35vw;

Firefox ESR 68 doesn't support rem units in an svg's dimensions. Workarounds?

久未见 提交于 2021-01-28 09:40:26
问题 Update: This is a missing feature, and is being worked on: https://bugzilla.mozilla.org/show_bug.cgi?id=1287054 I have this svg icon on my web portfolio (the Tor Project icon), which is at https://dougsilva.me/. If you open this page on Firefox ESR 68, it will ignore rem values in the width and height of the svg, making the icon have an inconsistent size compared to the other icons from FontAwesome. Its size will be nearly doubled. <svg id="torproject_icon" width="5.5rem" height="5.5rem"

How to overwrite addEventListener in Firefox 3.x?

天涯浪子 提交于 2021-01-28 07:28:52
问题 im making a greasemonkey userscript which puts all kinds of shims and polyfills in the page for old browsers. the problem is that none of them seems to include anything to make the third parameter of 'addEventListener' optional, and since webpages usually omit it, it gives a "Not enough arguments." error everywhere. i tried to overwrite it this way: Element.prototype.oldaddEventListener = Element.prototype.addEventListener; Element.prototype.addEventListener = function(event,handler,

Save firefox developer tools javascript command history

爱⌒轻易说出口 提交于 2021-01-28 07:15:32
问题 I use Developer Tools Console to run JavaScript commands. It is currently showing history of about 40-50 executed commands accessible using Up Arrow key . In the history it is showing repeated commands multiple times and the earlier commands I executed 4-5 days ago have vanished. Any Idea how to recover/save this history OR expand history to save unlimited commands (like in normal console)? 回答1: There is no way (as of Firefox 55.0.1) to specify an actually unlimited number of history items to

Open Firefox web console be default when it start?

两盒软妹~` 提交于 2021-01-28 04:57:11
问题 I need to use Firefox web console a lot and I want every time I open Firefox, the Web Console panel will display automatically. Currently I have to press Ctrl + Shift + K to open it. Is there any way to config the Firefox browser to make it work as I want? I prefer the native way (ie. changing configuration) rather than having install another plugins. I only need the webconsole, don't need the whole toolbox like firebug or something like that. Thank you! 回答1: I'm using a Debian derived Linux.

InvalidArgumentException: Message: binary is not a Firefox executable error using GeckoDriver Firefox Selenium and Python

萝らか妹 提交于 2021-01-28 04:35:53
问题 I am having trouble with a selenium error related to a FireFox binary. I added C:/Users/Mack/AppData/Local/Programs/Python/ to PATH using backslashes and rebooted. I downloaded what I thought is the correct file here https://github.com/mozilla/geckodriver/releases I put the file in the directory connected to PATH. To remedy this: I tried using two backslashes binary = FirefoxBinary("C:\\Users\Mack\AppData\Local\Programs\Python\Python38-32\geckodriver-v0.27.0-win64\geckodriver.exe") which

Why doesn't Firefox show my SVG icons, and how to do it?

泄露秘密 提交于 2021-01-28 04:22:06
问题 Context I am creating a static website using HTML, CSS and JS only (for learning purposes). I successfully implemented two themes. In order to change it, I added an SVG icon in a button element. The svg then changes according to the theme (moon or sun). Problem While everything runs well in a chromium browser, the SVGs don't show at all using Firefox, but the buttons work as expected. I suspect this comes from the way I use CSS variables to change the path of the SVG on hover . However, using

Nessus安装

ぐ巨炮叔叔 提交于 2021-01-28 01:12:03
Nessus安装 实验环境 一、前期准备 1.注册账号,获得激活码 2.下载安装包 二、安装Nessus 实验环境 1.VMware Workstation软件 2.安装kali 3.可以上网 一、前期准备 1.注册账号,获得激活码 免费版的注册页面: https://zh-cn.tenable.com/products/nessus/nessus-essentials 然后去你注册的邮箱找到激活码 2.下载安装包 二、安装Nessus 1.将下载的包移动到虚拟机中 2.安装,运行 3.打开火狐,输入https://127.0.0.1:8834 由于是个人的网站,所以浏览器会提示不安全只要按步骤允许即可 4.选择安装 5.输入激活码 6.设置用户名密码 7.更新。如果成功这直接进入并显示9的图片,如果失败会显示8的图片,并按照提供的方法进行操作 8.失败显示及解决方案 输入下图命令等待安装完成后重启浏览器 9.完成及登录 来源: oschina 链接: https://my.oschina.net/u/4349634/blog/4926745

Selenium GeckoDriver is slow to launch Firefox Browser

心已入冬 提交于 2021-01-27 20:18:08
问题 I have recently been trying to get a Selenium environment up and running again. Everything works as it should with scripts executing as they should, using different web drivers etc etc. However, the initial launch of each driver takes anywhere between 2-5 min to launch. This makes it a pain to develop and troubleshoot my scripts. I use Python 3.6 with PyCharm and Selenium installed with pip. The same issue is present with Python 2.7. Things I have tried so far (without success): Reinstalled

DOM Changed Event Firefox Extension

◇◆丶佛笑我妖孽 提交于 2021-01-27 17:29:43
问题 So I have created a Firefox extension and it works great, however when I submitted it (although it was accepted) it came up with one security warning. It said setTimeout() was removed in an else clause. So, is there a way to listen for any DOM change? (or even a specific element changing, I have an ID for both). However, divs do not have an onChange event so any ideas? I don't mind if it's ANY change, doesn't have to be div-specific. 回答1: DOMSubtreeModified event sound like something you want