如何判断Flash是否加载到网站上? [英] How can I tell if Flash is loaded on a website?

查看:231
本文介绍了如何判断Flash是否加载到网站上?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在做一个非常大的网站的测试,创造了许多不同的开发人员。有没有办法告诉网站是否使用 flash 和/或已经加载了Flash 插件的问题?如果页面使用的是Flash,有什么方法可以告诉页面/代码的哪一部分触发flash插件加载到浏览器/页面?

更新:我会更清楚些。当我使用 chrome 标记问题时,转到我的网页的登录页面时, a> for mac 的问题,我打开 Chrome任务管理器我没有看到列出的任何插件正在运行。当我登录并登陆主页时,我现在看到Chrome已经加载了Plug-in:Shockwave Flash的过程。查看开发人员工具中的网络选项卡,我看不到任何正在下载的Flash(swf)文件。如果我留在网页上足够长的时间,Chrome会删除Plug-in:Shockwave Flash程序。为什么Chrome在页面不使用的时候加载这个插件?

b您需要检查嵌入标记或对象标记,对于embed标记,您可以看到应该是 shockwave ,对于对象,您可以在窗口中看到 CLSID 值。



查看Flash插件是否有加载。我不知道如何做到这一点..但看看Flash文件是否从网络加载,你可以听标签的'readyState'事件,并等待,直到它成为4。


I am doing some testing for a very large website, created many different developers. Is there a way to tell if the website is using and/or has loaded the flash ? If the page is using flash is there a way to tell what part of the page/code trigger the flash plugin to load in the browser/page?

Update: I will be a little bit clearer. When I go to the login page for my web page using for and I open the Chrome Task Manager I don't see any plugins listed as running. When I login and land on the homepage I now see the Chrome has loaded the process "Plug-in: Shockwave Flash". Looking at the Network tab in the developer tools I do not see any Flash (swf) files being downloaded. If I stay on the page long enough Chrome will remove the "Plug-in: Shockwave Flash" process. Why is Chrome loading this plugin when the page is not using it?

解决方案

To check if website is using Flash, you need to check for either embed tag or object tag, for embed tag you can see the application type which should be shockwave , and for object you can see the CLSID value which is same on windows for sure.

to see if Flash plugin has loaded. i am not sure how to do that.. but to see if Flash file is loaded from network you can listen to 'readyState' event of the tag and wait till it becomes 4.

这篇关于如何判断Flash是否加载到网站上?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆