Skip to content

Instantly share code, notes, and snippets.

@oogatta
Created August 31, 2012 12:56
Show Gist options
  • Save oogatta/3552351 to your computer and use it in GitHub Desktop.
Save oogatta/3552351 to your computer and use it in GitHub Desktop.
anti ie zombie tab
window.onbeforeunload = function() {
document.body.innerHTML = '';
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment