Kozawa님, 감사합니다..
님 덕분에 쉽게 되네염..^^
xfly 관련해서 xul 파일을 올렸다가 지웠어요..
어차피, 지금 쓴것도 같은 문제가 나서요..
mozilla/browser/content/browser.xul 을 수정해서요..
브라우저를 불필요한 기능 다 지우고.. 간단하게 만들려고 하거든요..
그래서, 일단. browser.xul을 한번 지워봤는데요..
파악도 안된 상태에서 하려니.. 참 어려움이 많네요.. ㅡ.ㅠ
firefox로 하면 뜨긴 뜨는데.. mozilla로 하면.. 밑에 질문과 같은 상태가 납니다.. ㅡ.ㅡ;;
---------------------------------------------------------------
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://browser/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://browser/content/browser.css" type="text/css"?>
<?xml-stylesheet href="chrome://browser/skin/browser.css" type="text/css"?>
<?xul-overlay href="chrome://browser/content/macBrowserOverlay.xul"?>
<!DOCTYPE window [
<!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
%brandDTD;
<!ENTITY % browserDTD SYSTEM "chrome://browser/locale/browser.dtd" >
%browserDTD;
<!ENTITY % globalRegionDTD SYSTEM "chrome://global-region/locale/region.dtd">
%globalRegionDTD;
<!ENTITY % charsetDTD SYSTEM "chrome://global/locale/charsetOverlay.dtd" >
%charsetDTD;
]>
<window id="main-window"
xmlns:rdf="
http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="
http://www.mozilla.org/keymaster/gateke ... s.only.xul"
onload="Startup()" onunload="Shutdown()" onclose="return WindowIsClosing();"
contenttitlesetting="true"
title="&mainWindow.title;"
titlemodifier="&mainWindow.title;"
titlemenuseparator="&mainWindow.titlemodifiermenuseparator;"
windowtype="navigator:browser"
width="600" height="300"
persist="screenX screenY width height sizemode">
<script type="application/x-javascript" src="chrome://browser/content/browser.js"/>
<toolbarpalette id="BrowserToolbarPalette">
<toolbarbutton id="back-button" class="toolbarbutton-1"
label="&backCmd.label;"
oncommand="BrowserBack(event)"
tooltiptext="&backButton.tooltip;">
</toolbarbutton>
<toolbarbutton id="forward-button" class="toolbarbutton-1"
label="&forwardCmd.label;"
oncommand="BrowserForward(event)"
tooltiptext="&forwardButton.tooltip;">
</toolbarbutton>
<toolbarbutton id="reload-button" class="toolbarbutton-1"
label="&reloadCmd.label;"
oncommand="if (event.shiftKey) BrowserReloadSkipCache(); else BrowserReload();"
tooltiptext="reloadButton.tooltip;"/>
<toolbarbutton id="stop-button" class="toolbarbutton-1"
label="&stopCmd.label;"
command="Browser:Stop"
tooltiptext="stopButton.tooltip;"/>
<toolbarbutton id="home-button" class="toolbarbutton-1"
label="&homeButton.label;"
onclick="BrowserHomeClick(event);"/>
<toolbarbutton id="bookmark-item" class="toolbarbutton-1"
label="&bookmarksButton.label;"
command="Browser:Favorite" />
<toolbaritem id="urlbar-container" align="center" flex="1000"
title="locationItem.title;" class="chromeclass-location">
<textbox id="urlbar" flex="1"
type="autocomplete"
autocompletesearch="history"
autocompletepopup="PopupAutoComplete"
tabscrolling="true"
showcommentcolumn="true"
enablehistory="true"
oninput="gBrowser.userTypedValue = this.value"
ontextentered="return handleURLBarCommand(param);"
ontextreverted="return handleURLBarRevert();"
onfocus="URLBarFocusHandler(event, this);"
onmousedown="URLBarMouseDownHandler(event, this);"
onclick="URLBarClickHandler(event, this);"
oninfoclick="displaySecurityInfo()">
<deck id="page-proxy-deck">
<image id="page-proxy-button"
ondraggesture="PageProxyDragGesture(event);"
tooltiptext="proxyIcon.tooltip;"/>
<image id="page-proxy-favicon"
ondraggesture="PageProxyDragGesture(event);"
onload="this.parentNode.selectedIndex = 1;
event.stopPropagation();
event.preventBubble();"
onerror="gBrowser.addToMissedIconCache(this.src);
this.removeAttribute('src');
this.parentNode.selectedIndex = 0;"
tooltiptext="proxyIcon.tooltip;"/>
</deck>
</textbox>
</toolbaritem>
</toolbarpalette>
<toolbar id="nav-bar" class="toolbar-primary chromeclass-toolbar"
toolbarname="&navbarCmd.label;"
fullscreentoolbar="true" mode="icons" iconsize="small"
customizable="true"
defaultset="back-button,forward-button,reload-button,stop-button,home-button,urlbar-container,bookmarks-item,window-controls"
context="toolbar-context-menu">
<hbox id="window-controls" hidden="true" fullscreencontrol="true">
<toolbarbutton id="minimize-button" class="toolbarbutton-1"
oncommand="window.minimize();"/>
<toolbarbutton id="restore-button" class="toolbarbutton-1"
oncommand="BrowserFullScreen();"/>
<toolbarbutton id="close-button" class="toolbarbutton-1"
oncommand="window.close();"/>
</hbox>
</toolbar>
</window>