Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

A survey site doesn't work - FF 50.0

  • 3 回覆
  • 1 有這個問題
  • 4 次檢視
  • 最近回覆由 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>

被選擇的解決方法

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

從原來的回覆中察看解決方案 👍 1

所有回覆 (3)

more options

選擇的解決方法

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.