Make Firebug Lite console fullscreen in more browsers.

Former-commit-id: a42e7d187a582a1caea721860cf3ed4bd0f94368
This commit is contained in:
John-David Dalton
2012-06-01 07:41:29 -06:00
parent 2d03060a0d
commit 4c66b95516

View File

@@ -34,10 +34,12 @@
}());
window.onload = function() {
var sibling = document.getElementsByTagName('script')[0],
var fbUI = document.getElementById('FirebugUI'),
fbDoc = (fbDoc = fbUI.contentWindow || fbUI.contentDocument).document || fbDoc,
sibling = document.getElementsByTagName('script')[0],
script = document.createElement('script');
document.getElementById('FirebugUI').style.height = '100%';
fbUI.style.height = fbDoc.body.style.height = fbDoc.documentElement.style.height = '100%';
script.src = 'perf.js?t=' + (+new Date);
sibling.parentNode.insertBefore(script, sibling);
};