Is It Possible to Sandbox JavaScript Running In the Browser?

前端 未结 15 812
北海茫月
北海茫月 2020-11-22 13:58

I\'m wondering if it\'s possible to sandbox JavaScript running in the browser to prevent access to features that are normally available to JavaScript code running in an HTML

15条回答
  •  耶瑟儿~
    2020-11-22 14:38

    Google Caja is a source-to-source translator that "allows you to put untrusted third-party HTML and JavaScript inline in your page and still be secure."

提交回复
热议问题