为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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.