From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Property (As Boolean )
aHTMLViewer.UseSandbox = newBooleanValue
BooleanValue = aHTMLViewer.UseSandbox

New in 2021r3

Supported for all project types and targets.

If True, the JavaScript (if any) embedded in the page being viewed in the HTMLViewer will be unable to access the HTMLViewer's parent webpage.