Showing questions tagged: Show all questions

Server Authentication popup

Hey, i can't get authentication popup in this case: Server A Server B 1 site on server A My site is using some files from server B, but server B has password protection a… (read more)

Hey, i can't get authentication popup in this case: Server A Server B 1 site on server A My site is using some files from server B, but server B has password protection access like in .htaccess Problem that i don't get popup required to enter log/pass for server B when i load site from server A to get those files loaded on page. If i go directly to server B and open some page from it i see popup. Also i see popup in Chrome or IE when i'm opening site from server A, but not in firefox. I tried to set different config settings in Firefox but no luck.

Firefox 77.0 (64-bit) macOS Catalina 10.15.4

Asked by vld53 19 hours ago

Last reply by McCoy 14 hours ago

  • Solved

Firefox 76.0 javascript window.open() parameters ignored, tool bar, etc. missing

Until several weeks ago, new windows created through Javascript with window.open() worked. We could pass the new size, and other features, e.g. menubar, toolbar, etc. and… (read more)

Until several weeks ago, new windows created through Javascript with window.open() worked. We could pass the new size, and other features, e.g. menubar, toolbar, etc. and they would show up. As of v.76.0 this is no longer true. The parameters are ignored. If we use no parameters, the menubar, etc. do show, but we can't control any new window features. We have not changed our programs at all, and window.open() parameters still work correctly in Chrome, Brave, Edge, etc. How do we get Firefox to recognize the window.open() parameters (again)?

Asked by jjacobs3 1 week ago

Answered by jscher2000 1 week ago

  • Solved

firefox.cfg no longer overwrite new tab content

I'm using firefox developer edition. The latest version: 76.0b2 I have firefox.cfg set up to overwrite new tab content with locally stored html. The code in firefox.cfg t… (read more)

I'm using firefox developer edition. The latest version: 76.0b2 I have firefox.cfg set up to overwrite new tab content with locally stored html. The code in firefox.cfg that worked until recent update:

/* set new tab page */ try {

 var newTabURL = "file:///G:/Documents/Newtab.html";
 aboutNewTabService = Cc["@mozilla.org/browser/aboutnewtab-service;1"].getService(Ci.nsIAboutNewTabService);
 aboutNewTabService.newTabURL = newTabURL;

} catch(e){Cu.reportError(e);} // report errors in the Browser Console

In the browser console there is an error message displayed:

[Exception... "Cannot modify properties of a WrappedNative" nsresult: "0x80570034 (NS_ERROR_XPC_CANT_MODIFY_PROP_ON_WN)" location: "JS frame :: firefox.cfg :: <TOP_LEVEL> :: line 7" data: no]

Any idea what that error message means and how to resolve it? Does anything changed regarding new tab overwrite?

Asked by shdowmyst 1 month ago

Answered by cor-el 1 month ago

SSL problem with Firefox; no problem with Safari or Chrome

I have a website development system with SSL enabled for testing. The certificate is self-signed but expired. I added a new self-signed certificate. When I load a develop… (read more)

I have a website development system with SSL enabled for testing. The certificate is self-signed but expired. I added a new self-signed certificate. When I load a development website, Firefox issues a Warning: Potential Security Risk Ahead. When I click Advanced, the error is SSL_ERROR_BAD_CERT_DOMAIN, with additional information that the certificate has expired. Clicking Accept Risk and Continue loads an ISP website with network details of attached devices. I have repeatedly cleared Firefox cached and saved data by clearing recent history, followed by clearing everything for all the check boxes on the page. I have examined the certificates in the security settings, view certificates. The expired certificate is listed. After deleting the expired certificate from the list, and loading the development website again, results in the same problem all over again.

I have no problem with Safari or Chrome browsers, only Firefox. Firefox 76.0.1, Mac OS 10.14.6. MAMP based development system, version 5.7 using Apache.

How can I delete the expired certificate so it stays deleted, and make Firefox use the new certificate?

Asked by daphilli 2 weeks ago

Trying to start several firefox instances

I am writing a C program, which needs to start several firefox windows. The problem is: I need to kill them later, so I need the process id. So I started each of them (vi… (read more)

I am writing a C program, which needs to start several firefox windows. The problem is: I need to kill them later, so I need the process id. So I started each of them (via fork and exec) with the argument "-new-instance", but get the error "Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system." when a firefox process was already running (because there is just one allowed, I guess).

Is there a way to fix this problem, or at least get the pid of the process firefox connects to if i don't start it with "-new-instance"? By the way: It just has to work on one computer, so I can adjust settings etc. System: Arch Linux (Manjaro)

Thanks for your help

Asked by Sprinklerkopf 1 month ago

Last reply by andmagdo 2 weeks ago

  • Solved

Even after clearing cache, and changing my HTML, the old web page loads unless I quit FF completely and restart it, which I don't want to do..

I'm trying to debug a web page written in html5 with a serverside php that emails user input to me. The changes are minor aesthetic tweaks that only take a minute to cha… (read more)

I'm trying to debug a web page written in html5 with a serverside php that emails user input to me. The changes are minor aesthetic tweaks that only take a minute to change and then test.

It took me a while to realize that Firefox is not completely clearing the cache unless I exit FF and restart. That's a lot of effort to test one change in an html file, so I would really like to completely clear the cache. Does anyone know what is being left behind and where?

Asked by carlclark 3 weeks ago

Answered by Wesley Branton 3 weeks ago

Why does Firefox block loading of a resource at inline (“script-src”).

I have content security policy headers defined for my site. However, I have nothing defined for script-src. When I load a certain page from my site in Firefox 76.0 I see … (read more)

I have content security policy headers defined for my site. However, I have nothing defined for script-src. When I load a certain page from my site in Firefox 76.0 I see the following messages in the console:

Content Security Policy: The page’s settings blocked the loading of a resource at inline (“script-src”). 8 utils.js:35:9 Content Security Policy: The page’s settings blocked the loading of a resource at inline (“script-src”). 2 gps.js:231:11 Content Security Policy: The page’s settings blocked the loading of a resource at inline (“script-src”). 4 utils.js:35:9 Content Security Policy: The page’s settings blocked the loading of a resource at inline (“script-src”). gps.js:231:11 Content Security Policy: The page’s settings blocked the loading of a resource at inline (“script-src”). 3 utils.js:35:9

When I load the same page in Chromium, I see no such messages in the console.

Furthermore, there are no utils.js and gps.js scripts in the source of the loaded page. Finally, I see no problems with the display or the functionality of the page. Clearing all the cookies and the caches (local and server) has no impact on this issue. There are many other javascripts on the page, both inline and not, which do not appear to be affected but the existing settings.

So, my questions: 1) Why do these messages appear? 2) Is this an issue that I need to fix or can I safely ignore it? 3) what do the numbers after the script names mean? (gps.js:231:11 utils.js:35:9)

Asked by Ambyo 3 weeks ago

Firefox 76 doesn't always resend the POST request body after Kerberos authentication

I develop for an intranet application at work. It is based on ASP.NET Webforms. The production servers have IIS 7 with persistent authentication disabled (Persist-Auth: f… (read more)

I develop for an intranet application at work. It is based on ASP.NET Webforms. The production servers have IIS 7 with persistent authentication disabled (Persist-Auth: false), which means that the browser should re-authenticate on every request. For a POST request (full PostBack) with a large enough body, Firefox does not resend the request body anymore as of Firefox 76 (worked with previous versions). I have verified this in Fiddler. Other browsers do not have this issue. This breaks the website because the ViewState is not being sent.

Expected compliant behavior (Chrome does it like this):

  1. Browser sends the request (without authorization header)
  2. Server responds with 401
  3. Browser resends the same complete request, with authorization header
  4. Server responds with 200 + content

Incorrect behaviour in Firefox 76:

  1. Browser sends the request (without authorization header)
  2. Server responds with 401
  3. Browser resends the request with an empty body, with authorization header
  4. Server waits for the body but does not receive it, and the request gets cancelled after 2 minutes. Eventually, the browser displays a 401 Not Authorized error, but with Fiddler running I can see a 408 error with the text: "The request body did not contain the specified number of bytes. Got 0, expected xxx."

Just for fun, this is the non-compliant behavior in IE11 that actually works, unlike Firefox:

  1. Browser sends the request with the authorization header from the previous GET request
  2. Server responds with 200 + content

Asked by OronDF343 4 weeks ago

Last reply by Roland Tanglao 4 weeks ago

Click event.detail maxes out at 3 in Firefox.

I'm trying to write a javascript app. I've noticed that when I am running my app in Firefox, the click event.detail will increment only up to three. If you click more tha… (read more)

I'm trying to write a javascript app. I've noticed that when I am running my app in Firefox, the click event.detail will increment only up to three. If you click more than three times in a row, it reduces back to 2. This isn't a problem only in my app, but also when testing click event.detail at this page https://developer.mozilla.org/en-US/docs/Web/API/Element/click_event (they have a button towards the bottom of the page. I get the same problem, where I can only get event.detail to increment up as high as 3.) I tested this in Chrome, and Chrome does exactly what I need it to. However, our web app has to work in Firefox. Is this a bug in Firefox, or is there a different function I should use to see how many click events occurred in a row? I am using Firefox version 68.5.0esr (32-bit).

Thanks a lot!

Asked by FlyerKitten 4 weeks ago

Last reply by FlyerKitten 4 weeks ago

I'm developing website. In css media query @media (pointer: coarse) is true. But I'm working on laptop without touchscreen. Why? Is there is any workaround?

I'm developing website. In css media query @media (pointer: coarse) is true and @media (pointer: fine) is false. But I'm working on laptop without touchscreen. In attach… (read more)

I'm developing website. In css media query @media (pointer: coarse) is true and @media (pointer: fine) is false. But I'm working on laptop without touchscreen. In attachment there is screenshot from https://developer.mozilla.org/en-US/docs/Web/CSS/@media/pointer It shows what I'm talking about. Only Firefox has this behavior. Ie11, Edge, Chrome working as expected (css media query @media (pointer: coarse) is false and @media (pointer: fine) is true).

So question, why FF behaves this way? is it a bug? Is there is any workaround for Firefox?

Asked by cjorange 4 weeks ago

Why is Firefox caching my site?

Hello, I have deployed a new version of my site (internal, sorry) and Firefox keeps caching it although I don't see the reason for it. This is the info about it in 'about… (read more)

Hello, I have deployed a new version of my site (internal, sorry) and Firefox keeps caching it although I don't see the reason for it.

This is the info about it in 'about:cache' (I deployed a new version at 10:20):

key: https://[URL-OF-THE-SITE]/ fetch count: 6 last fetched: 2020-05-05 10:17:05 last modified: 2020-05-05 10:23:31 expires: 2020-05-05 11:04:08 Data size: 5758 B Security: This is a secure document.

[...]

request-method: GET

response-head:

HTTP/2 200 OK server: nginx/1.17.4 date: Tue, 05 May 2020 07:13:10 GMT content-type: text/html content-length: 5758 last-modified: Mon, 04 May 2020 12:43:21 GMT etag: "5eb00de9-167e" accept-ranges: bytes referrer-policy: no-referrer strict-transport-security: max-age=31536000 X-Firefox-Spdy: h2

original-response-headers:

server: nginx/1.17.4 date: Tue, 05 May 2020 07:13:10 GMT content-type: text/html content-length: 5758 last-modified: Mon, 04 May 2020 12:43:21 GMT etag: "5eb00de9-167e" accept-ranges: bytes referrer-policy: no-referrer strict-transport-security: max-age=31536000 X-Firefox-Spdy: h2 ctid: 1 uncompressed-len: 0 net-response-time-onstart: 315 net-response-time-onstop: 319

In the Firefox Developer Tools I always get "5,62KB (raced)" (see attached image) and looking at my server logs, it does actually fetch the page, but it still shows an old version. The content supplied by the server is definitely the new version and other browsers don't seem to have this problem.

Thanks in advance for your help!

Edit: The etag has changed between the two versions.

Asked by shlintopf 4 weeks ago

  • Solved

When testing layout on Firefox Responsive Design Mode, page appears drastically different from other Chrome/Safari

I spent hours struggling with my css and nothing would make my page look right. Whenever I tested on iPhone and iPad sizes through Firefox's RDM, the behaviour I was gett… (read more)

I spent hours struggling with my css and nothing would make my page look right. Whenever I tested on iPhone and iPad sizes through Firefox's RDM, the behaviour I was getting was far from what I expected. Then it dawned on me to try it on other browsers. Shockingly, it worked as expected. On Chrome and Safari sticky bar was sticking to the bottom (on FF, it's pushed way down, so can't even be seen on the screenshot. Also, putting them side by side, it's noticeable the size difference from the FF render. I did check my zoom levels (this is actual size) and minimum font (none), so I don't think this is a local configuration issue. I love the dev tools in FF, and find them much better for handling design overall, but this issue really threw me for a loop.

For reference, this was on FF 75.0 (64-bit) with Mozilla/5.0 (iPad; CPU OS 11_0 like Mac OS X) AppleWebKit/604.1.34 (KHTML, like Gecko) Version/11.0 Mobile/15A5341f Safari/604.1.

Is this a known browser issue?

Asked by Taly 1 month ago

Answered by Roland Tanglao 1 month ago

"CORS request not http" error when loading file:/// URI after setting privacy:file_unique_origin to false

I've created an HTML page while trying out a JavaScript library and am loading both the page and its data source (a JSON file) from local files for now, using file:/// UR… (read more)

I've created an HTML page while trying out a JavaScript library and am loading both the page and its data source (a JSON file) from local files for now, using file:/// URIs. A week or two ago, when I first tried this, I encountered a "CORS request not http" error, as described here, when trying to load the JSON file. In my about:config, I set the privacy.file_unique_origin preference to false, after which I was able to load the JSON file successfully.

A couple of days ago, though, I started to see the "CORS request not http" error again, and I have seen it every time I have loaded the page since then, despite confirming that privacy.file_unique_origin was still set to false. I've tried several things to try to get that preference to take effect again: resetting privacy.file_unique_origin to true, setting it back to false, and restarting Firefox; reinstalling Firefox; and refreshing Firefox.

Screenshots of the error message and the privacy.file_unique_origin preference are attached. I'd appreciate any suggestions of what I should try to get the JSON file:/// resource to load successfully again. Thank you.

Asked by Sam Duncan 1 month ago

Last reply by Roland Tanglao 1 month ago

Command "summary"

Hello, in Firefox the html commands "summary" are not displayed. In all other browser I can see and open it. In Firefox I see only the word, but not the triangle befor… (read more)

Hello, in Firefox the html commands "summary" are not displayed.

In all other browser I can see and open it. In Firefox I see only the word, but not the triangle befor the word (Screenshot: in other browsers) (screenshot: summary in firefox)

What can I do? Is it possible to show the summary order also in firefox?

Thanks and greats

Asked by info-huber 1 month ago

Last reply by info-huber 1 month ago

Using the call tree under performance tab of devtools cause how much overhead on response times?

I have used the call tree under performance tab of developer tools to measure response time of some of java script functions my application uses. Can you please tell me h… (read more)

I have used the call tree under performance tab of developer tools to measure response time of some of java script functions my application uses. Can you please tell me howmuch over head(%) would be caused by this profiling tool?

Asked by ranjithchreddy 1 month ago

[Bug?] Cookies are not stored in Firefox - but in Chrome they are!

Hello, so well, my cookies that I send from API backend 127.0.0.1:8000 to a cross domain frontend https://bd1.advena.me are not stored in Firefox. But on the other hand, … (read more)

Hello,

so well, my cookies that I send from API backend 127.0.0.1:8000 to a cross domain frontend https://bd1.advena.me are not stored in Firefox.

But on the other hand, they are tough in Chrome.

Asked by larstru 1 month ago

How do I fill the entire array with the computed answers with just the one input to the array element using the html console?

In the html console, I put an element.value = My new input .value into array index #8 (I pressed enter and only got an undefined instead of specific text answer I wanted… (read more)

In the html console, I put an element.value = My new input .value into array index #8 (I pressed enter and only got an undefined instead of specific text answer I wanted, then I did a small change and all I got was "". The rest of the index element readonly textfields are empty regarding text. I want to fill the entire array with the computed answers with just the one input to the array element using the html console.

how to make an html browser console calculate one user input to fill entire the array using single different inputs and different full array answers every time.

Asked by TK27 1 month ago

How to disable flashing in the inspector?

When an element updates it flashes yellow in the inspector. Is there a way to disable this? I am working on a web game and elements get updated all the time and the yello… (read more)

When an element updates it flashes yellow in the inspector. Is there a way to disable this? I am working on a web game and elements get updated all the time and the yellow flash every second gets really annoying, making it harder to debug.

Asked by Donutask 1 month ago

Focus dev tools on inspect element

On Ctrl+Shift+C you can inspect an element, but for some reason when you click an element the dev tools window doesn't get focused automatically. If you right click and s… (read more)

On Ctrl+Shift+C you can inspect an element, but for some reason when you click an element the dev tools window doesn't get focused automatically. If you right click and select "Inspect Element" from the context menu the focus changes correctly. This is a small issue but very annoying to work with.

Asked by nikita1347 1 month ago

Last reply by nikita1347 1 month ago

  • Solved

How to remove Event Listener at the inspector panel of firefox devtools?

Guys, Removing Event listener on chrome is simple, just view it on the bottom right section, expand the element on the event trees, then click the 'remove' button. Tada a… (read more)

Guys, Removing Event listener on chrome is simple, just view it on the bottom right section, expand the element on the event trees, then click the 'remove' button. Tada and putta, the event is no longer functional. But, on firefox platform, how to achieve that???

Asked by 1983115293 1 month ago

Answered by Buddhika 1 month ago