Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I tell if Flash is loaded on a website?

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 flash and/or has loaded the flash plugin? 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 chrome for mac 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?

like image 364
Eric Avatar asked Mar 26 '12 01:03

Eric


1 Answers

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.

like image 92
Kamal Avatar answered Oct 14 '22 15:10

Kamal