Skip to content

Instantly share code, notes, and snippets.

@irae
Created March 19, 2011 20:34
Vimeo BIG Userscript
// ==UserScript==
// @name Vimeo BIG
// @namespace http://irae.pro.br/userscripts/
// @include http://vimeo.com/*
// ==/UserScript==
(function() {
var elem, elems, i;
elems = document.querySelectorAll('.video, .vimeo_holder, .player');
elems[0].style.position='fixed';
elems[0].style.top=0;
elems[0].style.left=0;
elems[0].style.zIndex=500;
elems[0].style.backgroundColor='black';
for (i=0;i<elems.length;i++) {
elems[i].style.width=window.innerWidth+"px";
elems[i].style.height=window.innerHeight+"px";
}
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment