Twitter List

Userscript to add a Twitter list to the Twitter web interface's dashboard. By Cleiton Lima

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name           Twitter List
// @namespace      https://twitter.com
// @description    Userscript to add a Twitter list to the Twitter web interface's dashboard. By Cleiton Lima
// @version        1
// @match          *://twitter.com/*
// @grant          none
// ==/UserScript==

document.onreadystatechange = function () {
  if (document.readyState === "complete") {
    var ElmList, ElmStyle;
    ElmList = document.getElementsByClassName('wtf-module')[0];
    ElmStyle = document.createElement('div');
    ElmList.before(ElmStyle);
    ElmStyle.innerHTML = '<div class="module Trends"><div class="flex-module-header"><h3>Listas</h3>\</div><div class="flex-module-inner"><ul class="list-items js-list"><li class="context-list-item"><a class="pretty-link js-list-link js-nav u-dir" href="[USERNAME]/lists/[LISTNAME]">[LISTNAME]">[LISTNAME]</a></li><li class="context-list-item"><a class="pretty-link js-list-link js-nav u-dir" href="[USERNAME]/lists/[LISTNAME]">[LISTNAME]">[LISTNAME]</a></li><li class="context-list-item"><a class="pretty-link js-list-link js-nav u-dir" href="/[USERNAME]/lists/[LISTNAME]">[LISTNAME]</a>\</li></ul></div></div>';
  }
};