卡夫卡

try to take over the world!

  1. // ==UserScript==
  2. // @name 卡夫卡
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.3
  5. // @description try to take over the world!
  6. // @author You
  7. // @match https://v.qq.com/x/cover/*
  8. // @icon https://www.google.com/s2/favicons?sz=64&domain=qq.com
  9. // @grant none
  10. // @license GPL-3.0-only
  11. // ==/UserScript==
  12.  
  13. (function() {
  14. 'use strict';
  15. let btn = document.createElement('button');
  16. btn.textContent = '卡夫卡';
  17. btn.style.background = 'green';
  18. btn.style.borderRadius = '5px';
  19. btn.style.padding = '5px';
  20. btn.style.color = 'white';
  21. btn.style.zIndex = '9999999999';
  22. btn.style.position = 'fixed';
  23. btn.style.top = '10px';
  24. btn.style.left = '10px';
  25. btn.style.cursor = 'pointer';
  26. document.body.appendChild(btn);
  27. btn.addEventListener('click',()=>{
  28. let url = location.href;
  29. let container = document.getElementById('player-container');
  30. let player = document.getElementById('player');
  31. player.remove();
  32. let myIframe = document.createElement('iframe');
  33. myIframe.src = 'https://jx.bozrc.com:4433/player/?url=' + url;
  34. myIframe.setAttribute('allowfullscreen', true);
  35. myIframe.style.width = '100%';
  36. myIframe.style.height = '100%';
  37. container.appendChild(myIframe)
  38.  
  39. })
  40. })();

QingJ © 2025

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