Greasy Fork 还支持 简体中文。

Picarto Resize following thumbnails

Resizes thumbnails in the following sidebar on Picarto.tv.

目前為 2021-03-24 提交的版本,檢視 最新版本

  1. // ==UserScript==
  2. // @name Picarto Resize following thumbnails
  3. // @namespace http://userstyles.org
  4. // @description Resizes thumbnails in the following sidebar on Picarto.tv.
  5. // @author JezuzX
  6. // @homepage https://userstyles.org/styles/147438
  7. // @include https://picarto.tv/explore/stream*
  8. // @run-at document-start
  9. // @version 0.20210323175147
  10. // ==/UserScript==
  11. (function() {var css = ".ant-tooltip-inner {width:440px !important; height:250px !important; padding: 3px 3px !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. })();