News for hackers. Stuff that matters.
Re:Monkey-patch madness in JS by z3t4 on Monday August 29, 2016 @01:44PM (#12383643)
One method could be writing ES5 define property for the methods you depend on, to make sure they are not modified.
Re:Monkey-patch madness in JS by alphaXp on Monday August 29, 2016 @02:18PM (#12383919)
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.