Arreglar videos de youtube en voxed

xdddd

当前为 2019-12-21 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name Arreglar videos de youtube en voxed
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.1
  5. // @description xdddd
  6. // @author Mav3ricK
  7. // @match http://www.voxed.net/*
  8. // @grant none
  9. // ==/UserScript==
  10.  
  11.  
  12. window.onload = function ()
  13. {
  14.  
  15. function move()
  16. {
  17.  
  18. if(document.querySelector('.attach_video') !== null)
  19. {
  20. var xd = document.querySelector('.attach_video');
  21. if(xd.tagName == 'IFRAME')
  22. {
  23.  
  24. xd.width = '390px';
  25. xd.height = '243.75px';
  26. xd.classList.remove("attach_video");
  27.  
  28. }
  29.  
  30. }
  31.  
  32. setTimeout(move, 1000);
  33. }
  34.  
  35. move();
  36.  
  37.  
  38. };
  39.  
  40.  
  41.