Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lyricallogical/8596526 to your computer and use it in GitHub Desktop.
Save lyricallogical/8596526 to your computer and use it in GitHub Desktop.
userscript to disable autocompletion on twitter
// ==UserScript==
// @name twitter-autocompletion-disabler
// @namespace lyrical.logical
// @description disable autocompletion on twitter
// @match https://twitter.com/
// ==/UserScript==
(function() {
var form = document.getElementsByClassName("tweet-form")[0];
var menu = form.getElementsByClassName("dropdown-menu typeahead")[0];
menu.parentElement.removeChild(menu);
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment