We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

A survey site doesn't work - FF 50.0

  • 3 replies
  • 1 has this problem
  • 4 views
  • Paskiausią atsakymą parašė FredMcD

more options

This survey site - https://www.globaltestmarket.com/ - doesn't work with FF 50.0. Works fine with FF 49.0.1. Also did not work with FF 49.0. All I get is a blank page. I tried wwith FF 50.0 in safe mode and still not working.

Here's the page source:

<script src="https://www.globaltestmarket.com/skin/common/jquery-1.8.3.min.js"></script> <script src="https://www.globaltestmarket.com/skin/common/jquery.webcam.js"></script> <script src="https://www.globaltestmarket.com/skin/common/swfobject.js"></script>

<script> var cameraSubmitted = false; var cameraInfoCallback = function(camera) {

   if (!cameraSubmitted) {
      jQuery.post("detectWebcam.php", {hasWebcam: camera}, function() {
           location.reload();
      });
      cameraSubmitted = true;
   }

}; jQuery(function($) {

       if (swfobject.getFlashPlayerVersion().major !== 0) {
           $("#webcam").webcam({
               width: 0,
               height: 0,
               mode: "callback",
               swffile: "https://www.globaltestmarket.com/skin/common/jscam_canvas_only.swf", // canvas only doesn't implement a jpeg encoder, so the file is much smaller
               onTick: function(remain) {
               },
               onSave: function(data) {
               },
               onCapture: function () {
               },
               debug: function (type, string) {
                   if (string == "No camera was detected.") {
                       cameraInfoCallback(2);
                   }
               },
               onLoad: function () {
                   cameraInfoCallback(webcam.getCameraList().length > 0 ? 1 : 2);
               }
           });
           setTimeout(function() {
               var f = $('#webcam object');
               if (f.size() == 0 || !('PercentLoaded' in f[0])) {
                   // flash is blocked - treat as NO CAMERA
                   cameraInfoCallback(2);
               }
           }, 1000);
       }
       else {
           cameraInfoCallback(2);
       }

}); </script>

This survey site - https://www.globaltestmarket.com/ - doesn't work with FF 50.0. Works fine with FF 49.0.1. Also did not work with FF 49.0. All I get is a blank page. I tried wwith FF 50.0 in safe mode and still not working. Here's the page source: <div id="webcam"></div> <div id="status"></div> <script src="https://www.globaltestmarket.com/skin/common/jquery-1.8.3.min.js"></script> <script src="https://www.globaltestmarket.com/skin/common/jquery.webcam.js"></script> <script src="https://www.globaltestmarket.com/skin/common/swfobject.js"></script> <script> var cameraSubmitted = false; var cameraInfoCallback = function(camera) { if (!cameraSubmitted) { jQuery.post("detectWebcam.php", {hasWebcam: camera}, function() { location.reload(); }); cameraSubmitted = true; } }; jQuery(function($) { if (swfobject.getFlashPlayerVersion().major !== 0) { $("#webcam").webcam({ width: 0, height: 0, mode: "callback", swffile: "https://www.globaltestmarket.com/skin/common/jscam_canvas_only.swf", // canvas only doesn't implement a jpeg encoder, so the file is much smaller onTick: function(remain) { }, onSave: function(data) { }, onCapture: function () { }, debug: function (type, string) { if (string == "No camera was detected.") { cameraInfoCallback(2); } }, onLoad: function () { cameraInfoCallback(webcam.getCameraList().length > 0 ? 1 : 2); } }); setTimeout(function() { var f = $('#webcam object'); if (f.size() == 0 || !('PercentLoaded' in f[0])) { // flash is blocked - treat as NO CAMERA cameraInfoCallback(2); } }, 1000); } else { cameraInfoCallback(2); } }); </script>

Chosen solution

When I tried https://www.globaltestmarket.com/ I go a full page player. Disable your flash and ad blockers.

Skaityti atsakymą kartu su kontekstu 👍 1

All Replies (3)

more options

Chosen Solution

When I tried https://www.globaltestmarket.com/ I go a full page player. Disable your flash and ad blockers.

more options

Thanks Fred. Seems Flash is the culprit...

more options

Glad to help. Safe Surfing.