Perhaps apps should be required to have a high level checkbox or confirm to allow the user to run scripts?  I have something like that in X3DJSONLD, but it doesn’t last between reloads, and by default, scripts are on right now.