اليوم درست بعض التكنولوجيا المرنة وصنعت عرضًا تجريبيًا صغيرًا. أثناء الاختبار ، وجدت أن الأخطاء غالبا ما حدثت. بعد التحقق عبر الإنترنت ، وجدت أنه كان ناتجًا عن انخفاض الإصدار من مشغل فلاش المستعرض (يتطلب 10 وما فوق). في هذا الصدد ، لخصت طريقة الحكم على معلومات مشغل فلاش المتصفح باستخدام نصوص JavaScript:
<! doctype html public "-// w3c // dtd html 4.01 transitional // en"> <html> <head> <stitp> javaScript يحدد المتصفح معلومات فلاش </title> <meta http-equiv = "content-type" content = "text/html ؛ checkFlashPlayer () {var hasflashplayer = 0 ؛ // قضاة ما إذا كان Flash Player var flashplayerversion = 0 ؛ // flash player إصدار if (document.all) {var shockwaveflash = new ActivexObject ('shockwaveflash.shockwaveflash') ؛ if (shockwaveflash) {hasflashplayer = 1 ؛ flashplayerversion = parseint (shockwaveflash.getVariable ("$ version"). split (") [1] HasflAshplayer = 1 ؛ {hasflashplayer: hasflashplayer ، flashplayerversion: flashplayerversion} ؛ window.location.href = "http://get.adobe.com/cn/flashplayer/" rel = "خارجي nofollow" rel = "nofolling الخارجي" ؛ لاعب ، قم بتثبيته الآن؟ ")) {window.location.href =" http://get.adobe.com/cn/flashplayer/ "rel =" خارجي nofollow "rel =" nofollow الخارجي "؛ }} </script> </head> <body> </body> </html>