视频播放

自用视频播放

目前为 2021-12-14 提交的版本。查看 最新版本

  1. // ==UserScript==
  2. // @name 视频播放
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.1
  5. // @description 自用视频播放
  6. // @author rubysiu
  7. // @match *v.qq.com/x/*
  8. // @match *v.youku.com/v_show/*
  9. // @match *www.iqiyi.com/*
  10. // @match *www.mgtv.com/*
  11. // @exclude *www.iqiyi.com/
  12. // @exclude *www.mgtv.com/
  13. // @icon https://s3.bmp.ovh/imgs/2021/12/ab22ca08387d82f2.jpg
  14. // @grant none
  15. // @license rubysiu
  16. // ==/UserScript==
  17.  
  18. (function() {
  19. 'use strict';
  20. // Your code here...
  21. let dom = document.createElement("ruby");
  22. dom.style.background = "rgb(84 220 140 / 34%)";
  23. dom.style.position = "fixed";
  24. dom.style.width = "20px";
  25. dom.style.height = "35px";
  26. dom.style.top = "50%";
  27. dom.style.zIndex = "9999";
  28. dom.style.borderRadius = "0 5px 5px 0";
  29. document.body.appendChild(dom);
  30. dom.addEventListener("click",linkTo);
  31. function linkTo(){
  32. let videoUrl = "https://okjx.cc/?url="+location.href
  33. window.open(videoUrl,"_blank");
  34. }
  35.  
  36. })();

QingJ © 2025

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