gofullscreen

fix missing button for full screen mode at html5 videos

  1. // ==UserScript==
  2. // @name gofullscreen
  3. // @name:de gofullscreen
  4. // @description fix missing button for full screen mode at html5 videos
  5. // @description:de Fehlende Vollbild-Modus Schaltfläche reparieren
  6. // @namespace gnblizz
  7. // @include *
  8. // @version 1.01
  9. // @compatible chrome
  10. // @compatible firefox
  11. // @grant none
  12. // @icon data:image/gif;base64,R0lGODlhMAAwAKECAAAAAICAgP///////yH5BAEKAAMALAAAAAAwADAAAALQnI+py+0Po5y02ouz3rz7D4biBJTmiabqyrbuC8fyHAf2jedpzuOvAAwKh6mhUfg7Hks3gHLpehptwIBTioxig0zrdStIgrslMFA8pCKp1oAZjXW6w/Mt/Nl2t8HeFl7o5QZgBagEYyawNxhUl7h4dlelFlZG+QVY6aglmIjjuKd50xla9RKI0mSCqaPJSMM0aEK4mhfbpSnTabM4WXrShtpHI6gqKvmKnCwns0tm2lOsLP3aUy08aK0zvc3d7b09Ei4+Tl5ufo6err7O3n5QAAA7
  13. // ==/UserScript==
  14. (function(af) {
  15. var i = af.length;
  16. if(i) do {
  17. af[--i].setAttribute('allowfullscreen', 'true');
  18. } while(i);
  19. }(document.querySelectorAll('iframe:not([allowfullscreen])')))
  20. //public domain by gnblizz
  21. //contact me with my user name + '@web.de'