“Un-redefining” Google Chrome's console Object

后端 未结 7 768
失恋的感觉
失恋的感觉 2020-12-31 06:58

I\'m dealing with a system where the following Javascript code (which is out of my control) is being executed early in the page

if (!(\"console\" in window)          


        
7条回答
  •  一个人的身影
    2020-12-31 07:42

    In Google Chrome, deleting the console object works:

    
    

    However, this doesn't seem to work in Firefox 4. It's a start, though.

提交回复
热议问题