Questions tagged [firefox]

16768 questions
0

votes
0

answer
3

Views

What is the best practice for using Firefox's geckodriver in a Selenium Automation Framework?

I've started trying out Selenium with Firefox and I've gotten it to work by downloading the gecko driver and referencing the file path in my code (I'm using C#): FirefoxDriverService service = FirefoxDriverService.CreateDefaultService(@'C:\mypath\'); IWebDriver driver = new FirefoxDriver(service);...
Wookovski
1

votes
2

answer
65

Views

Input search not working in Edge, IE, or Firefox

The search bar works in Chrome and Opera but not in the browsers named above. I suggest it has something to do with the onsearch='search(event)'. Mozilla say's its not supported and I was wondering if anyone knew of a solution to this issue? HTML:
Max Loyd
0

votes
0

answer
6

Views

How to access Browser Extensions (browser namespace) Javascript API in React

I've recently taken some interest in creating a browser extension for Firefox. Because I've got a lot of experience with React & I want to combine that with the browser extension, I'm trying to understand how to implement the browser namespace in React. Let's say I would want to get and render a li...
Cédric Bloem
0

votes
0

answer
7

Views

How to insert data to form text inputs with a content script when javascript validation is preventing it

I have a Firefox add-on which fetches personal data from a server, sends it to a content script in an active tab which then tries to match the data to any form input fields it finds. I am looping over a NodeList using const inputs = document.getElementsByTagName('input'); then using .match() meth...
russell newton
0

votes
1

answer
11

Views

font-size in Chrome with animations doesn't work correctly

It seems like the font-size with animations doesn't work correctly. Anything below font-size: 6px doesn't change the size of the element. This seems to be a new things and works correctly in Firefox. See example below. https://jsfiddle.net/72tdqxme/7/ enter code here
Dimitry
0

votes
0

answer
3

Views

How to create a new tab page extension for Firefox

After researching Firefox documentation for a while; I discovered the basics in creating an addon. Now, I want to take this a step further. Let's say I want to create my own html homepage / new tab page for Firefox that shows, just for now, a basic background image; where would I need to start? Curr...
Cédric Bloem
0

votes
0

answer
14

Views

How to use javascript offline in firefox?

I'm developing a browser app in javascript. The main point is offline usability. Everything works fine in Chrome browser, but not in Firefox. If I am pressing a button in Firefox while I am offline, the screen freezes (I cannot even press any button) and I can do nothing else. In Chrome I can press...
Alfons-Alpi
0

votes
0

answer
4

Views

Passing native messaging port from background.js to popup.js

I'm trying to build a chatbot in a web-extension for my company and I'm having some problems with javascript as I'm a junior in this language. So basically I want to pass var port = browser.runtime.connectNative('ping_pong'); from my background.js to my popup.js but I always get ReferenceError: port...
elaskar
0

votes
0

answer
3

Views

iMacros cannot insert content in to text field

While recording iMacros, I got this code TAG POS=1 TYPE=DIV ATTR=CLASS:checker__title-inputjs_checker__title-inputjs_checker_module__input&&NAME:text-title&&DATA-PLACEHOLDER:PasteYourTitleHere&&CONTENTEDITABLE:true&&TXT: Now, I want to add data from col1 of my csv. How can I insert that code into th...
user3906629
1

votes
2

answer
547

Views

org.openqa.selenium.WebDriverException: Error forwarding the new session cannot find : Capabilities {acceptInsecureCerts: true with Firefox

I have Windows 10 - 64, Firefox 61.0.2, Java installed. I'm executing my tests with selenium-grid and selenium-server-standalone-3.11.0.jar, and geckodriver 21.0, but when I run it, the test shows the following error: org.openqa.selenium.WebDriverException: Error forwarding the new session cannot fi...
Edith Alvarado
1

votes
3

answer
113

Views

Firefox WebRTC signaling DOMException Failed to parse SDP

I am using WebRTC data channels for networking in an HTML5 game. Though WebRTC can be used P2P the topology for this project is centralized client-server. The server is a Node.js process that acts as a WebRTC peer. The clients are browsers that make a 1-1 connection with the server. I am using the s...
kevzettler
0

votes
2

answer
25

Views

HTML onclick behaviour not working properly

I have the following HTML code: BibTeX Maker Click me and I have the following JavaScript code: var HttpClient = function() { this.get = function(aUrl, aCallback) { var xhr = new XMLHttpRequest(); xhr.onreadystatechange = function() { if (xhr.readyState == 4 && xhr.status == 200) aCallback(xhr.respo...
Saman Ray
4

votes
1

answer
64

Views

Java Applet “ClassNotFoundException” on Firefox 52.4.1 - works on IE

We need to run an old web application which using Java 8 Applet (sick), on Firefox 52.4.1 (last version compatible with Java Applet) and Internet Explorer 11. The applet is based on Java 8 and distributed by an Apache Tomcat server. It is signed and obfuscated (Proguard). The user connect to the web...
cactuschibre
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

View additional questions