Skip to content

Instantly share code, notes, and snippets.

@nonword
Last active August 29, 2015 14:05
Show Gist options
  • Save nonword/9debc47a960397f51dd2 to your computer and use it in GitHub Desktop.
Save nonword/9debc47a960397f51dd2 to your computer and use it in GitHub Desktop.
Re-enable 'New Tab' shortcut in twitter
document.onkeypress = function(e) { if(e.charCode==116 && e.metaKey) window.open('about:blank', '_blank'); };
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment