4 ms·
I was poking around at NoScript surrogates for GA the other day, I reformatted the code they're using in a comment here[1] Seems to be using the special (to FF
by shabble 14y ago
I was poking around at NoScript surrogates for GA the other day, I reformatted the code they're using in a comment here[1]
Seems to be using the special (to FF, at least) __noSuchMethod__ property[2] to catch all calls to the GA object.
[1] https://news.ycombinator.com/item?id=5182359 https://news.ycombinator.com/item?id=5182359
[2] https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object/noSuchMethod https://developer.mozilla.org/en-US/docs/JavaScript/Referenc...