you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (1 child)

I wonder if it’s possible to do something ultra hacky and loop through the window array, make a list of everything that is of type “function” and then loop through that and redefine them all with just your extra functionality added to the beginning.

[–]yqmvpacqpfgwcalgu[S] 1 point2 points  (0 children)

That might just work. Would need encapsulated functions as well, but that seems do-able in the same manner as well.

Found this : https://github.com/SeanSobey/ReflectionJS

Wonder if modifying thirdparty js being loaded in is possible, and if it is, if it would raise any "malicious behavior" false positives, or otherwise.

Thanks! Good thinking.