Can a plugin stop some malicious scripts to be executed?
Say, i have my plugin installed in my browser. Can this plugin go through the html contet of the site and stop the execution of activeX, action scripts, flash, pdf anything like that?
felgall — 2011-09-23T15:34:35-04:00 — #2
To stop activeX running you can either turn it off in IE or simply switch to any other browser as only IE can run it in the first place.
To prevent flash from running you can simply install noflash into Firefox or Opera. Then the flash is replaced with a grey F in the middle of the space that you have to click on if you decide that you do want the flash to run. If you never want Flash to run then simply don't install the Flash plugin in your browser as browsers don't support Flash without the plugin. Actionscript requires Flash to run.
You can also disable the ability for Flash to grab storage on your computer by changing the settings within flash itself.
To stop PDFs running in the browser simply don't install the plugin - then they will all just be offered for download and you can say yes or no.
Well and good. Thanks for your resposne, felgall!!
But my question is in the developer point of view, not in the user point of view. So, my question is can i develope a addon or extension which will stop flash, pdf or any such malicious scripts from executing!! If so can you give me a heads up in developing such extension?