Questions tagged [firefox]

12251 questions
1

votes
1

answer
444

Views

<video> tag for MPEG 4 Visual for firefox and Chrome

I am trying to play different types of MP4 videos on different browser using HTML5 video tag. MPEG-4 Visual is creating problem in chrome and Firefox. Its working fine in Safari. Its showing black screen with some audio. Why ?? Your browser does not support HTML5 video. I am using this code. This v...
Sajid
0

votes
0

answer
4

Views

How to run user scripts on Firefox's built-in PDF Viewer?

I'm running a simple Greasemonkey/Tampermonkey user scrip in Firefox which gets selection of a text (let's say, just a single word) and opens a translator for it. // ==UserScript== // @name translator // @version 1.0 // ==/UserScript== document.addEventListener('dblclick', handleDblClick, true...
escudero380
5

votes
3

answer
120

Views

Why isn't it possible to download a file for status code 4XX and 5XX

I have noticed that many http clients including Firefox and Chrome don't allow file downloads for http response codes with 4XX and 5XX. However, some clients allow these downloads, like curl and wget (with --content-on-error option). Both Chrome and Firefox don't provide nice exception messages. Chr...
Robin
1

votes
1

answer
100

Views

How to generate a Webassembly (WAT) with i64 instead of i32 from a C code

I'm trying to generate a .wat file with i64, but it is just compiling to i32. In the C code I tested using int and int64_t, but I haven't success. This is the C code: #include #include #define MAX 64 int main(void) { int64_t v1[MAX], v2[MAX], v3[MAX]; int64_t i; for(i = 0; i < MAX; i++) v3[i] = v1...
Clauber Stipkovic
5

votes
1

answer
87

Views

document.execCommand(‘cut’/‘copy’) was denied in bookmarklet

I am working on a bookmarklet that makes an href link of the current browser tab and copies it to the clipboard. This bookmarklet works in Safari: javascript: !function(a){ var%20b=document.createElement("textarea"), c=document.getSelection(); b.textContent=a,document.body.appendChild(b), c.removeAl...
BlueDogRanch
6

votes
2

answer
149

Views

How to change proxy on my webdriver multiple times on a single session?

I am working on a bot. I want the bot to change the proxy of the webdriver every 50 searches. I have an API that requests the proxy and the socket, i store those variables and so far i have been using firefox profiles to set it up but that doesnt work very well. So given the fact that i already have...
1

votes
0

answer
12

Views

Need assistance with creating multilevel context menu for firefox Add-on

Whenever I click on the US ID it will always take me to CA ID page. Please help me correct the background code. Thank you. manifest.json { "manifest_version": 2, "name": "Amazon", "description": "Search on Amazon", "version": "1.0", "icons": { "48": "logo_48.jpg" }, "permissions":["contextMenus"], "...
SPS
1

votes
1

answer
170

Views

Writing-mode issue on firefox

I've got following html/css code: Mentoring Working holiday program CSS: .courses-edu-imm-nav-container { text-align:center; } .courses-edu-imm-nav { font-weight:'Montserrat', sans-serif; font-weight:bold; margin:0 auto; display:inline-block; text-align:left; } .courses-edu-imm-nav dt { -webkit-tran...
Paweł Skaba
1

votes
2

answer
34

Views

is Math.round or Date different for firefox?

Is Math.round different for firefox? Or is Date different? var p = Math.round(((today - start) / (end - start)) * 100); In firefox p is "N/A" in crome it is a normal number. Why? today, start and end are all Date objects.
Chris Fraser
0

votes
0

answer
2

Views

prevent firefox from flashing white on loading page

How can I prevent Firefox from flashing a white page before it loads a webpage? I often use dark themes with Firefox (with the Stylus extension), and it is annoying to see a white flash before it loads the dark webpage. Is there some way to change the loading page background color to some other co...
azim58
2

votes
1

answer
47

Views

How to detect inline Firefox extension installation, and intercept it - Firefox extension development

I am building Firefox addon am trying to detect inline installation of the Firefox extensions. To be clear, installations on the places that are not on the Mozilla domain. So, when I am on some website, and when I trigger the extension installation (the .xpi file), I want to redirect the user to som...
Vladimir Kostov
5

votes
1

answer
191

Views

Parse addon id from mozilla.rsa file

I am trying to read mozilla.rsa file and parse the addon Id using C++. My effort: std::string rsaPath = xpiDir + "\\META-INF\\mozilla.rsa"; int rets = system(("CertUtil " + rsaPath + " | findstr " + "S=CA").c_str()); // ..... My additional logic............. ..... /// It's working fine on Windows 7...
Jayesh
2

votes
0

answer
31

Views

How do I override touch zoom and pan in firefox & chrome with pointer events

This goes for other browsers too but primary targets are Firefox and Chrome. I have registered all pointer event listeners and had to register mouse down and moue up listeners to get the button state changes ( button states in pointer events are not accurate or "chorded" ) But even if I do event.pre...
peterk
1

votes
1

answer
186

Views

Input inside of a button in IE and FF

I have a UI that allows a user to change the text on a button. When they click an edit icon, it puts the button text into a text input where they can edit it, then save. Now, this works fine in Chrome, but doesn't work in IE11 nor Firefox, even when I stop the event from propagating. It seems like t...
bbailes
0

votes
0

answer
4

Views

PUT request with Multipart/form-data fails only in firefox

I've tried this on Edge, Chrome and Opera and my upload works fine, the problem happens ONLY on firefox: From the front end, I send a multipart/form-data request like so: $.ajax({ url: `/api/myUpdate/${$scope._id}`, method: 'PUT', data:formData, contentType:false, processData:fal...
Felix
0

votes
1

answer
46

Views

Not able to secure website on Firefox even after installing SSL certificate

I am using the below code to install SSL certificate on my website: const express = require('express'); const path = require('path'); const app = express(); const fs= require('fs'); let privateKey = fs.readFileSync('certificate/x.key', 'utf8'); let ca = fs.readFileSync('certificate/x.crt', 'utf8');...
writeToBhuwan
1

votes
1

answer
3.1k

Views

errors with webdriver.Firefox() with selenium

I am using python 3.5, firefox 45 (also tried 49) and selenium 3.0.1 I tried: from selenium import webdriver from selenium.webdriver.common.keys import Keys driver = webdriver.Firefox() Then I got the error message: C:\Users\A\AppData\Local\Programs\Python\Python35\python.exe C:/Users/A/Desktop/car/...
hdiuwhciu
0

votes
0

answer
6

Views

Proper use of execCommand and insertHTML for custom styles

I'm sure this is a novice question, but I haven't found an answer anywhere. If using Firefox only, is document.execCommand fairly reliable for providing the user a small list of styling options in a contenteditable division? The example in the closing note of this MDN document appears to work well,...
Gary
1

votes
1

answer
886

Views

Strange input widths in Firefox vs. Chrome

I've got some number inputs in a flex layout which are not sizing as expected in Firefox, and I don't understand why. The result in Chrome: The result in Firefox: As you can see, the XP row doesn't overflow its parent in Chrome (no horizontal scrolling), but it has significant overflow in Firefox (w...
Brian S
0

votes
0

answer
3

Views

“Server Error in '/' Application” in Browser when using Selenium

I am running a loop in Python 3 using Selenium that goes to a website, inputs a username + password, enters a company name in the search (Then for particular companies it crashes), and acquires some text. Each Loop is being produced to find the revenue for a particular company, this error messages...
Ken Pen
1

votes
2

answer
923

Views

Modify logging level on Selenium Firefox driver?

I'm running tests for a Java/Maven project using Selenium 3.4 and the FirefoxDriver (not the Marionette/Geckodriver). I have Firefox 45.9.0 installed. Our test code uses Log4j2 and I can set the logging level to whatever I like, but no matter what I set it to I get log messages like this in the co...
user1071914
1

votes
1

answer
220

Views

base 64 byte array not working in chrome

I am using ASP.NET MVC with jquery and SQL SERVER. I have one page where I got base 64 from controller side to ajax success and pass it to the browser's new tab and it will show me pdf file: window.open("data:application/pdf;base64, " + data.bytedata); The interesting thing is in firefox it is worki...
1

votes
1

answer
108

Views

How do I get the fully qualified URL for a file inside my extension?

I am making my first Firefox extension using the WebExtension API and cannot find a way to redirect a website to an HTML file that is in the extension's directory. I have already managed to redirect the website but only to other websites or other pages on the website. manifest.json: { "manifest_vers...
Logan Miller
1

votes
2

answer
2.9k

Views

Hide menu bar in Firefox 57

I'd like to give a presentation in Firefox 57, but I cannot find a way of hiding the menubar/address bar/tab bar when I'm in full screen. I feel like it would be distracting to see that during a slideshow. Is there a way to hide the menu bar? I am using Firefox Quantum 57.0b3 (64-bit). Edit: on OSX.
oscarafone
-3

votes
0

answer
26

Views

Sorting function not working on Chrome. Fine on Firefox and Safari

My sorting function is working fine on firefox and safari. but it's not running on chrome. anybody know why? thanks for any help. var sorting = 1; $(".tops div").each(function() { $(this).click(function() { var cl = $(this).attr("class") var type = $(this).attr("data-type") || 'unknown'; sorting =...
Carol Privat
1

votes
1

answer
953

Views

How to import firefox cookies to python requests

I'm logged in on some page in Firefox and I want to take the cookie and try to browse webpage with python-requests. Problem is that after importing cookie to the requests session nothing happen (like there is no cookie at all). Structure of the cookie made by requests differ from the one from Firefo...
Ondrej
1

votes
1

answer
62

Views

Is it possible to see all edited styles in Firefox developer tools?

My preferred CSS workflow (at least when tweaking existing CSS) is to edit directly in the browser using the 3-panel Inspector panel, then copy the edited styles to my stylesheet. Sometimes I'll edit the styles for many elements and forget that I edited some element (since you can only see if it's...
Libby
0

votes
0

answer
6

Views

Modal covers the whole screen in every browser except Firefox

I am using react-modal-image for my modal. It is supposed to have a background which covers the whole background and it works completely fine in all the browsers except Firefox in which it becomes only as big as its parent div. CSS: .container{ position: fixed; z-index: 1000; left: 0; top: 0; width...
Zotov
1

votes
2

answer
4k

Views

Looking for HTTP Authentication website examples

I am looking for a website that requires HTTP authentication, so I can observe the behaviour of typical HTTP authentication dialog boxes. The reason I am looking into this, is that for some reason, on Firefox 3, our Flex app seems to open another HTTP authentication dialog box again, after cancel is...
Clarkarot
1

votes
1

answer
212

Views

How to Set the Source Parameter using OAuth on Twitter?

my name is Fernando and I was here asking if there was a way to set the parameter 'source' using REST. Today, after some testing, I managed to implement OAuth in the library and I succeeded in publishing a message directly by OAuth configured for my application, but do not see what I had set for the...
Fernando Mota
1

votes
1

answer
1.3k

Views

jQuery.each() not working in Firefox and IE?

I have a problem with using $.each function between browsers. I have lists with background-images and if they are finished loading the parent DIV will fadeIn. I dont know if my code is correctly written (but no js error in console). This code works fine in google chrome but not in Firefox and IE(es...
norixxx
0

votes
0

answer
7

Views

Firefox Python selenium not going headless

i am trying to make firefox headless and doing exactly as shown in the documentations this shouldn't be doing what it is supposed to the firefox window is appearing even when i am adding the headless argument cap = DesiredCapabilities().FIREFOX cap["marionette"] = False options = webdriver.FirefoxOp...
Shantanu Shady
0

votes
0

answer
3

Views

Script(hotkey) that Swithcing Firefox Profile instance

summary: It that possible for us to write a script that easily firing up /switching between Firefox Profiles instance. Just like Chrome it has a feature that switching Users using keyboard shortcut. I create a hotkey only for Firefox as Which is "working" so far, except that, I would like to see the...
ScsD
1

votes
1

answer
1.5k

Views

linear gradient + background-size is not working in firefox

Im using a linear gradient with a background-size of 400%. this allows me to animate between gradients on hover and active state by changing the background-position. It works great in webkit but not in firefox. It seems as though the background-size property is not acknowledged at all. Firefox is b...
Adam Mork
1

votes
1

answer
1.2k

Views

How to view the web server http response size in KB?

I include jquery, jquery-UI and some jquery plugins in my website and I'd like to know the size in kb of each response, specially the first one. How can I see it in Firefox, Chrome and IE8? Thank you.
anmarti
1

votes
1

answer
601

Views

Image fails to load after javascript redirect is triggered

I have an odd issue in Firefox. I have a aspx page that redirects the user to a particular URL based on a form post. The code behind mimics a shopping cart experience, so I have not found a way to remove this page entirely. The issue that I am having is that the image is displaying a broken image, e...
whoacowboy
1

votes
1

answer
4.5k

Views

“Object Not Found” error in phpmyadmin

I installed xampp in window 7 . but whenever i tried to click home button in phpmyadmin . the url turn weird and it doesn't redirect to http://localhost/phpmyadmin/main.php?token=b0ffa519161e4c2e54c230a2fe97107a and redirect to the following instead . http://localhost/phpmyadmin/://localhost/phpmy...
Naing Lin Aung
1

votes
1

answer
3.1k

Views

CSS3 animation working on firefox but not in chrome

Please don't be so hard on me its my first question. I have found many answers on this site before however on this subject I only find solutions about using -webkit- wich I think I do properly, or put the non-tag animation on the bottom wich I also do. So I have this boxes (and some more as well), m...
user1878697
1

votes
1

answer
13.1k

Views

document.getElementsByClassName() not working like getElementById does? [duplicate]

Possible Duplicate: Can getElementsByClassName change style? I am trying to "fix" the "new" YouTube using Greasemonkey, I've been getting things to work as they should when it's with ID's, however I have been unable to modify anything with a class, it appears I am unable to select it or whatever an...
Dylan Cross
1

votes
2

answer
84

Views

How does a browser include a javascript file?

When you add a script tag with an src field pointing to a javascript file, the browser gets it and executes it. What I am wondering is how does this process work. Does the file get fetched and then somehow eval()'ed? Is it a mystical process that happens outside of the scope we have access? Or can w...
johnjohn

View additional questions