Anime1 Wide

为Anime1的视频播放启用宽屏样式

  1. // ==UserScript==
  2. // @name Anime1 Wide
  3. // @namespace https://gf.qytechs.cn/zh-CN/scripts/395538
  4. // @description 为Anime1的视频播放启用宽屏样式
  5. // @author Shira
  6. // @homepage https://gf.qytechs.cn/zh-CN/scripts/395538
  7. // @run-at document-start
  8. // @match https://*.anime1.me/*
  9. // @version 1.02
  10. // ==/UserScript==
  11. (function() {var css = "";
  12. if (false || (new RegExp("^(http|https)://anime1.me/.*$")).test(document.location.href))
  13. css += [
  14. "@media screen and (min-width: 769px) {.content-area {width: 100% !important;}}",
  15. ".entry-content iframe {width: 1200px !important; height: 650px !important;}",
  16. "#secondary {display: none !important;}"
  17. ].join("\n");
  18.  
  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. }
  26. var bodys = document.getElementsByTagName("body");
  27. if (bodys.length > 0) {
  28. bodys[0].appendChild(node);
  29. }
  30.  
  31. })();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址