Hilfe durchsuchen

Beware of phishing attacks: Mozilla will never ask you to call a number or visit a non-Mozilla website. Please ignore such requests.

Learn More

Problems being reported on websites that Firefox can create issues: Use an alternative browser.

  • 11 Antworten
  • 1 hat dieses Problem
  • 28 Aufrufe
  • Letzte Antwort von pbriscall

more options

Firefox is creating errors with websites in different ways.

This government/local council website confirms this as well. https://www.welhat.gov.uk/request-garden-waste-collection

Testing a secure website that is under development and Firefox has created difficulties with the web pages and I am told JSON code.

the problems only happen on Firefox: tested the website on other browsers on same PC and they all work correctly. Website has also been tested on Mac running various browsers. Issues have been on different versions of Firefox 74 and 75 and tested on different PC's. PC's running windows 10.

One simple effect is when landing on a page and need to select a button, the first click on the button and a drop down box briefly appears then closes again. Click again and the drop down box stays on the screen for selection.

The most critical error is that Firefox is loosing data that should be inserted into a form. All other browsers operate correctly. Development have spent a lot of time attempting to overcome the problem but its causing too much delay so there will need to be a warning on the web site to advise not to use Firefox similar to the government statement you can see from the link above.

If anyone has a seen this issue/has a better description then please let me know.

If you want more details and possibly debug information I will see if I can source.

Thanks in advance to anyone who has information.

Alle Antworten (11)

more options

I went to the link you posted and did not see such a message.
Can you post a link to the message itself?

or

In order to better assist you with your issue please provide us with a screenshot. If you need help to create a screenshot, please see How do I create a screenshot of my problem?

Once you've done this, attach the saved screenshot file to your forum post by clicking the Browse... button below the Post your reply box. This will help us to visualize the problem.

Thank you!

Hilfreich?

more options

Thank you for your prompt reply.

Attached screen shot of the warning. I did not see any issue when following through the pages but then its not always evident as i described it is in saved data that is not visible.

Thinking more on the issues: I belive that I have had quite a few web sites where clicking on a button/link does not work the first time. We all click and then think you missed the active area and just click again.

Peter

Hilfreich?

more options

Hi Peter, the big green button is just a link, so that should be fine.

Its only unusual feature is that the site attaches a Google Analytics script to the mousedown event, i.e., a script sends data off to Google Analytics when you start clicking the link. There are numerous features and add-ons that can block Google Analytics in any browser, but usually those wouldn't prevent the click from being registered, so that is not likely to explain problems using the link.

On the next page, the select control (drop-down with Yes and No) seems fine to me. This is Firefox 76 on Windows, in case it matters.

When I got to the subscription form, I decided to stop... you don't need garbage sample data, I don't think.

Hilfreich?

more options

Seem to be working here as well.

You can try these steps in case of issues with web pages:

You can reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.

  • hold down the Shift key and left-click the Reload button
  • press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
  • press "Command + Shift + R" (Mac)

Clear the Cache and remove the Cookies for websites that cause problems via the "3-bar" Firefox menu button (Options/Preferences).

"Remove the Cookies" for websites that cause problems:

  • Options/Preferences -> Privacy & Security
    Cookies and Site Data: "Manage Data"

"Clear the Cache":

  • Options/Preferences -> Privacy & Security
    Cookies and Site Data -> Clear Data -> Cached Web Content: Clear

Start Firefox in Safe Mode to check if one of the extensions ("3-bar" menu button or Tools -> Add-ons -> Extensions) or if hardware acceleration is causing the problem.

  • switch to the DEFAULT theme: "3-bar" menu button or Tools -> Add-ons -> Themes
  • do NOT click the "Refresh Firefox" button on the Safe Mode start window

Hilfreich?

more options

I have tried safe mode, and cleared cache many times. Now run on another PC and still exactly the same issue.

So the government site was just a way to show that Firefox issues are wider than my own issue.

I spoke to the developer for the specific issue:

Here is the code

$ItemCount = 0;

       $Data = json_decode($_SESSION['ItemArray'],true);
       foreach($Data as $item){
           $ItemCount = $ItemCount+1;
       }
       print_r($Data);

Data in $Data array Array ( [0] => Array ( [0] => 2 [1] => Bed 4 [2] => W3 [3] => sm [4] => 22.32 ) [1] => Array ( [0] => 0 [1] => Lounge [2] => W1 [3] => sm [4] => 22.32 ) [2] => Array ( [0] => 1 [1] => Utility [2] => W2 [3] => sm [4] => 22.32 ) )

Above has 3 windows in the list to be measured.

The output from this should be to identify qty of items that is then used to create a cell in a management system and in also a Measure form for a fitter.

Cell would contain Measure x Items with all browsers accept with Firefox the result is Measure 0.

the form is then produced: 2 versions attached. The example is for 4 rooms to measure but with Firefox always zero as per the second attachment.

Does this help explain the issue unique to Firefox. Is more needed.

This is one issue, the other issue with a button not working on first click is still just a Firefox problem as well.

Thanks to all who are responding.

Hilfreich?

more options

Hi pbriscall, that looks like PHP code that runs on the server. Is the problem that $_SESSION['ItemArray'] contains different data when the site is used in different browsers? It would be helpful if the developer could compare the requests from the different browsers by checking their respective network panels and looking at the headers and parameters. Presumably there is a difference in one of those areas which explains why $_SESSION['ItemArray'] is different, empty, or unable to be decoded.

Hilfreich?

more options

We have been testing on many different browsers and it still only fails on Mozilla Firefox.

The opinion is as follows which we have found has been raised before.

Ajax call doesn’t update session variables in Mozzilla

function saveCartList(){

       var List = JSON.stringify(WindowList);
       //console.log(WindowList);
       var ItemsToMeasure = WindowList.length;
       //console.log(WindowList);
       //console.log("Items="+ItemsToMeasure);
       sessionStorage.setItem('ItemArray',List);
       localStorage.setItem('ItemArray',List);
       console.log(ItemsToMeasure);
       $.ajax({    //CALL AJAX 
          async:true,
          url: 'sessionStorage.php',
          data: 'List='+List+'&Items='+ItemsToMeasure,
          type: "POST",
          success: function(data) {
                  console.log(data);
                  console.log(ItemsToMeasure);
               },
               
          });  //END AJAX CALL 
   }

The Item Array and ItemsToMeasure variables are both missing.

Avast results: Example (as any other browser)

 }
 ["MeasureCount"]=>
 int(3)
 ["MeasureAdded"]=>
 bool(true)
 ["MeasureItemAdded"]=>
 bool(true)
 ["InstallFee"]=>
 string(4) "0.00"
 ["Cart_Item_Index"]=>
 int(4)
 ["BasketDiscount"]=>
 string(2) "10"
 ["Checkout_Total_ammount"]=>
 string(6) "209.97"
 ["ItemArray"]=>
 string(61) "1,"Hall","W2","sm","22.32"],[0,"Lounge","W1","sm","22.32""
 ["ItemsToMeasure"]=>
 string(1) "2"
 ["ApplyDiscount"]=>
 bool(false)
 ["CartDescription"]=>
 string(24) "Purchase measure service"
 ["INTENT"]=>
 string(27) "pi_1GkDUDC2gIX5UxAhOLq2iB92"
 ["MaxMeasureItems"]=>
 bool(false)

Firefox: Example ["MeasureCount"]=>

 int(1)
 ["MeasureAdded"]=>
 bool(true)
 ["MeasureItemAdded"]=>
 bool(true)
 ["InstallFee"]=>
 string(4) "0.00"
 ["Cart_Item_Index"]=>
 int(1)
 ["ApplyDiscount"]=>
 bool(false)
 ["Checkout_Total_ammount"]=>
 string(5) "69.99"
 ["CartDescription"]=>
 string(24) "Purchase measure service"
 ["INTENT"]=>
 string(27) "pi_1GkDXzC2gIX5UxAhG61oW6lZ"
 ["MaxMeasureItems"]=>
 bool(false)

Hilfreich?

more options

pbriscall said

Ajax call doesn’t update session variables in Mozzilla

Where is the problem occurring? I think the data you showed is what the sessionStorage.php script on the server can see or how it responded.

Let's check the Network Monitor to see the POST request Firefox sends. Open the form and then before submitting, open the Network Monitor in the lower part of the tab (on Windows, Ctrl+Shift+e). When you submit, Firefox should record the POST. Is the data you intend to send missing from the Params panel, or is it present there?

More info: https://developer.mozilla.org/docs/Tools/Network_Monitor

If you compare other browsers' similar panels (F12 to open, then look for Network and turn on recording if needed), does the data look identical or do you notice any differences?

Hilfreich?

more options

Thanks for the extra advice.

I had the developer run the monitor and after some time having the same issues and proving it is just Firefox not any other browser they stored the data in a cookie and it was now picking up the string.

Firefox Json inside the Ajax does not work. Always missing after the Ajax code has run.

["ItemArray"]=>

string(61) "1,"Hall","W2","sm","22.32"],[0,"Lounge","W1","sm","22.32""
["ItemsToMeasure"]=>
string(1) "2"

Having partially succeeded retrieving the information with the cookie investigating how to remove the Ajax code completely.

Research shows that this has cropped up a number of times before.

Regards

Peter

Hilfreich?

more options

I don't use jQuery so I don't have any insight on how its ajax() function differs from using native browser methods like fetch() or XMLHttpRequest.

Hilfreich?

more options

site now working by removing all of the Ajax Functions.

We also see that firefox does not always display a drop down box correctly. second click and its fine.

Hilfreich?

Stellen Sie eine Frage

Sie müssen sich mit Ihrem Benutzerkonto anmelden, um auf Beiträge zu antworten. Bitte stellen Sie eine neue Frage, wenn Sie noch kein Benutzerkonto haben.