细声影视收藏

公测版

  1. // ==UserScript==
  2. // @name 细声影视收藏
  3. // @namespace http://dramas.xlwmin.pub
  4. // @version 1.0.1
  5. // @description 公测版
  6. // @author 细声工作室
  7. // @license MIT
  8. // @match *://v.youku.com/v_show/id_*.html*
  9. // @match *://www.iqiyi.com/v_*.html*
  10. // @match *://tv.sohu.com/*/n*.shtml*
  11. // @match *://my.tv.sohu.com/us/*/*.shtml*
  12. // @match *://film.sohu.com/album/*.html*
  13. // @match *://v.qq.com/x/cover/*/*.html*
  14. // @match *://v.qq.com/x/cover/*.html*
  15. // @match *://www.mgtv.com/b/*/*.html*
  16. // @match *://v.pptv.com/show/*.html*
  17. // @match *://www.le.com/ptv/vplay/*.html*
  18. // @match *://www.1905.com/vod/play/*.shtml*
  19. // @match *://vip.1905.com/play/*.shtml*
  20. // @match *://tv.cctv.com/*/*/*/*.shtml*
  21. // @match *://tv.cctv.com/*/*/*.html*
  22. // @grant GM_addStyle
  23. // ==/UserScript==
  24.  
  25.  
  26. Page = {
  27. entry:function(){
  28. //创建按钮
  29. var text = document.createTextNode("★");
  30.  
  31. //创建按钮
  32. var div = document.createElement("div");
  33. div.setAttribute("title","收藏");
  34. div.setAttribute("class","whisper-dramas");
  35.  
  36. //注册(不可用)事件
  37. div.addEventListener("click",this.onClick);
  38.  
  39. //添加到页面
  40. div.appendChild(text);
  41. document.body.appendChild(div);
  42. },
  43. onClick:function(){
  44. var form = document.createElement("form");
  45. form.setAttribute("method","POST");
  46. form.setAttribute("action","http://dramas.xlwmin.pub")
  47. form.setAttribute("target","_blank");
  48. form.style.display="none";
  49.  
  50. var inputText = document.createElement("input");
  51. inputText.setAttribute("name","link");
  52. inputText.setAttribute("type","hidden");
  53. inputText.setAttribute("value",window.location.href);
  54. form.appendChild(inputText);
  55.  
  56. document.body.appendChild(form);
  57. form.submit();
  58. }
  59. };
  60. (function() {
  61. 'use strict';
  62. GM_addStyle(".whisper-dramas{position:fixed;left:0;bottom:5px;color:#fff;z-index:9999;width:18px;line-height:50px;text-align:center;border-radius:0px 5px 5px 0px;background:#666;cursor:default;font-size:14px;}.whisper-dramas:hover{color:white;background:#880000;cursor:pointer;}");
  63.  
  64. Page.entry();
  65. })();

QingJ © 2025

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