Flash based web site

26 views
Skip to first unread message

Ebrahim Khalil Abbasi

unread,
Mar 7, 2012, 10:20:31 AM3/7/12
to fir...@googlegroups.com
How the firebug can detect a web site is a flash based web site? Is there any parser in java that can detect a web site is flash based? 

Thanks,
Ebrahim


Sebo

unread,
Mar 7, 2012, 10:54:41 AM3/7/12
to fir...@googlegroups.com
Are you talking about pages like e.g. WATERLIFE?
Firebug doesn't "detect" Flash. Maybe you are searching for Flashbug, which is an extension to Firebug. If you want to block flash, you might want to install Flashblock.
But it's totally unclear what you want to reach.

Sebastian

Ebrahim Khalil Abbasi

unread,
Mar 7, 2012, 12:11:06 PM3/7/12
to fir...@googlegroups.com
Thanks for the answer.

Let me describe a bit more about what I need. 

I am doing a survey covering about 800 web sites. The URLs for these web sites are gathered in a database. I read each URL from the database and use a parser to load the source code of the related web site. Due to some limitations in my study, I want to filter out those web sites that contain flash object from my survey. If the URL contains the word "flash" or there are special tags in the source code such as iframe with a src attribute containing the 'flash', I assume that this web site includes flash object. I was wondering is there any better way to perform this?

Ebrahim   

Sebo

unread,
Mar 7, 2012, 12:41:18 PM3/7/12
to fir...@googlegroups.com
Ok, so therefore you won't need Firebug.
You should match the regular expression <embed.*?src=["'].*?swf["'] on the source code of the pages. If there are matches, the page contains Flash. For checking regular expressions, please see my add-on RExT.

Sebastian
Reply all
Reply to author
Forward
0 new messages