[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Turn off images in TWebBrowser

Posted on 2006-11-24
2
Medium Priority
?
198 Views
Last Modified: 2011-10-03
Does anybody know if its possible to turn off images & javascript for a specific twebbrowser window? or is it a global IE setting only?
0
Comment
Question by:zattz
2 Comments
 
LVL 28

Accepted Solution

by:
2266180 earned 1000 total points
ID: 18007064
it's a global IE setting. however, you can prevent loading images in the onbeforenavigate2 event, by checking the url and if it's an image then set cancel to true (not tested but seems logical to work like this)
but I recommend using TEmbeddedWB from bsalsa.com and setting in the downloadoptions the dlimages to false and and noscripts to true. and maybe other falgs as you need them
0
 

Author Comment

by:zattz
ID: 18007138
Perfect:)
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Integration Management Part 2
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question