Checking ThunderBrowse Permissions

ThunderBrowse already performs these checks when it loads content. Calling these functions again won’t do anything too special.

Functions

abletoloadLinks() returns true if links can be loaded in ThunderBrowse. False if not. (Only in Version 3.2.0.8 and up [TBrowsePermissions.linksAllowed() in 3.2.2 and up])

TBrowsePermissions.jsAllowed() returns true if ThunderBrowse is allowed to handle javascript [3.2.4 and above].

TBrowsePermissions.mediaAllowed() returns true if ThunderBrowse is allowed to handle media/plugins [3.2.4 and above].

TBrowsePermissions.redirectsAllowed() returns true if ThunderBrowse is allowed to handle redirects [3.2.6 and above].

TBrowsePermissions.imagesAllowed() returns true if ThunderBrowse will show images (will return if images are allowed if the respect email image properties option is enabled) [3.2.4 and above].

Changing content permissions

TBrowserCore.toggleContent(state) will toggle media and javascript content to whatever the bool value the state argument is set to [3.2.6 and above].