Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Q928 How do you detect if the user has disabled images on their browser?

irt.org | Knowledge Base | JavaScript | Image | Q928 [ previous next ]

Q928 How do you detect if the user has disabled images on their browser?

This is not possible. I couldn't even get the following to work in Netscape Navigator 4.5:

<script language="JavaScript"><!--
if (document.layers) {
    netscape.security.PrivilegeManager.enablePrivilege('UniversalBrowserRead');

    var imagesSupported = navigator.preference("general.always_load_images");
}
//--></script>

Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 30th March 2008. Maintained by: Martin Webb and Michel Plungjan
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.