|
ms
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
How to completely disable Javascript in a Webbrowser controlHi,
Does anyone know how to do this?! At the moment i have hacked together something that parses the HTML before loading it, removing all <script .. /> blocks. Of course, i just realised that javascript can be found in element attributes too, so rather than spend the next week hunting down every possible place javascript could be hiding (i expect there a thousands!), i am hoping there is a way to disable it. I need a programmatic method, so 'disable active scripting' from IE's tools menu is not an option for me :0(. Thanks in advance of your wise words of wisdom, James. On Dec 5, 1:37 am, rimblock <j.r.ran***@googlemail.com> wrote:
Show quoteHide quote > Hi, I do not know of any way, except manually disabling it , There most be> Does anyone know how to do this?! > > At the moment i have hacked together something that parses the HTML > before loading it, removing all <script .. /> blocks. Of course, i > just realised that javascript can be found in element attributes too, > so rather than spend the next week hunting down every possible place > javascript could be hiding (i expect there a thousands!), i am hoping > there is a way to disable it. > > I need a programmatic method, so 'disable active scripting' from IE's > tools menu is not an option for me :0(. > > Thanks in advance of your wise words of wisdom, > James. a way manipulating the registry, but this has global implications. If you find a way please post it back as somebody else asked me the same question. Sorry not be of more help.
What good is .SELECT in LINQ anyway? seems useless compared to .where
printDocument class...Form Feed Old version of Reflector doesn't run any more? String.Format and a new line Ridiculously simple question from a SQL Developer How to make an object to survive application restart? silverlight question Copy List .NET version for extension methods? determine if lock on file |
|||||||||||||||||||||||