DesktopHTMLViewer.UseSandbox

From Xojo Documentation

Property (As Boolean )
aHTMLViewer.UseSandbox = newBooleanValue
or
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.