Picarto.tv: Relocate following thumbnails

Relocate and resize thumbnails in the online following sidebar on the new (May/2018) Picarto.tv layout. Should be compatible with other styles as it only changes 4 values (moved right, up, and made visible).

目前為 2018-05-09 提交的版本,檢視 最新版本

  1. // ==UserScript==
  2. // @name Picarto.tv: Relocate following thumbnails
  3. // @namespace http://userstyles.org
  4. // @description Relocate and resize thumbnails in the online following sidebar on the new (May/2018) Picarto.tv layout. Should be compatible with other styles as it only changes 4 values (moved right, up, and made visible).
  5. // @author JezuzX
  6. // @homepage https://userstyles.org/styles/147438
  7. // @include https://picarto.tv/communities/explore
  8. // @run-at document-start
  9. // @version 0.20180509011305
  10. // ==/UserScript==
  11. (function() {var css = ".ps {overflow: visible !important;} .followPreview {left: 212px !important; top: -26px !important; width: 300px !important; animation-duration: .5s !important;} .followPreviewTop {top: -196px !important;}";
  12. if (typeof GM_addStyle != "undefined") {
  13. GM_addStyle(css);
  14. } else if (typeof PRO_addStyle != "undefined") {
  15. PRO_addStyle(css);
  16. } else if (typeof addStyle != "undefined") {
  17. addStyle(css);
  18. } else {
  19. var node = document.createElement("style");
  20. node.type = "text/css";
  21. node.appendChild(document.createTextNode(css));
  22. var heads = document.getElementsByTagName("head");
  23. if (heads.length > 0) {
  24. heads[0].appendChild(node);
  25. } else {
  26. // no head yet, stick it whereever
  27. document.documentElement.appendChild(node);
  28. }
  29. }
  30. })();