Отображение вопросов с тегом: Показать все вопросы
  • Решено

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… (читать ещё)

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 месяц назад

Answered by jscher2000 1 месяц назад

  • Решено

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… (читать ещё)

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 3 месяца назад

Answered by cor-el 3 месяца назад

  • Решено

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… (читать ещё)

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 2 месяца назад

Answered by Wesley Branton 2 месяца назад

  • Решено

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… (читать ещё)

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 2 месяца назад

Answered by Roland Tanglao 2 месяца назад

  • Решено

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… (читать ещё)

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 3 месяца назад

Answered by Buddhika 2 месяца назад

  • Решено

CSS sourcemap: Page doesn't update after changes to scss file. Although I can confirm there's compilation of scss file into css

Hi, I'm using webpack 4.6 and Babel 7+ to compiled JS, CSS, and their sourcemaps. I can edit individual SCSS files directly in the style editor, and have verified that w… (читать ещё)

Hi, I'm using webpack 4.6 and Babel 7+ to compiled JS, CSS, and their sourcemaps. I can edit individual SCSS files directly in the style editor, and have verified that webpack watch triggers a compilation, so a new css file replaces the original.

I was expecting Firefox to render style changes without me having to manually reload the page (as I have been able to do in the past with tools such as grunt). But that's not the case. Styles are not automatically updated and I have to reload the page by hand. Not a big deal when it is only once change I have to do, but on my work, I have to do this dozens and dozens of times when I'm developing, so it gets a little tiring.

Any suggestions on how to trigger the 'live' updating of styles ?

Thank you!

Asked by contact193 3 месяца назад

Answered by Roland Tanglao 3 месяца назад

  • Решено

Developer Tools-Style Editor_change selected code text color

This is about Style Editor, which uses different code for styling. The colors used in browser toolbox (Ctrl + Shft + Alt + I) *Style Editor* uses Code Mirror selectors. … (читать ещё)

This is about Style Editor, which uses different code for styling. The colors used in browser toolbox (Ctrl + Shft + Alt + I) *Style Editor* uses Code Mirror selectors. Due to less than perfect sight & the poor visibility / contrast colors of found search terms & several other things in Style Editor, I needed to change things.

I didn't have too much problem finding most of CM's CSS selectors for what I needed. In all the CSS files associated with code mirror in the dark theme, I haven't found how to change the foreground (text) color when selecting lines or sections of code.

In Linux, Style Editor's default selected background is almost the same as the body BG color (looking at the hex colors used, and just visually. This from codemirror.css in omni.ja, changes selected, unfocused background: .CodeMirror-selected {

 background: #D4E7F9 !important;

This changes the selected, focused BG color: .CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection {

  background-color: #E9ECD8 !important; }

But I've found nothing for foreground "color," to make the selected text legible through the light selected BG color I chose. Just adding "color: #0000FF !important;" - under the background property doesn't work (like many CSS styled UIs - especially text editors).

Is it possible that Code Mirror doesn't have a way to change the text color on selected areas? Most text editors I've tested usually have preference menu settings for things like selected - foreground & BG color. Or they have themes that add extra UI styling ability. The themes on code mirror's site don't seem to use selected foreground color (or just "color"). Maybe it doesn't understand that concept.

If the highlight BG color chosen for CM is fairly light with some transparency, you can read some darker syntax colors, but not all.

Using another text editor with better search, I looked & searched all files I could find that control some of Style Editor's / code mirror's colors.

The only thing I found where I could change selected text color was one rule for searching in Style Editor. It's in codemirror.css ... and it doesn't work that consistently for visibility. /chrome/devtools/content/shared/sourceeditor/codemirror/lib/codemirror.css

The default colors (someone) used for search term matches have little contrast.

LINE 330: .cm-searching {

 background-color: rgba(255, 255, 170, 0.6) !important; /* The 1st BG value listed is for focused search result highlight.*/
 color: #0808E5 !important;
 background-color: rgba(2226, 253, 251, .6) !important; }

NOTE: I added the color property in ".cm-searching" - and it worked. Same trick doesn't work for any selection rules I tried. Codemirror's online manual is fairly spartan https://codemirror.net/doc/manual.html#styling

Asked by Joebt 4 месяца назад

Answered by Joebt 4 месяца назад

  • Решено

Firefox loads https://cdn.jsdelivr.net/npm/vue/dist/vue.js once, but not a second time

A web app I am building seems to be broken in Firefox. It loads ok the first time, but not the second. I checked the console and I found I get an error message that says:… (читать ещё)

A web app I am building seems to be broken in Firefox. It loads ok the first time, but not the second.

I checked the console and I found I get an error message that says:

Loading failed for the <script> with source “https://cdn.jsdelivr.net/npm/vue/dist/vue.js”.

I tried loading the URL https://cdn.jsdelivr.net/npm/vue/dist/vue.js in another tab, and it loads ok the first time, but if I reload it I get a security error:

Did Not Connect: Potential Security Issue

and when I hit advanced I see

Someone could be trying to impersonate the site and you should not continue. [...] Error code: SEC_ERROR_UNKNOWN_ISSUER

and under view certificate:

https://cdn.jsdelivr.net/npm/vue/dist/vue.js Peer’s Certificate issuer is not recognized.

Neither Chrome nor Safari seem to be affected.

Another weird symptom is that pictures on stackoverflow are all broken.

I appreciate any help - thanks.

Asked by simonecesano 3 месяца назад

Answered by simonecesano 3 месяца назад

  • Решено

javascript settimer broken FF 73.0

I have the following Javascript code which has been working for over 10 years and still works on Chrome, but does not work on FF 73.0 on Ubuntu Linux. ``` /**************… (читать ещё)

I have the following Javascript code which has been working for over 10 years and still works on Chrome, but does not work on FF 73.0 on Ubuntu Linux.

```

/************************************************************************

*  timer														        *
*																		*
*  This timer is started whenever the user presses a key in the input	*
*  field and pops if 0.9 second passes without a new keystroke			*
************************************************************************/

var timer = null;

/************************************************************************

*  function onKeyDownName												*
*																		*
*  This method is called when a key is pressed in the Name field.		*
*  A timer is set so that when the user stops typing the selection		*
*  list is repopulated.												*
*																		*
*  Input:																*
*		event	if passed, event.keyCode identifies the key pressed		*
*				in older releases of Internet Explorer use window.event	*
************************************************************************/

function onKeyDownName(event) {

   if (timer)

clearTimeout(timer);

   timer	= setTimeout(update, 900);

} // function onKeyDownName

/************************************************************************

*  function update														*
*																		*
*  This method is called when the user stops typing to repopulate		*
*  the selection list based upon the current contents of the Name		*
*  field.  It is also the onchange method for the following fields:	*
*  'birthmin', 'birthmax', 'incMarried', 'includeParents',				*
*  'includeSpouse', and 'Sex', and it is called by the onchange		*
*  method for the field 'treeName'.									*
************************************************************************/

function update() {

   var	form	= document.nameForm;
   if (form)
   {		// form present

var url = "/FamilyTree/getIndivNamesXml.php"; ... code to complete url by appending values of elements from form // invoke script to obtain list of names for selection list HTTP.getXML(url, // see O'Reilly Javascript gotNames, noNames);

// clear out the old selection list while we are waiting var select = form.individ; select.options.length = 0;

// put a dummy entry at the top of the selection, otherwise // selecting the first name does not call onchange var name = '[choose an individual]'; var option = new Option(name, -1, false, false); option.innerHTML = '[choose an individual]'; select.appendChild(option);

   }		// form present
   else
       alert("nominalIndex.js:update: cannot find form");

} // function update ```


When I put alerts into nameOnKeyDown and update I see that nameOnKeyDown is called but update is never called.

You can see the above code in action at https://www.jamescobban.net/FamilyTree/nominalIndex.php?name=allenby,%20a&treename=&lang=en

This code has worked for over 10 years, and still is working today on Chrome, but the timer never pops on Firefox 73.0 on Ubuntu Linux 19.10.

Asked by jamescobban 4 месяца назад

Answered by Roland Tanglao 4 месяца назад

  • Решено

FF doing a DNS query for all the web links on our home page when the home page is displayed

We have a simple HTML home page that has links to the sites we most visit. This is the default page that comes up when we start FF. For instance, the web site for CNBC … (читать ещё)

We have a simple HTML home page that has links to the sites we most visit. This is the default page that comes up when we start FF. For instance, the web site for CNBC financial news is coded in HTML like this:

  • <a href="http://www.cnbc.com/">CNBC</a>
  • All the web links are in lists in cells a multi-cell table. There are about 40 of these links in the home page.

    While debugging a network problem recently using wireshark, I noticed that when I opened this home page in FF, There was a storm of DNS queries for all of the web sites in the home page! None of the web links were clicked on, this happens when FF starts up and just displays the home page. The same thing is happening on Windows 7 and Linux.

    I consider this invasive and would like this activity to stop.

    Why is this happening? Does this "feature" have a name? How do I stop this from happening?

    Thanks, Ed

    Versions: Windows 7: 73.0.1 Centos Linux 7: 60.6.0ser

    Asked by ehseger 4 месяца назад

    Answered by cor-el 4 месяца назад

    • Решено

    Website works in Chrome, IE, Safari, mobile. Broken in FF: Missing header, most images, broken span/div structures

    I get "Skip to Content" at the top of the web site. Website is https://simplexmerchantservices.com It's built using latest WP and Elementor Pro Using Cloudflare CDN It do… (читать ещё)

    I get "Skip to Content" at the top of the web site.

    Website is https://simplexmerchantservices.com It's built using latest WP and Elementor Pro Using Cloudflare CDN It does not work for me or any of my employees in Firefox. I tried FF Safe Mode - no change. FF ver 73.0 64-bit

    Cache/Data cleared New FF install

    Asked by zorrik 5 месяцев назад

    Answered by zorrik 5 месяцев назад

    • Решено
    • Архивировано

    Styles within pages are cached and don't reload. How not to cache styles in local pages?

    When developing an html or svg file I repeat editing content and style information and reload the file in Firefox. When editing styles I can't save them notifying cache. … (читать ещё)

    When developing an html or svg file I repeat editing content and style information and reload the file in Firefox. When editing styles I can't save them notifying cache. When editing content in external editor and reloading file all style changes are lost. However when editing styles in external editor, I can't force to reload them without deleting cache in general and when continuing to edit styles in Firefox all previously lost changes are lost on locally stored file as well. So how can I prevent Firefox from caching style information contained in local html or svg files?

    Asked by Vollbracht 8 месяцев назад

    Answered by FranciscoJS12 7 месяцев назад

    • Решено
    • Архивировано

    What does *raced* from the dev tools - Network - Transferred mean?

    Hello, What does (raced) mean in transferred elements? Seems to me the browser is getting the item from the server even though I've set a cache for jpeg and png files. Ot… (читать ещё)

    Hello,

    What does (raced) mean in transferred elements? Seems to me the browser is getting the item from the server even though I've set a cache for jpeg and png files. Other similar items are locally cached as it should.

    Thank you,

    Asked by srj.elmi 10 месяцев назад

    Answered by TyDraniu 10 месяцев назад

    • Решено
    • Архивировано

    Websockets on localhost stopped working in 66.0

    After updating to Firefox 66.0 on MacOS 10.13.6 today, websockets on my localhost stopped working. When using Create React App (version of "react-scripts": "2.1.8" => … (читать ещё)

    After updating to Firefox 66.0 on MacOS 10.13.6 today, websockets on my localhost stopped working.

    When using Create React App (version of "react-scripts": "2.1.8" => "webpack-dev-server": "3.1.14" => "sockjs": "0.3.19"), hot reload is broken and I get following error in the console:

    `The connection to ws://localhost:3000/sockjs-node/743/khw0phgj/websocket was interrupted while the page was loading.`

    When I tried https://www.websocket.org/echo.html, it works fine and no problems with hot reload in Chrome 72.0.

    How can I debug and fix this problem please? (when I googled the error message, I got a lot of outdated advice from previous versions of Firefox)

    Asked by Peter Hozák 1 год назад

    Answered by Peter Hozák 1 год назад

    • Решено
    • Архивировано

    How would i run a perl script from a button on the toolbar

    Is it possible to run a perl script on my pc from a button on the firefox toolbar. I would also like to grab the current url i'm viewing - is there an easy way to do thi… (читать ещё)

    Is it possible to run a perl script on my pc from a button on the firefox toolbar. I would also like to grab the current url i'm viewing - is there an easy way to do this.

    Asked by newuser999 1 год назад

    Answered by hellosct1 1 год назад

    • Решено
    • Архивировано

    Bug 910022 still not fixed?

    Hello community, <select> styles not working anymore in firefox, the browser shows only the default 'style'. In Chrome the personal styles are visible. The issue… (читать ещё)

    Hello community, <select> styles not working anymore in firefox, the browser shows only the default 'style'. In Chrome the personal styles are visible. The issue was labled 'Bug 910022' in 2016, since then no changes. Best regards

    Asked by wallace62 1 год назад

    Answered by wallace62 1 год назад

    • Решено
    • Архивировано

    Instead of redirecting to our main site like all the other major browsers do, we get: "Warning: Potential Security Risk Ahead" in Firefox

    When you go to https://www.northshore.com, instead of redirecting to our main site (https://www.northshorecare.com) Firefox displays an incorrect warning that the site yo… (читать ещё)

    When you go to https://www.northshore.com, instead of redirecting to our main site (https://www.northshorecare.com) Firefox displays an incorrect warning that the site you were about to be redirected to is somehow a potential security risk. This happened to me in regular Firefox, Nightly and the Developer edition, so it's not just an anomoly. The live site is fully SSL-compliant and poses no such threat to the user. Is it because the redirecting domain is not secure? Can you create an exception so that people don't see this erroneous message? Or is there a way we can alter the redirect so that it doesn't trigger this warning?

    The old adage "you never get a second chance to make a first impression" is in full effect in this situation and I'm sure you can see that we certainly don't want to give people any reason to not continue to our site, so hopefully you can offer a solution to this problem.

    Thanks in advance!

    Asked by paul-northshore 1 год назад

    Answered by paul-northshore 1 год назад

    • Решено
    • Архивировано

    Our website doesn't display properly on Firefox

    Our business website has recently been relaunched, it displays fine on other browsers but is beyond broken on Firefox. I've attached a screenshot of how it looks on Chrom… (читать ещё)

    Our business website has recently been relaunched, it displays fine on other browsers but is beyond broken on Firefox. I've attached a screenshot of how it looks on Chrome, to see how it looks on Firefox here is our url: https://www.exegetic.biz/.

    As you can see it's VASTLY different and VERY frustrating. I've done a fair amount of reading as to what the issue could be but all the suggestions I have found are end user based... For example emptying the cache, clearing cookies, checking the zoom etc. This doesn't really help since I've looked at the site on various devices with FireFox and they all appear the same...

    Has anyone else experienced this? Any help would e greatly appreciated!

    Asked by EmmaExegetic 1 год назад

    Answered by Wesley Branton 1 год назад

    • Решено
    • Архивировано

    Locally stored website won't go away!?

    So, we have our website.... When we update the website through our web editior, it saves and we can view the changes through a mobile device. However, we can't view the c… (читать ещё)

    So, we have our website....

    When we update the website through our web editior, it saves and we can view the changes through a mobile device. However, we can't view the changes through any of the machines in the office?!

    I have tried: clearing data/cache; ipconfig /flushdns

    Nothing seems to work. I then opend our wesbite through Opera Browser and could see the updated webpage, but through Firefox - the old website...please help :)

    Asked by markoid 1 год назад

    Answered by markoid 1 год назад