Skip to content

Commit

Permalink
Thanks Mike Kaply, fixes #16
Browse files Browse the repository at this point in the history
  • Loading branch information
kaihendry committed Apr 16, 2013
1 parent 6008179 commit 14a298c
Show file tree
Hide file tree
Showing 4 changed files with 119 additions and 115 deletions.
1 change: 1 addition & 0 deletions src/webcfullscreen.css
Expand Up @@ -85,6 +85,7 @@ toolbarbutton.bookmark-item,
#spell-separator,
#spell-language-separator,
#context-sep-bidi,
#context-searchselect,
#inspect-separator,
#context-openlinkprivate,
#context-sep-selectall,
Expand Down
231 changes: 116 additions & 115 deletions src/webcfullscreen.xul
Expand Up @@ -7,130 +7,131 @@

<script src="wc.js"/>

<menubar id="main-menubar" hidden="true" fullscreentoolbar="false" disabled="true">
<menuitem id="menu_preferences" disabled="true"/>
</menubar>
<menubar id="main-menubar" hidden="true" fullscreentoolbar="false" disabled="true">
<menuitem id="menu_preferences" disabled="true"/>
</menubar>

<commandset id="mainCommandSet">
<command id="cmd_newNavigator" disabled="true"/>
<command id="cmd_bm_open" disabled="true"/>
<command id="cmd_bm_openinnewwindow" disabled="true"/>
<command id="cmd_bm_openinnewtab" disabled="true"/>
<command id="cmd_bm_openfolder" disabled="true"/>
<command id="cmd_bm_managefolder" disabled="true"/>
<command id="cmd_bm_newfolder" disabled="true"/>
<command id="cmd_bm_newbookmark" disabled="true"/>
<command id="cmd_bm_newseparator" disabled="true"/>
<command id="cmd_bm_properties" disabled="true"/>
<command id="cmd_bm_refreshlivemark" disabled="true"/>
<command id="cmd_bm_refreshmicrosummary" disabled="true"/>
<command id="cmd_bm_rename" disabled="true"/>
<command id="cmd_bm_moveBookmark" disabled="true"/>
<command id="cmd_bm_sortbyname" disabled="true"/>
<command id="cmd_handleBackspace" disabled="true"/>
<command id="cmd_handleShiftBackspace" disabled="true"/>
<command id="cmd_newNavigatorTab" disabled="true"/>
<command id="Browser:OpenFile" disabled="true"/>
<command id="Browser:SavePage" disabled="true"/>
<command id="Browser:SaveFrame" disabled="true"/>
<command id="Browser:SendLink" disabled="true"/>
<command id="Browser:ShowAllHistory" disabled="true"/>
<command id="cmd_pageSetup" disabled="true"/>
<command id="cmd_close" disabled="true"/>
<command id="cmd_closeWindow" disabled="true"/>
<command id="cmd_toggleTaskbar" disabled="true"/>
<command id="cmd_CustomizeToolbars" disabled="true"/>
<command id="cmd_copyLink" disabled="true"/>
<command id="cmd_copyImageLocation" disabled="true"/>
<command id="cmd_copyImageContents" disabled="true"/>
<command id="cmd_undo" disabled="false"/>
<command id="cmd_redo" disabled="false"/>
<command id="cmd_cut" disabled="false"/>
<command id="cmd_copy" disabled="false"/>
<command id="cmd_paste" disabled="false"/>
<command id="cmd_delete" disabled="false"/>
<command id="cmd_selectAll" disabled="true"/>
<command id="cmd_switchTextDirection" disabled="false"/>
<command id="View:PageSource" disabled="true"/>
<command id="View:PageInfo" disabled="true"/>
<command id="View:FullScreen" disabled="true"/>
<command id="Browser:AddBookmarkAs" disabled="true"/>
<command id="Browser:ShowAllBookmarks" disabled="true"/>
<command id="Browser:BookmarkAllTabs" disabled="true"/>
<command id="Browser:Home" oncommand="BrowserHome();"/>
<command id="Browser:Back" disabled="true"/>
<command id="Browser:Forward" disabled="true"/>
<command id="Browser:Stop" disabled="true"/>
<command id="Browser:Reload" disabled="true"/>
<command id="Browser:ReloadSkipCache" disabled="true"/>
<command id="cmd_textZoomReduce" disabled="false"/>
<command id="cmd_textZoomEnlarge" disabled="false"/>
<command id="cmd_textZoomReset" disabled="false"/>
<command id="Browser:OpenLocation" disabled="true"/>
<command id="Tools:Search" disabled="true"/>
<command id="Tools:Downloads" disabled="true"/>
<command id="Tools:WebConsole" disabled="true"/>
<command id="Download:Manager" disabled="true"/>
<command id="Tools:Addons" disabled="true"/>
<command id="Tools:Sanitize" disabled="true"/>
<command id="History:UndoCloseTab" disabled="true"/>
<command id="Tools:PrivateBrowsing" oncommand=""/>
<command id="Tools:ErrorConsole" oncommand=""/>
</commandset>
<commandset id="mainCommandSet">
<command id="cmd_newNavigator" disabled="true"/>
<command id="cmd_bm_open" disabled="true"/>
<command id="cmd_bm_openinnewwindow" disabled="true"/>
<command id="cmd_bm_openinnewtab" disabled="true"/>
<command id="cmd_bm_openfolder" disabled="true"/>
<command id="cmd_bm_managefolder" disabled="true"/>
<command id="cmd_bm_newfolder" disabled="true"/>
<command id="cmd_bm_newbookmark" disabled="true"/>
<command id="cmd_bm_newseparator" disabled="true"/>
<command id="cmd_bm_properties" disabled="true"/>
<command id="cmd_bm_refreshlivemark" disabled="true"/>
<command id="cmd_bm_refreshmicrosummary" disabled="true"/>
<command id="cmd_bm_rename" disabled="true"/>
<command id="cmd_bm_moveBookmark" disabled="true"/>
<command id="cmd_bm_sortbyname" disabled="true"/>
<command id="cmd_handleBackspace" disabled="true"/>
<command id="cmd_handleShiftBackspace" disabled="true"/>
<command id="cmd_newNavigatorTab" disabled="true"/>
<command id="Browser:OpenFile" disabled="true"/>
<command id="Browser:SavePage" disabled="true"/>
<command id="Browser:SaveFrame" disabled="true"/>
<command id="Browser:SendLink" disabled="true"/>
<command id="Browser:ShowAllHistory" disabled="true"/>
<command id="cmd_pageSetup" disabled="true"/>
<command id="cmd_close" disabled="true"/>
<command id="cmd_closeWindow" disabled="true"/>
<command id="cmd_toggleTaskbar" disabled="true"/>
<command id="cmd_CustomizeToolbars" disabled="true"/>
<command id="cmd_copyLink" disabled="true"/>
<command id="cmd_copyImageLocation" disabled="true"/>
<command id="cmd_copyImageContents" disabled="true"/>
<command id="cmd_undo" disabled="false"/>
<command id="cmd_redo" disabled="false"/>
<command id="cmd_cut" disabled="false"/>
<command id="cmd_copy" disabled="false"/>
<command id="cmd_paste" disabled="false"/>
<command id="cmd_delete" disabled="false"/>
<command id="cmd_selectAll" disabled="true"/>
<command id="cmd_switchTextDirection" disabled="false"/>
<command id="View:PageSource" disabled="true"/>
<command id="View:PageInfo" disabled="true"/>
<command id="View:FullScreen" disabled="true"/>
<command id="Browser:AddBookmarkAs" disabled="true"/>
<command id="Browser:ShowAllBookmarks" disabled="true"/>
<command id="Browser:BookmarkAllTabs" disabled="true"/>
<command id="Browser:Home" oncommand="BrowserHome();"/>
<command id="Browser:Back" disabled="true"/>
<command id="Browser:Forward" disabled="true"/>
<command id="Browser:Stop" disabled="true"/>
<command id="Browser:Reload" disabled="true"/>
<command id="Browser:ReloadSkipCache" disabled="true"/>
<command id="cmd_textZoomReduce" disabled="false"/>
<command id="cmd_textZoomEnlarge" disabled="false"/>
<command id="cmd_textZoomReset" disabled="false"/>
<command id="Browser:OpenLocation" disabled="true"/>
<command id="Tools:Search" disabled="true"/>
<command id="Tools:Downloads" disabled="true"/>
<command id="Tools:WebConsole" disabled="true"/>
<command id="Download:Manager" disabled="true"/>
<command id="Tools:Addons" disabled="true"/>
<command id="Tools:Sanitize" disabled="true"/>
<command id="History:UndoCloseTab" disabled="true"/>
<command id="Tools:PrivateBrowsing" oncommand=""/>
<command id="Tools:ErrorConsole" oncommand=""/>
</commandset>

<keyset id="mainKeyset">
<keyset id="mainKeyset">


<key id="restart" keycode="VK_F10" oncommand="goQuitApplication();"/>
<key id="restart" keycode="VK_F10" oncommand="goQuitApplication();"/>

<key id="key_newNavigator" disabled="true"/>
<key id="key_newNavigatorTab" disabled="false"/>
<key id="focusURLBar" disabled="true"/>
<key id="focusURLBar2" disabled="true"/>
<key id="key_search" disabled="true"/>
<key id="key_search2" disabled="true"/>
<key id="key_openDownloads" disabled="true"/>
<key id="openFileKb" disabled="true"/>
<key id="key_savePage" disabled="true"/>
<key id="key_close" disabled="true"/>
<key id="key_closeWindow" disabled="true"/>
<key id="key_undo" disabled="true"/>
<key id="key_redo" disabled="true"/>
<key id="key_cut" disabled="true"/>
<key id="key_copy" disabled="true"/>
<key id="key_paste" disabled="true"/>
<key id="key_delete" disabled="true"/>
<key id="key_selectAll" disabled="true"/>
<key id="goBackKb" disabled="true"/>
<key id="goForwardKb" disabled="true"/>
<key id="goHome" keycode="VK_HOME" command="Browser:Home" modifiers="alt"/>
<key id="key_fullScreen" disabled="true"/>
<key id="key_viewSource" disabled="true"/>
<key id="key_newNavigator" disabled="true"/>
<key id="key_newNavigatorTab" disabled="false"/>
<key id="focusURLBar" disabled="true"/>
<key id="focusURLBar2" disabled="true"/>
<key id="key_search" disabled="true"/>
<key id="key_search2" disabled="true"/>
<key id="key_openDownloads" disabled="true"/>
<key id="openFileKb" disabled="true"/>
<key id="key_savePage" disabled="true"/>
<key id="key_close" disabled="true"/>
<key id="key_closeWindow" disabled="true"/>
<key id="key_undo" disabled="true"/>
<key id="key_redo" disabled="true"/>
<key id="key_cut" disabled="true"/>
<key id="key_copy" disabled="true"/>
<key id="key_paste" disabled="true"/>
<key id="key_delete" disabled="true"/>
<key id="key_selectAll" disabled="true"/>
<key id="goBackKb" disabled="true"/>
<key id="goForwardKb" disabled="true"/>
<key id="goHome" keycode="VK_HOME" command="Browser:Home" modifiers="alt"/>
<key id="key_fullScreen" disabled="true"/>
<key id="key_viewSource" disabled="true"/>

<key id="key_webConsole" disabled="true"/>
<key id="key_inspect" disabled="true"/>
<key id="key_debugger" disabled="true"/>
<key id="key_scratchpad" disabled="true"/>
<key id="key_styleeditor" disabled="true"/>
<key id="key_openAddons" disabled="true"/>
<key id="key_webConsole" disabled="true"/>
<key id="key_inspect" disabled="true"/>
<key id="key_debugger" disabled="true"/>
<key id="key_scratchpad" disabled="true"/>
<key id="key_styleeditor" disabled="true"/>
<key id="key_openAddons" disabled="true"/>

<key id="addBookmarkAsKb" disabled="true"/>
<key id="manBookmarkKb" disabled="true"/>
<key id="showAllHistoryKb" disabled="true"/>
<key id="bookmarkAllTabsKb" disabled="true"/>
<key id="key_textZoomReduce" disabled="true"/>
<key id="key_textZoomEnlarge" disabled="true"/>
<key id="key_textZoomReset" disabled="true"/>
<key id="key_switchTextDirection" disabled="true"/>
<key id="key_sanitize" disabled="true"/>
<key id="key_undoCloseTab" disabled="false"/>
<key id="key_gotoHistory" command="doNothing();"/>
<key id="viewBookmarksSidebarKb" command="doNothing();"/>
<key id="viewBookmarksSidebarWinKb" command="doNothing();"/>
<key id="key_errorConsole" oncommand=""/>
</keyset>
<key id="addBookmarkAsKb" disabled="true"/>
<key id="manBookmarkKb" disabled="true"/>
<key id="showAllHistoryKb" disabled="true"/>
<key id="bookmarkAllTabsKb" disabled="true"/>
<key id="key_textZoomReduce" disabled="true"/>
<key id="key_textZoomEnlarge" disabled="true"/>
<key id="key_textZoomReset" disabled="true"/>
<key id="key_switchTextDirection" disabled="true"/>
<key id="key_sanitize" disabled="true"/>
<key id="key_undoCloseTab" disabled="false"/>
<key id="key_gotoHistory" command="doNothing();"/>
<key id="viewBookmarksSidebarKb" command="doNothing();"/>
<key id="viewBookmarksSidebarWinKb" command="doNothing();"/>
<key id="key_errorConsole" oncommand=""/>
</keyset>

<tabs id="tabbrowser-tabs" ondragstart="event.preventDefault();event.stopPropagation();"/>
<tabbrowser id="content" contentcontextmenu=""/>

<box id="identity-box" onclick="" onkeypress="" ondragstart=""/>

Expand Down
1 change: 1 addition & 0 deletions src/webcnoaddressbar.css
Expand Up @@ -85,6 +85,7 @@ toolbarbutton.bookmark-item,
#spell-separator,
#spell-language-separator,
#context-sep-bidi,
#context-searchselect,
#inspect-separator,
#context-openlinkprivate,
#context-sep-selectall,
Expand Down
1 change: 1 addition & 0 deletions src/webconverger.css
Expand Up @@ -85,6 +85,7 @@ toolbarbutton.bookmark-item,
#spell-separator,
#spell-language-separator,
#context-sep-bidi,
#context-searchselect,
#inspect-separator,
#context-openlinkprivate,
#context-sep-selectall,
Expand Down

0 comments on commit 14a298c

Please sign in to comment.