Guest User

Заlooper цуиь

a guest
Feb 13th, 2016
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. // ==UserScript==
  2. // @name Webm Zalooper
  3. // @namespace com.whatisthisimnotgoodwithcomputers.webmlooper
  4. // @author WhatIsThisImNotGoodWithComputers
  5. // @description A userscript which automatically enables looping on Webm videos in your browser.
  6. // @include *.webm
  7. // @run-at document-start
  8. // @version 1.0
  9. // @grant none
  10. // ==/UserScript==
  11.  
  12. var vids = document.getElementsByTagName("video");
  13. for (i = 0; i < vids.length; i++) vids[i].setAttribute("loop", "true");
  14. void 0;
Advertisement
Add Comment
Please, Sign In to add comment