views:

27

answers:

1

Hi,

Is it possible to sandbox JavaScript output? What I mean is that whenever a developer is doing document.write, X.appendChild(), x.replaceChild(), x.innerHTML, etc. he would not be able to directly affect the DOM -- and instead the update would have to go through my framework.

+1  A: 

See:

Sarfraz