Lines Matching refs:document

86       if(document.getElementsByTagName('html')[0].attributes.getNamedItem('debug')){
87 env.debug = document.getElementsByTagName('html')[0].attributes.getNamedItem('debug').nodeValue !== "false";
107 for(i=0;i<document.styleSheets.length;i++) {
108 if(/firebug-lite\.css/i.test(document.styleSheets[i].href)) {
115 document.getElementsByTagName("head")[0].appendChild(
127 el.firebugIcon = new lib.element("div").attribute.set('firebugIgnore',true).attribute.set("id","firebugIconDiv").attribute.set("title",iconTitle).attribute.set("alt",iconTitle).event.addListener("mousedown",win.iconClicked).insert(document.body);
133 el.mainiframe = new lib.element("IFRAME").attribute.set("id","FirebugIFrame").attribute.set('firebugIgnore',true).environment.addStyle({ "display":"none", "width":lib.util.GetViewport().width+"px" }).insert(document.body);
134 el.main = new lib.element("DIV").attribute.set("id","Firebug").attribute.set('firebugIgnore',true).environment.addStyle({ "display":"none", "width":lib.util.GetViewport().width+"px" }).insert(document.body);
184 el.borderInspector = new lib.element("DIV").attribute.set("id","FirebugBorderInspector").attribute.set('firebugIgnore',true).event.addListener("click",listen.inspector).insert(document.body);
185 el.bgInspector = new lib.element("DIV").attribute.set("id","FirebugBGInspector").attribute.set('firebugIgnore',true).insert(document.body);
331 el.settings.content.child.add(document.createTextNode("Start visible"));
334 el.settings.content.child.add(document.createTextNode("Hide when Firebug active"));
337 el.settings.content.child.add(document.createTextNode("Hide DOM functions"));
340 el.settings.content.child.add(document.createTextNode("Override window.console"));
343 el.settings.content.child.add(document.createTextNode("Show icon when hidden"));
346 el.settings.content.child.add(document.createTextNode("Open in popup"));
348 el.settings.content.child.add(document.createTextNode("Trim textnode to "));
350 el.settings.content.child.add(document.createTextNode(" chars"));
356 el.settings.buttonRightDiv.child.add(document.createTextNode(" "));
359 lib.util.AddEvent(document,"mousemove",listen.mouse)("mousemove",win.resizer.resize)("mouseup",win.resizer.stop)("keydown",listen.keyboard);
498 document.cookie='FBLiteSettings=;expires='+exdate.toGMTString();
505 if(firebug.internal.targetWindow.document.cookie.length>0) {
506 cookieArr=firebug.internal.targetWindow.document.cookie.split('; ');
578 values+='popupWidth:'+document.body.clientWidth+',';
579 values+='popupHeight:'+document.body.clientHeight+',';
597 firebug.internal.targetWindow.document.cookie='FBLiteSettings='+values+';expires='+exdate.toGMTString();
678 scripts = document.getElementsByTagName('script');
699 script = fi.popupWin.document.createElement('script');
735 firebug.internal.popupWin.document.write('<html><head><title>Firebug Lite - '+document.location.href+'</title></head><body></body></html>');
738 firebug.internal.popupWin.document.getElementsByTagName('head')[0].appendChild(script);
879 el.main.environment.addStyle({ "top":dim.height-el.main.environment.getSize().offsetHeight+Math.max(document.documentElement.scrollTop,document.body.scrollTop)+"px" });
880 el.mainiframe.environment.addStyle({ "top":dim.height-el.main.environment.getSize().offsetHeight+Math.max(document.documentElement.scrollTop,document.body.scrollTop)+"px" });
1093 var item = internal.targetWindow.document.styleSheets[_index],
1123 var collection = internal.targetWindow.document.styleSheets;
1331 if (parent == firebug.internal.targetWindow.document.body) break;
1384 var element = _element || internal.targetWindow.document.documentElement,
1422 if(element==document.documentElement){
1448 if(d.html.current==null&&item==document.body){
1455 if(element.nodeName!="HEAD"&&element!=document.documentElement&&(view.visibility=="hidden"||view.display=="none")){
1463 html.child.add(document.createTextNode(item.childNodes[0].nodeValue.substring(0, env.textNodeChars)));
1465 html.child.add(document.createTextNode(item.childNodes[0].nodeValue));
1467 html.child.add(document.createTextNode("</"));
1469 html.child.add(document.createTextNode(">"));
1490 var view = document.defaultView?document.defaultView.getComputedStyle(node,null):node.currentStyle;
1549 var i=0,script = document.getElementsByTagName("script")[_index],uri = script.src||document.location.href,source;
1551 if(uri!=document.location.href){
1586 var collection = internal.targetWindow.document.getElementsByTagName("script");
1738 var range = document.selection.createRange(),stored = range.duplicate();
1757 } else if(document.selection) {
1758 var range = document.selection.createRange(), isCollapsed = range.text == '';
1854 if(document.elementFromPoint) {
1855 target = document.elementFromPoint(_event.clientX, _event.clientY);
1865 if(target!=document.body&&
1866 target!=document.firstChild&&
1867 target!=document.childNodes[1]&&
1887 styleSheet = document.styleSheets[0];
1928 return document.getElementById(arguments[0]);
1931 return document.getElementsByTagName(arguments[0]);
1933 pi.get.byClass = function(){ return document.getElementsByClassName.apply(document,arguments); };
2088 var parent = _element,offsetLeft = document.body.offsetLeft, offsetTop = document.body.offsetTop, view = pi.util.Element.getView(_element);
2089 while(parent&&parent!=document.body&&parent!=document.firstChild){
2151 var view = document.defaultView?document.defaultView.getComputedStyle(_element,null):_element.currentStyle;
2205 height:document.documentElement.clientHeight||document.body.clientHeight,
2206 width:document.documentElement.clientWidth||document.body.clientWidth
2290 document.createElement(_val||"DIV"):
2564 pi.env.ie?window:document,
2576 var scriptsIncluded = document.getElementsByTagName('script');