Track User Activity on Remote Site
I'm working on a usability testing service and trying to figure out how to track user activity (e.g. url, clicks etc.) on a page of another domain (without modifying the pa开发者_运维技巧ge via JS or similar).
Any ideas?
I think you'd have to modify the page in some way through the browser to do most of the stuff you need. Perhaps a Firefox extension, or hooking up events (if they are available) on WebKit/Gecko controls.
Or, you might be able to hack something together with an <iframe>
and some JavaScript monitoring for clicks. I'm not sure how you could pass the clicks on to the iframe, though.
But other than that, I don't think it's possible - and probably for good reason! It'd be quite a big security hole.
精彩评论