[webkit-dev] How to disable webkit image loading

Darin Adler darin at apple.com
Thu Jun 4 09:41:54 PDT 2009


On Jun 4, 2009, at 9:40 AM, James Howlett wrote:

> Is there any configuration/setting in the code which can dynamically  
> enable/disable image loading? If yes, can you please tell me how to  
> do that in the code?


Sure.

     [[webView preferences] setLoadsImagesAutomatically:NO]

You didn’t specify a platform, so I chose Mac OS X.

     -- Darin



More information about the webkit-dev mailing list