Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Monkey-patch madness in JS (getjaco.com)
4 points by BlueHotDog2 on Aug 29, 2016 | hide | past | favorite | 2 comments


One method could be writing ES5 define property for the methods you depend on, to make sure they are not modified.


Interesting idea! You could configure it to be non writable.

Unfortunately there is a big downside - as a third party plugin you're not really allowed to destructively change the hosted environment.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: