Skip to content

Instantly share code, notes, and snippets.

@hokorobi
Last active September 30, 2017 08:48
Show Gist options
  • Save hokorobi/2c80b2d32ec19f56225f8930bc1b532e to your computer and use it in GitHub Desktop.
Save hokorobi/2c80b2d32ec19f56225f8930bc1b532e to your computer and use it in GitHub Desktop.
Disable Autofocus
// ==UserScript==
// @name Twitter AutoFocus off
// @namespace http://d.hatena.ne.jp/javascripter/
// @include http://twitter.com/home
// ==/UserScript==
// http://javascripter.hatenablog.com/entry/20080620/1213923411
window.addEventListener('load', function() {
document.activeElement.blur();
this.removeEventListener('load', arguments.callee, false);
}, false);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment