The goal of this code is to find javascript native objects which have been overriden (by various script tags).
- Open Chrome Devtools
- Run the "create clean iframe" code
- Switch to the "foo" console js context
- Run the "find non-native functions" code
- It will output any matches it finds