Questions tagged [firefox]

16755 questions
1

votes
0

answer
262

Views

Prevent Middle Click button from opening new tab in FIREFOX not working

I have the following simple code -I had a rather more sophisticated thing but this exemplifies my point-. I have the below html Click me And the following javascript code function preventOpen(event, element){ event = event || window.event; event.preventDefault(); if (event.which != 3) { element.clic...
user2237998
1

votes
1

answer
27

Views

Firefox Style tab - where has it gone?

It was simple in the old Firebug but it isn't there anymore and I can't get it back? I'm sure it is simple, but where is it please? To clarify, on the right side of the menu tabs in Firebug there was a Style tab and when you clicked it you could see the CSS changes for the :hover, :active, and :focu...
Richard
16

votes
3

answer
6.2k

Views

jQuery in Greasemonkey 1.0 conflicts with websites using jQuery

Ever since the new Greasemonkey 1.0 was released a few days ago, every site that has jQuery and where I use jQuery in my Greasemonkey script do not run my script properly. The jQuery I have in my GS script (using the @require metadata) conflicts with the page's jQuery. This is due to the new @grant...
Gary
1

votes
0

answer
136

Views

localStorage access from firefox extension scope

I have a Selenium program running Chrome/Firefox web drivers with my extension on each browser. The extension is generic and each time the program runs it loads different config to the extension using localStorage. The flow is: Start the web driver with the extension installed. Navigate to a web pag...
Adi Ohana
1

votes
2

answer
1.9k

Views

Vertical scrollbar styling not works in Firefox browser

Code for Chrome, Opera, Safari for scrollbar as below: .scroll_bar::-webkit-scrollbar{ width: 20px; } .scroll_bar::-webkit-scrollbar-track{ -webkit-box-shadow: inset 0px 0px 6px #0067ab; border-radius: 5px; } .scroll_bar::-webkit-scrollbar-thumb{ -webkit-box-shadow: inset 0px 0px 6px #0067ab; border...
Aryan Infotech
1

votes
1

answer
265

Views

can't download .XLS file from url using selenium python. Always end up with Firefox download popup

I have tried various methods but I'm unable to download excel file. I always end up with the firefox popup staring at me. any Idea how to get this working import time from selenium import webdriver from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.common.by import By fr...
Rahul Mishra
1

votes
0

answer
229

Views

The Selenium Firefox WebDriver does not start the installed extension

I have: Selenium Firefox WebDriver v.3.8.1 Browser Firefox 43 XPI-file with firefox add-on I ran the extension in the browser in two ways: jpm and using the program on the java through selenium firefox web-driver. In the first case, I run command jpm run, which creates a new profile with the exte...
bva
1

votes
1

answer
2.3k

Views

My website is getting Corrupted Content Error in firefox on login

I have a website that is getting corrupted content error when logging into a user account. This error occurs in Firefox. It only occurs when you log into with a clean cache. After you log in once, you get that error, but you get skip past it. Then if you log out, and log back in again, you won't get...
user904542
1

votes
0

answer
38

Views

Firefox intermittently sets all colors on a page (text, background, links, highlighted text, etc.) to a single color, on both Android and Windows

This has been happening on Firefox for Android (57.0.1, Android 8.1.0, Security patch level: December 5,2017 -- but I cannot be totally sure that it has happened since the most update, since I have automatic updates on), and just happened on Firefox ESR (52.5.2, 32-bit, updates disabled by sysadmin,...
Chris Henry
1

votes
2

answer
71

Views

Fully Iterate/Scrape a HTML document in Javascript

I am fairly new to Web-Development, including HTML/CSS and also Javascript. Is there a way to scrape a whole HTML Document, looking for certain patterns in it's inner text, using only vanilla JS? I need to extract/identify different forms of IP Adresses from the Document, even those that are not mar...
DoeJ123
1

votes
1

answer
178

Views

SVG linearGradient mask not working since Firefox Quantum

https://codepen.io/timbarden/pen/wpqGYE In Chrome, this works as intended - it should display a purple/green gradient masked by another vertical gradient. This used to work in Firefox, but since Quantum has stopped working. Any ideas?
Tim
1

votes
1

answer
1.2k

Views

Javascript - SecurityError: The operation is insecure

I have following html element Edit On click, I want to read the content from data-content attribute and populate the corresponding html elememt. Here is how I tried $('.btn-modal').on('click', function() { if ($(this).attr('data-mode') && 'edit' == $(this).attr('data-mode')) { var content = $(this)....
Ibrahim Azhar Armar
1

votes
0

answer
128

Views

Lose window.history.state after page refresh in Firefox Quantum

I do not know if a problem in the history library or browser, but ... I am working on Firefox Quantum 57.0.4 64 bit, and when I select the url and press enter, after updating the page I can not get the history.location.state. After investigating, I discovered that window.history.state is null. Does...
1

votes
1

answer
559

Views

python proxy in selenium firefox headless not working

I am using Ubuntu Server 17.04. I am trying to set my proxy into selenium. But it's not working. I am using proxy from https://stormproxies.com/. Basically only the ip i allowed it will be allowed to have proxy and then i have to use the ip that they give me to access it. So basically it's not anyth...
Omega
1

votes
0

answer
163

Views

Lato font broken in FF when using latin-ext characters

I have developed a site in Polish using the 'Lato' Google Font (supports the latin-extended character subset). My site is http://www.innova.uno I have placed the code from GF website in my theme's ` section: When I open the site in Chrome, all text are displayed correctly. But when opening the site...
Chris Osiak
1

votes
0

answer
29

Views

Session Sharing on Firefox

I'm using this code on Firefox 57 Web Extension to create a new tab in Firefox 57 let mirror = browser.windows.create({ url: profiler.url + '?profiler=' + i, state: 'fullscreen' }); mirror.then((docking) => { let updateInfo = { left : x, width : screen.width, height : screen.height }; browser.w...
Yohanes AI
1

votes
0

answer
84

Views

Selenium reuse brower from 2 different application

I'm trying to open 2 different tabs in the same browser session from 2 different application. I'm using Firefox v57.0, Geckodriver v0.19.1, Selenium v3.8.0.0 The 2 apps are playing in the same time. I'm just trying to open a new tab from app 2 X seconds after App 1 open the first tab. App 1: Firefo...
John Daves
1

votes
0

answer
20

Views

How to make a Firefox extension that will call my custom file downloader?

I am trying to make a Firefox extension that will launch my custom downloader. The downloader is already installed on my users computer. It will only be called when the user is on my website. I already have been working on this and have it launching a notifier when the user clicks on my link. Bu...
TheBigOnion
1

votes
2

answer
62

Views

Repositioned button text not clickable

I've created a button that looks like a document with a label below it by moving the button's text outside of its self with position absolute: $('.item-title').hover(function() { $(this).parent().addClass('hover'); }, function() { $(this).parent().removeClass('hover'); }); $('.item-title').on('...
Nidonocu
1

votes
1

answer
83

Views

IT Hit WebDav protocol installer fails with Firefox

I am using the latest version of Firefox (57.0.4) to test my IT Hit WebDav server implementation. When I attempt to open a file other than MS Office I expect to be prompted to install the protocol installer. Rather than being prompted I get a dialog that says I need to install something from the Win...
Matt Conrad
1

votes
0

answer
98

Views

OpenLayers SVG animating in Chrome but not FIrefox

I have an SVG that will animate correctly when my site is loaded in Chrome, but only draws to the first step in the animation sequence in Firefox. It is loaded up in the ol.style.Icon format, in a method that seems well tested. I have pretty much ruled out syntax as an issue, as I can load the SVG...
J Stein
1

votes
0

answer
26

Views

Correct use of required attribute

I've noticed that firefox (my Google Chrome version doesn't) automatically changes: to Why this happens? Is it still correct using 'required' without giving any value to it?
genespos
1

votes
0

answer
32

Views

Firefox Webextension observer for preference change?

Does WebExtension support internal notification (aka observer listener) for preferences? In legacy extensions we used preference observers Basically I'm looking for a way reflect any changes to signon.rememberSignons preference at options page of a WebExtension. Currently I'm using this code to get/...
vanowm
1

votes
0

answer
28

Views

How to set Firefox resource management

I've got a web application that is spread out over three monitors (three seperate windows that communicate between each other using a broadcast channel). On the screens I show multiple video streams (up to four per screen) in MJPEG format. All video tags consist of standard tags that get updated fr...
Sand0rf
1

votes
0

answer
35

Views

Find the source file of a function in Firefox DevTools

In Chrome Devtools console, if I output a Function object, it shows the top few lines of the function. I can click on the function name in the output and it takes me to the file and line where the function were loaded from (or from the original source if theres a source map): In the new Firefox Devt...
Tom A. Vibeto
1

votes
0

answer
128

Views

Greasemonkey: how to get HTTP response headers request URL on a page with a redirection?

Is there a way to retrieve HTTP header location of page loaded from Greasemonkey (so using javascript)? In debugger, it's named in 'Headers > Request url'. I can't to do a new request using XMLHttpRequest() on page, because the page is redirected (307 Temporary Redirect or 308 Permanent Redirect). I...
Genjo
1

votes
1

answer
33

Views

I can't refresh external javascript file

I'm making some changes on my .js file and upload to server. But I can't refresh .js file and I can't see my changes on my browser. I deleted all caches, cookies, temporary files, history on firefox and chrome. I disabled output caching on IIS. Even I delete my script file from folder, I can still...
Emirhan ÖZKAN
1

votes
3

answer
1.2k

Views

How to launch a specific URL with Firefox in C#

I'm trying to launch a specific URL using Firefox. But I'm only able to open Firefox browser and not able to launch that URL. class BrowserHelper { IWebDriver driver; string path = Path.Combine(Environment.CurrentDirectory, @'gecko\\'); public void Navigate(string url) { path = path.Replace(@'\', @'...
HelloWorld
1

votes
0

answer
435

Views

Selenium WebDriver - Process unexpectedly closed

I have built a Docker image on top of Node to execute a bunch of Selenium tests. Here is my Dockerfile: #Dockerfile for individual node instance FROM node:latest #add the .js Selenium testcase files COPY ./tests /tests #add geckodriver (latest version) from local directory COPY geckodriver-v0.1...
wallnfl
1

votes
0

answer
338

Views

CSS transform not working with SVG in Firefox

I have this simple hourglass animation made in SVG. The animation works in Chrome but does not work in Firefox. I am applying css transform translate to the #upper-fill-clip and #lower-fill-clip rect. @keyframes flowdown { 0% { transform: translateY(18%); } 100% { transform: translateY(49.2%);...
besrabasant
1

votes
0

answer
544

Views

Firefox can’t establish a connection to the server

I have been looking into this for 2 or 3 days but could not find a solution. Firefox can’t establish a connection to the server at ws://localhost:35729/livereload See the error screenshot: See the following chromerealod.ts code: const LIVERELOAD_HOST = 'localhost:'; const LIVERELOAD_PORT = 35729...
Abdul Qadir
1

votes
0

answer
201

Views

.focus() jQuery & vanilla js not working on element in firefox

I have a element that I've made focusable through tabindex='0' attribute. These labels contain inputs and are custom checkboxes. The typical functionality between checkboxes and radios in a group is to use the up and down arrow keys to switch between them and space to select. I am trying to recreat...
wordSmith
1

votes
0

answer
54

Views

.focus() not working in firefox esr but is in Chome and FF quantum

Is there any reason why this code would work in Chrome/FF but not in Firefox ESR? console.log('before'); var element = window.document.querySelector('.someClass'); if (msg.data.result === 'save') { element.setAttribute('save', 'true'); } element.focus(); element.classList.remove('someClass'); consol...
bobbyrne01
1

votes
1

answer
255

Views

Selenium Firefox Webdriver doesn't run when launched through a scheduled task with option “Run whether user is logged on or not”"

I would like to execute tests using Selenium WebDriver with a variety of browsers (at least Firefox and Chrome). In order to run these tests regularly, I created a scheduled task which launches a simple command: node screenshot.js >log.txt 2>&1 Where screenshot.js is: var webdriver = require('sel...
Bruno Pérel
1

votes
0

answer
269

Views

Select box menu not working on mouse click in Firefox version 58

I am having a select box menu and its not working on mouse click in Firefox 58. But in previous version its worked fine. Also its working fine in other browsers too. My code looks like this: Price (Low-High) Price (High-Low) Brand Mileage Warranty Wet Dry Comfort Winter/Snow Treadwear CSS: .top-resu...
Naveen
1

votes
0

answer
307

Views

Selenium Webdriver with Python: Firefox Profile Handling

I have created a new firefox profile, that I want to use for the automated tests. When calling firefox manually with this profile then I see the menu bar and the bookmarks toolbar. But when using this profile within my code I still get no menubar and no bookmarks toolbar myprofile = webdriver.Firefo...
Kermit69
1

votes
0

answer
39

Views

Troubleshoot CSS Sourcemap on Firefox 59

I'm using Firefox 59.0b5/64 bit on Win 10. On a new project, DevTools isn't recognizing the CSS sourcemap created with gulp-sourcemap. Sourcemaps created on earlier projects work fine in Firefox so I don't believe it's a Firefox settings issue, and sourcemaps in Chrome DevTools work fine on this pro...
Steve Clason
1

votes
2

answer
173

Views

Text overflow only not works in firefox

The truncated text in a paragraph just not working in Firefox. Any idea? Chrome Firefox display: -webkit-box !important; overflow: hidden !important; text-overflow: ellipsis !important; -webkit-box-orient: vertical !important; -webkit-line-clamp: 5; line-height: 1.3em !important; height: 5.6em !impo...
newBike
1

votes
1

answer
86

Views

Need a little help understanding Node.js behavior. Why does a koa server respond synchronously to two simultaneous requests from the same browser?

So I am just to trying to write a hello-world server with koa and koa-router. This is my code. const Koa = require('koa') const Router = require('koa-router') const timeout = (ms) => new Promise(res => setTimeout(res, ms)) const timestamp = () => { const d = new Date() return `${d.getUTCMinutes()}:$...
Kid Coder
1

votes
0

answer
59

Views

Weird JavaScript arithmetic behavior for random number in different browsers, possible arithmetic precision issue

Can someone explain the logic behind why the chrome and firefox engines do below arithmetic differently than IE? Below is a snap from firefox console. Screenshot from browser console console.log('(26.6811*1000/1000) = ' + (26.6811 * 1000 / 1000)); console.log('(26.6821*1000/1000) = ' + (6.6821 * 10...
user1455410

View additional questions