Skip to content

Instantly share code, notes, and snippets.

@devniel
Created December 20, 2011 18:55
Show Gist options
  • Save devniel/1502752 to your computer and use it in GitHub Desktop.
Save devniel/1502752 to your computer and use it in GitHub Desktop.
Para estirar el chat del facebook
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