Kukhonjiswa imibuzo ethegiwe: Veza yonke imibuzo
  • Okugcinwe kunqolobane

Javascript Redirection Not Working

Hello, I have a web page that prints a document, and then redirects back to the main page. This website has always worked in every browser, and now in Firefox 84.0.2 it n… (funda kabanzi)

Hello,

I have a web page that prints a document, and then redirects back to the main page. This website has always worked in every browser, and now in Firefox 84.0.2 it no longer redirects.

What changed in Firefox, and how do I get it redirecting again?

Here is a snippet of the code in question:

<script type='text/javascript'>

    var interval = setInterval(function() {
         if(document.readyState === 'complete') {
              clearInterval(interval);
              window.print();
         }
    }, 100);
    
    window.onbeforeprint = function() {
         window.location = 'https://www.mozilla.org';
    }

</script>

Asked by Fred 1 unyaka odlule

Last reply by Fred 1 unyaka odlule

  • Kusonjululiwe
  • Okugcinwe kunqolobane

Add-on development - ajaxStop

Hi, I developed a simple Add-on, based on jQuery. Unfortzunately, it seems "ajaxStop()" does consistently not work as expected (at all). Any tips on what to consider to g… (funda kabanzi)

Hi, I developed a simple Add-on, based on jQuery. Unfortzunately, it seems "ajaxStop()" does consistently not work as expected (at all). Any tips on what to consider to get ajaxStop to succesfully trigger my registered eventhandlers? Thanks

PS off topic: the "developer" area of Mozilla is quite painful to handle and reach. I'm always pushed/forwarded back over here. Also the sophisticated 2way-auth seems a bit overkill for posting on a forum .

Asked by chRIS 1 unyaka odlule

Answered by FredMcD 1 unyaka odlule

  • Okugcinwe kunqolobane

How do i noninteractively install firefox on windows?

I need a way to install firefox from command prompt entirely automatically, so that i can include it in a batch script i'm making. I've googled around, but all the tutori… (funda kabanzi)

I need a way to install firefox from command prompt entirely automatically, so that i can include it in a batch script i'm making. I've googled around, but all the tutorials are either for Linux or require you to download the file with another browser.

Asked by valkyrie_pilot 1 unyaka odlule

Last reply by cor-el 1 unyaka odlule

  • Okugcinwe kunqolobane

Password Manager

As a developer, I am trying to disable the Password Manager feature in my webapplication across browsers. When I typed some value in input type password mentioned mdn doc… (funda kabanzi)

As a developer, I am trying to disable the Password Manager feature in my webapplication across browsers. When I typed some value in input type password mentioned mdn docs and navigsted away it doesnot trigger Save Password. But it is triggering anywhere else like online ide's and all.

I would like to know how it is disabled in MDN docs.

Asked by suraj.panayanchery 1 unyaka odlule

Last reply by cor-el 1 unyaka odlule

  • Okugcinwe kunqolobane

Image display limits

Hi, Are there any limits (count, area, size, weight) for displaying images on a webpage? I'm working on a website that should display a large amount of images on one of i… (funda kabanzi)

Hi,

Are there any limits (count, area, size, weight) for displaying images on a webpage?

I'm working on a website that should display a large amount of images on one of its pages, however FF displays only part of them. When I downsize their dimensions more of them are displayed, when I use their lower resolution (lighter in weight) versions, more of them are displayed.

I remember, I read somewhere a few years ago that there is a limit for weight of images on a single page, which could be observed for example on a carousel with large amount of slides.

This issue doesn't seem to affect other browsers.

Unfortunately I can't find this nor any other article / post that specifies what are those limits.

Thanks, Z

Asked by Zeeto 8 izinyanga ezidlule

Last reply by jonzn4SUSE 8 izinyanga ezidlule

  • Okugcinwe kunqolobane

Need help in checking the dom node position for different screen resoultions

Hi, We are working on an Open Source Chrome extension: Digital Assistant Client I am recording the domnode by converting into json by domJson and saving into server. We c… (funda kabanzi)

Hi,

We are working on an Open Source Chrome extension: Digital Assistant Client

I am recording the domnode by converting into json by domJson and saving into server. We can find the same recordednode by comparing the json attributes and matching to the original node on the page. We have one problem here when we search for the nodes sometimes we get similar nodes via json which has same property names. In that case we are trying to match the node position that we have recorded. When we try to match the node position in different screen resolutions, it gives us the wrong node. How do we solve this. My code is as given below

// calculate distance between selected node and matching node getDistance: function (node1, node2) {

  const x = node1.x - node2.x;
  const y = node1.y - node2.y;
  const dist = Math.abs(Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2)));
  return dist;

},

Asked by yureshwar 1 unyaka odlule

Last reply by FredMcD 1 unyaka odlule

  • Okugcinwe kunqolobane

Log In Problem

I am running a sports blog and want to appear on every single browser, but the problem is that the Firefox browser creates some log inissues when I want to go to the back… (funda kabanzi)

I am running a sports blog and want to appear on every single browser, but the problem is that the Firefox browser creates some log inissues when I want to go to the backend of my this is my site website. Please anyone out there can help me?

Asked by khanumarpk80 1 unyaka odlule

Last reply by Paul 1 unyaka odlule

  • Okugcinwe kunqolobane

My cache is making firefox not load pages

I am having an issue every 5 minutes where firefox will not load any pages it essential makes me stuck on the page. I have to than clear my cache for it to work again onl… (funda kabanzi)

I am having an issue every 5 minutes where firefox will not load any pages it essential makes me stuck on the page. I have to than clear my cache for it to work again only to have the issue again a couple of minutes later. I have refreshed firefox 4 different times, uninstalled 3 times to no but nothing seems to work.

Asked by yusoff95 1 unyaka odlule

Last reply by cor-el 1 unyaka odlule

  • Okugcinwe kunqolobane

Firefox caching shopping cart incorrectly

Hi, I am having an issue with a website I am developing, which I am only seeing in Firefox. To reproduce please try the following: 1. Go to https://mymummyteacher.com/sto… (funda kabanzi)

Hi,

I am having an issue with a website I am developing, which I am only seeing in Firefox. To reproduce please try the following:

1. Go to https://mymummyteacher.com/store and add a product to the cart. 2. Close the tab / browser 3. Go back to https://mymummyteacher.com/store and add a product to the cart. The single product that has been just added is shown, however the Subtotal and Total are showing as if the previously added product is still in there too.

If I do a hard reload (hold down shift), all the other products then appear. So I think this is an issue with caching. I am not seeing it on other browsers. Is this a bug, or is there something I can do to stop it happening?

Thanks

Asked by mike475 1 unyaka odlule

Last reply by FredMcD 1 unyaka odlule

  • Okugcinwe kunqolobane

Deeplinks don't work properly in Firefox

Hi - I have an affiliate marketing business which uses deeplinks to take my visitors to specific product pages on third party websites. These work fine in Google Chrome … (funda kabanzi)

Hi - I have an affiliate marketing business which uses deeplinks to take my visitors to specific product pages on third party websites. These work fine in Google Chrome but on Firefox the deeplink goes to the website homepage only. Does anyone know what I can do about this? thanks Gina

Asked by ginarosemartin 7 izinyanga ezidlule

Last reply by FredMcD 7 izinyanga ezidlule

  • Okugcinwe kunqolobane

Website layout is showing different than original

Hello, I'm using Firefox to manage my website but when I open my blog in Firefox my site's layout is not showing like the original one with header menu but showing mobile… (funda kabanzi)

Hello, I'm using Firefox to manage my website but when I open my blog in Firefox my site's layout is not showing like the original one with header menu but showing mobile toggle menu on Desktop, in Chrome it's showing with header menu, I don't know what's the reason behind it, my users also complained about that, can someone open my site in Mozilla to confirm if they are also experiencing it or only me? Screenshot of Mozilla and Chrome is also attached below. Thanks! Here is my blog: https://writions.com/

Asked by kovise1121 1 unyaka odlule

Last reply by cor-el 1 unyaka odlule

  • Okugcinwe kunqolobane

DEAR SIRS, PLEASE HELP How to remove brower hijacked by 'a.horsered.com' on my blog:https://rightwaystechnologies.blogspot.com/

DEAR SIRS, PLEASE HELP How to remove Brower hijacked by 'a.horsered.com' on my blog:https://rightwaystechnologies.blogspot.com/ THANKS RICHARD rightwayspro@gmail.com … (funda kabanzi)

DEAR SIRS, PLEASE HELP How to remove Brower hijacked by 'a.horsered.com' on my blog:https://rightwaystechnologies.blogspot.com/

THANKS

RICHARD rightwayspro@gmail.com

Asked by Richard 1 unyaka odlule

Last reply by FredMcD 1 unyaka odlule

  • Okugcinwe kunqolobane

media protection against illegal copy

Hi, I am designing a website for viewing photos like pay per view system. When an user push the shortcut CTRL+S, is there a fonctionnality to disable the media storage by… (funda kabanzi)

Hi, I am designing a website for viewing photos like pay per view system. When an user push the shortcut CTRL+S, is there a fonctionnality to disable the media storage by permissions for example? I have tried to disable indirectly with keypress event listener but it seems there is a browser privilege for his shortcuts. More, what are the fonctionnalities you provide to help webdesigners to secure their websites? I understand and I agree about the work you make for users against tracking and for confidentiallity on the web. Regards, Thierry Lacouloumere

Asked by lacouloumere.thierry 1 unyaka odlule

Last reply by cor-el 1 unyaka odlule

  • Okugcinwe kunqolobane

Can someone add my keyboard addon to the list of keyboardss/dictionaries?

Hi, I have just created a keyboard for Firefox, the Bislama Dictionary for Firefox. I was wondering if someone could add it to the list of dictionaries. The local name fo… (funda kabanzi)

Hi, I have just created a keyboard for Firefox, the Bislama Dictionary for Firefox. I was wondering if someone could add it to the list of dictionaries. The local name for Bislama is just Bislama. Thanks.

Asked by oliver.palmer5 1 unyaka odlule

Last reply by cor-el 1 unyaka odlule

  • Okugcinwe kunqolobane

plugin do firefox quebra a segurança configurada do pdf, permitindo a impressão

Tenho uma rede com mais de 500 computadores, publico documentos em pdf com bloqueamento de impressão na intranet, o firefox tem o plugin de pdf nativo e esse plugin quebr… (funda kabanzi)

Tenho uma rede com mais de 500 computadores, publico documentos em pdf com bloqueamento de impressão na intranet, o firefox tem o plugin de pdf nativo e esse plugin quebra a segurança configurada do pdf, que no caso foi bloqueada a impressão e no firefox qualquer usuário consegue imprimir. Gostaria de saber como faço para desabilitar o plugin nativo pdf do firefox para todos os usuarios e que não consigam mais ter acesso em mudar a configuração, igual como fazemos com as configurações de proxy, onde fica desabilidado para o usuário a alteração

Asked by claudia.pereira 1 unyaka odlule

Last reply by cor-el 1 unyaka odlule