December 31st, 2012, 03:27 PM
Script blocking in WebBrowser
I wrote a Web Browser application in VB6 using Microsoft's WebBrowser control. It is very closely tied to Internet Explorer, but getting rid of all the fluff in IE makes the application very responsive. There are 2 functions that I consider critical in a Web Browser. One is tabs (which I was able to get around), and the other is selective script blocking. Internet Explorer does not offer such a feature, and no one makes an add-on to perform that function.
Prior to Version 7 of IE, you could stream the page data, modify it to suit, and then forward it to the HTML rendering agent. But current versions of IE do not appear to offer that function. Does anyone have any ideas as to how selective script blocking could be implemented?
December 31st, 2012, 05:19 PM
Sorry I don't know, I haven't used the webbrowser control since back when VB6 was current, long before IE7.
But happy new year! Hopefully someone who knows more will jump in here.
I've never been able to appreciate the sublime arrogance of folks who feel they were put on earth just to save other folks from themselves .." - Donald Hamilton
December 31st, 2012, 07:28 PM
Thank you Doug. And all the best in the New Year to you too.
Originally Posted by Doug G
If I can't solve this problem, this new browser will be of little use to me. A piece of malware once rendered my computer useless by destroying the registration code with Microsoft. After I got the machine running again, I managed to trace the culprit to a script that loaded a Java Applet. I could trace where the applet came from, but not the web page where it originated. Since then I do not have Java enabled, and I block scripts from all sites except the ones I trust.