Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

var oldMessage; function pollWindowName() { Building @Anywhere (for TXJS)

19,144 views

Published on

var oldMessage;

function pollWindowName() {
var message = window.name;
if(message != oldMessage) {
oldMessage = message;
handle(message);
}
}

setInterval(pollWindowName, 20);

Published in: Technology
  • Be the first to comment

×