Created
December 20, 2011 18:55
-
-
Save devniel/1502752 to your computer and use it in GitHub Desktop.
Para estirar el chat del facebook
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript: | |
q=555; | |
n=q+"px"; | |
function _$(el){return document.querySelectorAll(el)}; | |
a=_$('.fbNubFlyout'); | |
b=_$(".fbDockChatTabFlyout"); | |
for(var i=0;i<a.length;i++)a[i].style.maxHeight=(q-5+100)+"px"; | |
for(var i=0;i<b.length;i++)b[i].style.height=(q-5+100)+"px"; | |
c=_$('.fbNubFlyoutBody'); | |
for(var i=0;i<c.length;i++)c[i].style.height=q+"px"; | |
d=_$(".fbNubFlyoutOuter"); | |
for(var i=0;i<d.length;i++)d[i].style.maxHeight=(q-5+100)+"px"; | |
void(0); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment