Skip to content

Tag: google-chrome

Hooking Function Constructor (JavaScript)

Does anyone know of a way to detect when a new function is created? I know you can hook the function class constructor but that will only detect new Function() calls, not function func(){} declarations. I assume the JS engine just creates a default function class when it sees a function declaration instead of…

WebGazer.js unexpected end of input

So I’m trying to play around with WebGazer but I’m already stuck at loading the js file. The webgazer.js file consists of 140k line of codes, but when I load my page the js file only loads until line 94k. I don’t want to use NPM cause it’s causing me a lot of hassle to install & ru…