Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

get rid of search container.

noisy commit, because i converted the files dos2unix, see the
non-whitespace diif with `git diff -w`
  • Loading branch information...
commit 8df049e26226763b46c03eef9767555085d0fa19 1 parent 265e077
Kai Hendry authored March 26, 2012
138  src/webcfullscreen.css
... ...
@@ -1,69 +1,69 @@
1  
-/*
2  
- * Webconverger.com
3  
- *
4  
- * Do not remove the @namespace line -- it's required for correct functioning
5  
- */
6  
-@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
7  
-
8  
-#apmenu-button,
9  
-#bookmarks-menu-button,
10  
-#content > tabbox > .tabbrowser-strip > menupopup[anonid="tabContextMenu"],
11  
-#context-bookmarkframe,
12  
-#context-bookmarklink,
13  
-#context-bookmarkpage,
14  
-#context-keywordfield,
15  
-#context-metadata,
16  
-#context-openframe,
17  
-#context-openframeintab,
18  
-#context-openlink,
19  
-#context-openlinkintab,
20  
-#context-reload,
21  
-#context-reloadframe,
22  
-#context-saveframe,
23  
-#context-saveimage,
24  
-#context-savelink,
25  
-#context-savepage,
26  
-#context-selectall,
27  
-#context-sendimage,
28  
-#context-sendlink,
29  
-#context-sendpage,
30  
-#context-sep-copylink,
31  
-#context-sep-properties,
32  
-#context-sep-selectall,
33  
-#context-sep-stop,
34  
-#context-sep-undo,
35  
-#context-sep-viewbgimage,
36  
-#context-setDesktopBackground,
37  
-#context-stop,
38  
-#context-viewframeinfo,
39  
-#context-viewframesource,
40  
-#context-viewimageinfo,
41  
-#context-viewinfo,
42  
-#context-viewpartialsource-mathml,
43  
-#context-viewpartialsource-selection,
44  
-#context-viewsource,
45  
-#downloadManager,
46  
-#download-monitor,
47  
-#downloads-button,
48  
-#editBookmarkPanel,
49  
-#editBookmarkPanelStarIcon,
50  
-#feed-button,
51  
-#go-button,
52  
-#go-button-stack,
53  
-menu.bookmark-item,
54  
-menuitem[command="Browser:SavePage"],
55  
-menuitem[disabled="true"],
56  
-menuitem[disabled="true"] + menuseparator,
57  
-#menu_openDownloads,
58  
-#PersonalToolbar,
59  
-#search-container,
60  
-#star-button,
61  
-#throbber-box,
62  
-toolbarbutton.bookmark-item,
63  
-#toolbar-context-menu,
64  
-#statusbar-display,
65  
-#toolbar-menubar,
66  
-#unknownContentType { display: none !important;}
67  
-
68  
-/* webcfullscreen */
69  
-#navigator-toolbox { display: none !important; }
  1
+/*
  2
+ * Webconverger.com
  3
+ *
  4
+ * Do not remove the @namespace line -- it's required for correct functioning
  5
+ */
  6
+@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  7
+
  8
+#apmenu-button,
  9
+#bookmarks-menu-button,
  10
+#content > tabbox > .tabbrowser-strip > menupopup[anonid="tabContextMenu"],
  11
+#context-bookmarkframe,
  12
+#context-bookmarklink,
  13
+#context-bookmarkpage,
  14
+#context-keywordfield,
  15
+#context-metadata,
  16
+#context-openframe,
  17
+#context-openframeintab,
  18
+#context-openlink,
  19
+#context-openlinkintab,
  20
+#context-reload,
  21
+#context-reloadframe,
  22
+#context-saveframe,
  23
+#context-saveimage,
  24
+#context-savelink,
  25
+#context-savepage,
  26
+#context-selectall,
  27
+#context-sendimage,
  28
+#context-sendlink,
  29
+#context-sendpage,
  30
+#context-sep-copylink,
  31
+#context-sep-properties,
  32
+#context-sep-selectall,
  33
+#context-sep-stop,
  34
+#context-sep-undo,
  35
+#context-sep-viewbgimage,
  36
+#context-setDesktopBackground,
  37
+#context-stop,
  38
+#context-viewframeinfo,
  39
+#context-viewframesource,
  40
+#context-viewimageinfo,
  41
+#context-viewinfo,
  42
+#context-viewpartialsource-mathml,
  43
+#context-viewpartialsource-selection,
  44
+#context-viewsource,
  45
+#downloadManager,
  46
+#download-monitor,
  47
+#downloads-button,
  48
+#editBookmarkPanel,
  49
+#editBookmarkPanelStarIcon,
  50
+#feed-button,
  51
+#go-button,
  52
+#go-button-stack,
  53
+menu.bookmark-item,
  54
+menuitem[command="Browser:SavePage"],
  55
+menuitem[disabled="true"],
  56
+menuitem[disabled="true"] + menuseparator,
  57
+#menu_openDownloads,
  58
+#PersonalToolbar,
  59
+#search-container,
  60
+#star-button,
  61
+#throbber-box,
  62
+toolbarbutton.bookmark-item,
  63
+#toolbar-context-menu,
  64
+#statusbar-display,
  65
+#toolbar-menubar,
  66
+#unknownContentType { display: none !important;}
  67
+
  68
+/* webcfullscreen */
  69
+#navigator-toolbox { display: none !important; }
254  src/webcfullscreen.xul
... ...
@@ -1,127 +1,127 @@
1  
-<?xml version="1.0"?>
2  
-
3  
-<overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
4  
-
5  
-<window id="downloadManager" hidden="true" disabled="true">
6  
-</window>
7  
-
8  
-<script src="wc.js"/>
9  
-
10  
-<menubar id="main-menubar" hidden="true"  fullscreentoolbar="false" disabled="true">
11  
-<menuitem id="menu_preferences" disabled="true"/>
12  
-</menubar>
13  
-
14  
-  <commandset id="mainCommandSet">
15  
-    <command id="cmd_newNavigator" disabled="true"/>
16  
-    <command id="cmd_bm_open" disabled="true"/>
17  
-    <command id="cmd_bm_openinnewwindow" disabled="true"/>
18  
-    <command id="cmd_bm_openinnewtab" disabled="true"/>
19  
-    <command id="cmd_bm_openfolder" disabled="true"/>
20  
-    <command id="cmd_bm_managefolder" disabled="true"/>
21  
-    <command id="cmd_bm_newfolder" disabled="true"/>
22  
-    <command id="cmd_bm_newbookmark" disabled="true"/>
23  
-    <command id="cmd_bm_newseparator" disabled="true"/>
24  
-    <command id="cmd_bm_properties" disabled="true"/>
25  
-    <command id="cmd_bm_refreshlivemark" disabled="true"/>
26  
-    <command id="cmd_bm_refreshmicrosummary" disabled="true"/>
27  
-    <command id="cmd_bm_rename" disabled="true"/>
28  
-    <command id="cmd_bm_moveBookmark" disabled="true"/>
29  
-    <command id="cmd_bm_sortbyname" disabled="true"/>
30  
-    <command id="cmd_handleBackspace" disabled="true"/>
31  
-    <command id="cmd_handleShiftBackspace" disabled="true"/>
32  
-    <command id="cmd_newNavigatorTab" disabled="true"/>
33  
-    <command id="Browser:OpenFile" disabled="true"/>
34  
-    <command id="Browser:SavePage" disabled="true"/>
35  
-    <command id="Browser:SaveFrame" disabled="true"/>
36  
-    <command id="Browser:SendLink" disabled="true"/>
37  
-    <command id="cmd_pageSetup" disabled="true"/>
38  
-    <command id="cmd_close" disabled="true"/>
39  
-    <command id="cmd_closeWindow" disabled="true"/>
40  
-    <command id="cmd_toggleTaskbar" disabled="true"/>
41  
-    <command id="cmd_CustomizeToolbars" disabled="true"/>
42  
-    <command id="cmd_copyLink" disabled="true"/>
43  
-    <command id="cmd_copyImageLocation" disabled="true"/>
44  
-    <command id="cmd_copyImageContents" disabled="true"/>
45  
-    <command id="cmd_undo"  disabled="false"/>
46  
-    <command id="cmd_redo"  disabled="false"/>
47  
-    <command id="cmd_cut"  disabled="false"/>
48  
-    <command id="cmd_copy"  disabled="false"/>
49  
-    <command id="cmd_paste"  disabled="false"/>
50  
-    <command id="cmd_delete" disabled="false"/>
51  
-    <command id="cmd_selectAll" disabled="true"/>
52  
-    <command id="cmd_switchTextDirection" disabled="true"/>
53  
-    <command id="View:PageSource" disabled="true"/>
54  
-    <command id="View:PageInfo" disabled="true"/>
55  
-    <command id="View:FullScreen" disabled="true"/>
56  
-    <command id="cmd_find" disabled="true"/>
57  
-    <command id="cmd_findAgain" disabled="true"/>
58  
-    <command id="cmd_findPrevious" disabled="true"/>
59  
-    <command id="Browser:AddBookmarkAs" disabled="true"/>
60  
-    <command id="Browser:BookmarkAllTabs" disabled="true"/>
61  
-    <command id="Browser:Home"    oncommand="BrowserHome();"/>
62  
-    <command id="Browser:Back" disabled="true"/>
63  
-    <command id="Browser:Forward" disabled="true"/>
64  
-    <command id="Browser:Stop" disabled="true"/>
65  
-    <command id="Browser:Reload" disabled="true"/>
66  
-    <command id="Browser:ReloadSkipCache" disabled="true"/>
67  
-    <command id="cmd_fullZoomReduce" disabled="true"/>
68  
-    <command id="cmd_fullZoomEnlarge" disabled="true"/>
69  
-    <command id="cmd_fullZoomReset" disabled="true"/>
70  
-    <command id="cmd_fullZoomToggle" disabled="true"/>
71  
-    <command id="cmd_textZoomReduce" disabled="true"/>
72  
-    <command id="cmd_textZoomEnlarge" disabled="true"/>
73  
-    <command id="cmd_textZoomReset" disabled="false"/>
74  
-    <command id="Browser:OpenLocation" disabled="true"/>
75  
-    <command id="Tools:Search" disabled="true"/>
76  
-    <command id="Tools:Downloads" disabled="true"/>
77  
-    <command id="Download:Manager" disabled="true"/>
78  
-    <command id="Tools:Addons" disabled="true"/>
79  
-    <command id="Tools:Sanitize" disabled="true"/>
80  
-    <command id="History:UndoCloseTab" disabled="true"/>
81  
-  </commandset>
82  
-
83  
-  <keyset id="mainKeyset">
84  
-
85  
-    <key id="restart" keycode="VK_F10" oncommand="goQuitApplication();"/>
86  
-
87  
-    <key id="key_newNavigator" disabled="true"/>
88  
-    <key id="key_newNavigatorTab" disabled="true"/>
89  
-    <key id="focusURLBar" disabled="true"/>
90  
-    <key id="focusURLBar2" disabled="true"/>
91  
-    <key id="key_search" disabled="true"/>
92  
-    <key id="key_search2" disabled="true"/>
93  
-    <key id="key_openDownloads" disabled="true"/>
94  
-    <key id="openFileKb" disabled="true"/>
95  
-    <key id="key_savePage" disabled="true"/>
96  
-    <key id="key_close" disabled="true"/>
97  
-    <key id="key_closeWindow" disabled="true"/>
98  
-    <key id="key_undo" disabled="true"/>
99  
-    <key id="key_redo" disabled="true"/>
100  
-    <key id="key_cut" disabled="true"/>
101  
-    <key id="key_copy" disabled="true"/>
102  
-    <key id="key_paste" disabled="true"/>
103  
-    <key id="key_delete" disabled="true"/>
104  
-    <key id="key_selectAll" disabled="true"/>
105  
-    <key id="goBackKb" disabled="true"/>
106  
-    <key id="goForwardKb" disabled="true"/>
107  
-    <key id="goHome" keycode="VK_HOME" command="Browser:Home" modifiers="alt"/>
108  
-    <key id="key_fullScreen" disabled="true"/>
109  
-    <key id="key_viewSource" disabled="true"/>
110  
-    <key id="key_find" disabled="true"/>
111  
-    <key id="key_findAgain" disabled="true"/>
112  
-    <key id="key_findPrevious" disabled="true"/>
113  
-    <key id="addBookmarkAsKb" disabled="true"/>
114  
-    <key id="bookmarkAllTabsKb" disabled="true"/>
115  
-    <key id="key_stop" disabled="true"/>
116  
-    <key id="key_textZoomReduce" disabled="true"/>
117  
-    <key id="key_textZoomEnlarge" disabled="true"/>
118  
-    <key id="key_textZoomReset" disabled="true"/>
119  
-    <key id="key_switchTextDirection" disabled="true"/>
120  
-    <key id="key_sanitize" disabled="true"/>
121  
-    <key id="key_undoCloseTab" disabled="true"/>
122  
-    <key id="key_gotoHistory" command="doNothing();"/>
123  
-    <key id="viewBookmarksSidebarKb" command="doNothing();"/>
124  
-    <key id="viewBookmarksSidebarWinKb" command="doNothing();"/>
125  
-  </keyset>
126  
-
127  
-</overlay>
  1
+<?xml version="1.0"?>
  2
+
  3
+<overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  4
+
  5
+<window id="downloadManager" hidden="true" disabled="true">
  6
+</window>
  7
+
  8
+<script src="wc.js"/>
  9
+
  10
+<menubar id="main-menubar" hidden="true"  fullscreentoolbar="false" disabled="true">
  11
+<menuitem id="menu_preferences" disabled="true"/>
  12
+</menubar>
  13
+
  14
+  <commandset id="mainCommandSet">
  15
+    <command id="cmd_newNavigator" disabled="true"/>
  16
+    <command id="cmd_bm_open" disabled="true"/>
  17
+    <command id="cmd_bm_openinnewwindow" disabled="true"/>
  18
+    <command id="cmd_bm_openinnewtab" disabled="true"/>
  19
+    <command id="cmd_bm_openfolder" disabled="true"/>
  20
+    <command id="cmd_bm_managefolder" disabled="true"/>
  21
+    <command id="cmd_bm_newfolder" disabled="true"/>
  22
+    <command id="cmd_bm_newbookmark" disabled="true"/>
  23
+    <command id="cmd_bm_newseparator" disabled="true"/>
  24
+    <command id="cmd_bm_properties" disabled="true"/>
  25
+    <command id="cmd_bm_refreshlivemark" disabled="true"/>
  26
+    <command id="cmd_bm_refreshmicrosummary" disabled="true"/>
  27
+    <command id="cmd_bm_rename" disabled="true"/>
  28
+    <command id="cmd_bm_moveBookmark" disabled="true"/>
  29
+    <command id="cmd_bm_sortbyname" disabled="true"/>
  30
+    <command id="cmd_handleBackspace" disabled="true"/>
  31
+    <command id="cmd_handleShiftBackspace" disabled="true"/>
  32
+    <command id="cmd_newNavigatorTab" disabled="true"/>
  33
+    <command id="Browser:OpenFile" disabled="true"/>
  34
+    <command id="Browser:SavePage" disabled="true"/>
  35
+    <command id="Browser:SaveFrame" disabled="true"/>
  36
+    <command id="Browser:SendLink" disabled="true"/>
  37
+    <command id="cmd_pageSetup" disabled="true"/>
  38
+    <command id="cmd_close" disabled="true"/>
  39
+    <command id="cmd_closeWindow" disabled="true"/>
  40
+    <command id="cmd_toggleTaskbar" disabled="true"/>
  41
+    <command id="cmd_CustomizeToolbars" disabled="true"/>
  42
+    <command id="cmd_copyLink" disabled="true"/>
  43
+    <command id="cmd_copyImageLocation" disabled="true"/>
  44
+    <command id="cmd_copyImageContents" disabled="true"/>
  45
+    <command id="cmd_undo"  disabled="false"/>
  46
+    <command id="cmd_redo"  disabled="false"/>
  47
+    <command id="cmd_cut"  disabled="false"/>
  48
+    <command id="cmd_copy"  disabled="false"/>
  49
+    <command id="cmd_paste"  disabled="false"/>
  50
+    <command id="cmd_delete" disabled="false"/>
  51
+    <command id="cmd_selectAll" disabled="true"/>
  52
+    <command id="cmd_switchTextDirection" disabled="true"/>
  53
+    <command id="View:PageSource" disabled="true"/>
  54
+    <command id="View:PageInfo" disabled="true"/>
  55
+    <command id="View:FullScreen" disabled="true"/>
  56
+    <command id="cmd_find" disabled="true"/>
  57
+    <command id="cmd_findAgain" disabled="true"/>
  58
+    <command id="cmd_findPrevious" disabled="true"/>
  59
+    <command id="Browser:AddBookmarkAs" disabled="true"/>
  60
+    <command id="Browser:BookmarkAllTabs" disabled="true"/>
  61
+    <command id="Browser:Home"    oncommand="BrowserHome();"/>
  62
+    <command id="Browser:Back" disabled="true"/>
  63
+    <command id="Browser:Forward" disabled="true"/>
  64
+    <command id="Browser:Stop" disabled="true"/>
  65
+    <command id="Browser:Reload" disabled="true"/>
  66
+    <command id="Browser:ReloadSkipCache" disabled="true"/>
  67
+    <command id="cmd_fullZoomReduce" disabled="true"/>
  68
+    <command id="cmd_fullZoomEnlarge" disabled="true"/>
  69
+    <command id="cmd_fullZoomReset" disabled="true"/>
  70
+    <command id="cmd_fullZoomToggle" disabled="true"/>
  71
+    <command id="cmd_textZoomReduce" disabled="true"/>
  72
+    <command id="cmd_textZoomEnlarge" disabled="true"/>
  73
+    <command id="cmd_textZoomReset" disabled="false"/>
  74
+    <command id="Browser:OpenLocation" disabled="true"/>
  75
+    <command id="Tools:Search" disabled="true"/>
  76
+    <command id="Tools:Downloads" disabled="true"/>
  77
+    <command id="Download:Manager" disabled="true"/>
  78
+    <command id="Tools:Addons" disabled="true"/>
  79
+    <command id="Tools:Sanitize" disabled="true"/>
  80
+    <command id="History:UndoCloseTab" disabled="true"/>
  81
+  </commandset>
  82
+
  83
+  <keyset id="mainKeyset">
  84
+
  85
+    <key id="restart" keycode="VK_F10" oncommand="goQuitApplication();"/>
  86
+
  87
+    <key id="key_newNavigator" disabled="true"/>
  88
+    <key id="key_newNavigatorTab" disabled="true"/>
  89
+    <key id="focusURLBar" disabled="true"/>
  90
+    <key id="focusURLBar2" disabled="true"/>
  91
+    <key id="key_search" disabled="true"/>
  92
+    <key id="key_search2" disabled="true"/>
  93
+    <key id="key_openDownloads" disabled="true"/>
  94
+    <key id="openFileKb" disabled="true"/>
  95
+    <key id="key_savePage" disabled="true"/>
  96
+    <key id="key_close" disabled="true"/>
  97
+    <key id="key_closeWindow" disabled="true"/>
  98
+    <key id="key_undo" disabled="true"/>
  99
+    <key id="key_redo" disabled="true"/>
  100
+    <key id="key_cut" disabled="true"/>
  101
+    <key id="key_copy" disabled="true"/>
  102
+    <key id="key_paste" disabled="true"/>
  103
+    <key id="key_delete" disabled="true"/>
  104
+    <key id="key_selectAll" disabled="true"/>
  105
+    <key id="goBackKb" disabled="true"/>
  106
+    <key id="goForwardKb" disabled="true"/>
  107
+    <key id="goHome" keycode="VK_HOME" command="Browser:Home" modifiers="alt"/>
  108
+    <key id="key_fullScreen" disabled="true"/>
  109
+    <key id="key_viewSource" disabled="true"/>
  110
+    <key id="key_find" disabled="true"/>
  111
+    <key id="key_findAgain" disabled="true"/>
  112
+    <key id="key_findPrevious" disabled="true"/>
  113
+    <key id="addBookmarkAsKb" disabled="true"/>
  114
+    <key id="bookmarkAllTabsKb" disabled="true"/>
  115
+    <key id="key_stop" disabled="true"/>
  116
+    <key id="key_textZoomReduce" disabled="true"/>
  117
+    <key id="key_textZoomEnlarge" disabled="true"/>
  118
+    <key id="key_textZoomReset" disabled="true"/>
  119
+    <key id="key_switchTextDirection" disabled="true"/>
  120
+    <key id="key_sanitize" disabled="true"/>
  121
+    <key id="key_undoCloseTab" disabled="true"/>
  122
+    <key id="key_gotoHistory" command="doNothing();"/>
  123
+    <key id="viewBookmarksSidebarKb" command="doNothing();"/>
  124
+    <key id="viewBookmarksSidebarWinKb" command="doNothing();"/>
  125
+  </keyset>
  126
+
  127
+</overlay>
137  src/webcnoaddressbar.css
... ...
@@ -1,69 +1,68 @@
1  
-/*
2  
- * Webconverger.com
3  
- *
4  
- * Do not remove the @namespace line -- it's required for correct functioning
5  
- */
6  
-@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
7  
-
8  
-#apmenu-button,
9  
-#bookmarks-menu-button,
10  
-#content > tabbox > .tabbrowser-strip > menupopup[anonid="tabContextMenu"],
11  
-#context-bookmarkframe,
12  
-#context-bookmarklink,
13  
-#context-bookmarkpage,
14  
-#context-keywordfield,
15  
-#context-metadata,
16  
-#context-openframe,
17  
-#context-openframeintab,
18  
-#context-openlink,
19  
-#context-openlinkintab,
20  
-#context-reload,
21  
-#context-reloadframe,
22  
-#context-saveframe,
23  
-#context-saveimage,
24  
-#context-savelink,
25  
-#context-savepage,
26  
-#context-selectall,
27  
-#context-sendimage,
28  
-#context-sendlink,
29  
-#context-sendpage,
30  
-#context-sep-copylink,
31  
-#context-sep-properties,
32  
-#context-sep-selectall,
33  
-#context-sep-stop,
34  
-#context-sep-undo,
35  
-#context-sep-viewbgimage,
36  
-#context-setDesktopBackground,
37  
-#context-stop,
38  
-#context-viewframeinfo,
39  
-#context-viewframesource,
40  
-#context-viewimageinfo,
41  
-#context-viewinfo,
42  
-#context-viewpartialsource-mathml,
43  
-#context-viewpartialsource-selection,
44  
-#context-viewsource,
45  
-#downloadManager,
46  
-#download-monitor,
47  
-#downloads-button,
48  
-#editBookmarkPanel,
49  
-#editBookmarkPanelStarIcon,
50  
-#feed-button,
51  
-#go-button,
52  
-#go-button-stack,
53  
-menu.bookmark-item,
54  
-menuitem[command="Browser:SavePage"],
55  
-menuitem[disabled="true"],
56  
-menuitem[disabled="true"] + menuseparator,
57  
-#menu_openDownloads,
58  
-#PersonalToolbar,
59  
-#search-container,
60  
-#star-button,
61  
-#throbber-box,
62  
-toolbarbutton.bookmark-item,
63  
-#toolbar-context-menu,
64  
-#toolbar-menubar,
65  
-#unknownContentType { display: none !important;}
66  
-
67  
-/* webcnoaddressbar */
68  
-#search-container { display: none !important; }
69  
-#urlbar-container { visibility: collapse }
  1
+/*
  2
+ * Webconverger.com
  3
+ *
  4
+ * Do not remove the @namespace line -- it's required for correct functioning
  5
+ */
  6
+@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  7
+
  8
+#apmenu-button,
  9
+#bookmarks-menu-button,
  10
+#content > tabbox > .tabbrowser-strip > menupopup[anonid="tabContextMenu"],
  11
+#context-bookmarkframe,
  12
+#context-bookmarklink,
  13
+#context-bookmarkpage,
  14
+#context-keywordfield,
  15
+#context-metadata,
  16
+#context-openframe,
  17
+#context-openframeintab,
  18
+#context-openlink,
  19
+#context-openlinkintab,
  20
+#context-reload,
  21
+#context-reloadframe,
  22
+#context-saveframe,
  23
+#context-saveimage,
  24
+#context-savelink,
  25
+#context-savepage,
  26
+#context-selectall,
  27
+#context-sendimage,
  28
+#context-sendlink,
  29
+#context-sendpage,
  30
+#context-sep-copylink,
  31
+#context-sep-properties,
  32
+#context-sep-selectall,
  33
+#context-sep-stop,
  34
+#context-sep-undo,
  35
+#context-sep-viewbgimage,
  36
+#context-setDesktopBackground,
  37
+#context-stop,
  38
+#context-viewframeinfo,
  39
+#context-viewframesource,
  40
+#context-viewimageinfo,
  41
+#context-viewinfo,
  42
+#context-viewpartialsource-mathml,
  43
+#context-viewpartialsource-selection,
  44
+#context-viewsource,
  45
+#downloadManager,
  46
+#download-monitor,
  47
+#downloads-button,
  48
+#editBookmarkPanel,
  49
+#editBookmarkPanelStarIcon,
  50
+#feed-button,
  51
+#go-button,
  52
+#go-button-stack,
  53
+menu.bookmark-item,
  54
+menuitem[command="Browser:SavePage"],
  55
+menuitem[disabled="true"],
  56
+menuitem[disabled="true"] + menuseparator,
  57
+#menu_openDownloads,
  58
+#PersonalToolbar,
  59
+#search-container,
  60
+#star-button,
  61
+#throbber-box,
  62
+toolbarbutton.bookmark-item,
  63
+#toolbar-context-menu,
  64
+#toolbar-menubar,
  65
+#unknownContentType { display: none !important;}
  66
+
  67
+/* webcnoaddressbar */
  68
+#urlbar-container { visibility: collapse }
256  src/webcnoaddressbar.xul
... ...
@@ -1,128 +1,128 @@
1  
-<?xml version="1.0"?>
2  
-
3  
-<overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
4  
-
5  
-<window id="downloadManager" hidden="true" disabled="true">
6  
-</window>
7  
-
8  
-<script src="wc.js"/>
9  
-
10  
-        <menubar id="main-menubar" hidden="true"  fullscreentoolbar="false" disabled="true">
11  
-              <menuitem id="menu_preferences" disabled="true"/>
12  
-        </menubar>
13  
-
14  
-  <commandset id="mainCommandSet">
15  
-    <command id="cmd_newNavigator" disabled="true"/>
16  
-    <command id="cmd_bm_open" disabled="false"/>
17  
-    <command id="cmd_bm_openinnewwindow" disabled="true"/>
18  
-    <command id="cmd_bm_openinnewtab" disabled="false"/>
19  
-    <command id="cmd_bm_openfolder" disabled="true"/>
20  
-    <command id="cmd_bm_managefolder" disabled="true"/>
21  
-    <command id="cmd_bm_newfolder" disabled="true"/>
22  
-    <command id="cmd_bm_newbookmark" disabled="true"/>
23  
-    <command id="cmd_bm_newseparator" disabled="true"/>
24  
-    <command id="cmd_bm_properties" disabled="true"/>
25  
-    <command id="cmd_bm_refreshlivemark" disabled="true"/>
26  
-    <command id="cmd_bm_refreshmicrosummary" disabled="true"/>
27  
-    <command id="cmd_bm_rename" disabled="true"/>
28  
-    <command id="cmd_bm_moveBookmark" disabled="true"/>
29  
-    <command id="cmd_bm_sortbyname" disabled="true"/>
30  
-    <command id="cmd_handleBackspace" disabled="true"/>
31  
-    <command id="cmd_handleShiftBackspace" disabled="true"/>
32  
-    <command id="cmd_newNavigatorTab" disabled="false"/>
33  
-    <command id="Browser:OpenFile" disabled="true"/>
34  
-    <command id="Browser:SavePage" disabled="true"/>
35  
-    <command id="Browser:SaveFrame" disabled="true"/>
36  
-    <command id="Browser:SendLink" disabled="true"/>
37  
-    <command id="cmd_pageSetup" disabled="true"/>
38  
-    <command id="cmd_close" disabled="false"/>
39  
-    <command id="cmd_closeWindow" disabled="false"/>
40  
-    <command id="cmd_toggleTaskbar" disabled="true"/>
41  
-    <command id="cmd_CustomizeToolbars" disabled="true"/>
42  
-    <command id="cmd_copyLink" disabled="true"/>
43  
-    <command id="cmd_copyImageLocation" disabled="true"/>
44  
-    <command id="cmd_copyImageContents" disabled="true"/>
45  
-    <command id="cmd_undo"  disabled="false"/>
46  
-    <command id="cmd_redo"  disabled="false"/>
47  
-    <command id="cmd_cut"  disabled="false"/>
48  
-    <command id="cmd_copy"  disabled="false"/>
49  
-    <command id="cmd_paste"  disabled="false"/>
50  
-    <command id="cmd_delete" disabled="false"/>
51  
-    <command id="cmd_selectAll" disabled="true"/>
52  
-    <command id="cmd_switchTextDirection" disabled="false"/>
53  
-    <command id="View:PageSource" disabled="true"/>
54  
-    <command id="View:PageInfo" disabled="true"/>
55  
-    <command id="View:FullScreen" disabled="true"/>
56  
-    <command id="Browser:AddBookmarkAs" disabled="true"/>
57  
-    <command id="Browser:BookmarkAllTabs" disabled="true"/>
58  
-    <command id="Browser:Home"    oncommand="BrowserHome();"/>
59  
-    <command id="Browser:Back" disabled="true"/>
60  
-    <command id="Browser:Forward" disabled="true"/>
61  
-    <command id="Browser:Stop" disabled="true"/>
62  
-    <command id="Browser:Reload" disabled="true"/>
63  
-    <command id="Browser:ReloadSkipCache" disabled="true"/>
64  
-    <command id="cmd_textZoomReduce" disabled="false"/>
65  
-    <command id="cmd_textZoomEnlarge" disabled="false"/>
66  
-    <command id="cmd_textZoomReset" disabled="false"/>
67  
-    <command id="Browser:OpenLocation" disabled="false"/>
68  
-    <command id="Tools:Search" disabled="true"/>
69  
-    <command id="Tools:Downloads" disabled="true"/>
70  
-    <command id="Download:Manager" disabled="true"/>
71  
-    <command id="Tools:Addons" disabled="true"/>
72  
-    <command id="Tools:Sanitize" disabled="true"/>
73  
-    <command id="History:UndoCloseTab" disabled="true"/>
74  
-  </commandset>
75  
-
76  
-  <keyset id="mainKeyset">
77  
-
78  
-    <key id="restart" keycode="VK_F10" oncommand="goQuitApplication();"/>
79  
-
80  
-    <key id="key_newNavigator" disabled="true"/>
81  
-    <key id="key_newNavigatorTab" disabled="false"/>
82  
-    <key id="focusURLBar" disabled="true"/>
83  
-    <key id="focusURLBar2" disabled="true"/>
84  
-    <key id="key_search" disabled="true"/>
85  
-    <key id="key_search2" disabled="true"/>
86  
-    <key id="key_openDownloads" disabled="true"/>
87  
-    <key id="openFileKb" disabled="true"/>
88  
-    <key id="key_savePage" disabled="true"/>
89  
-    <key id="key_close" disabled="false"/>
90  
-    <key id="key_closeWindow" disabled="false"/>
91  
-    <key id="key_undo" disabled="true"/>
92  
-    <key id="key_redo" disabled="true"/>
93  
-    <key id="key_cut" disabled="true"/>
94  
-    <key id="key_copy" disabled="true"/>
95  
-    <key id="key_paste" disabled="true"/>
96  
-    <key id="key_delete" disabled="true"/>
97  
-    <key id="key_selectAll" disabled="true"/>
98  
-    <key id="goBackKb" disabled="true"/>
99  
-    <key id="goForwardKb" disabled="true"/>
100  
-    <key id="goHome" keycode="VK_HOME" command="Browser:Home" modifiers="alt"/>
101  
-    <key id="key_fullScreen" disabled="true"/>
102  
-    <key id="key_viewSource" disabled="true"/>
103  
-    <key id="addBookmarkAsKb" disabled="true"/>
104  
-    <key id="bookmarkAllTabsKb" disabled="true"/>
105  
-    <key id="key_textZoomReduce" disabled="true"/>
106  
-    <key id="key_textZoomEnlarge" disabled="true"/>
107  
-    <key id="key_textZoomReset" disabled="true"/>
108  
-    <key id="key_switchTextDirection" disabled="true"/>
109  
-    <key id="key_sanitize" disabled="true"/>
110  
-    <key id="key_undoCloseTab" disabled="false"/>
111  
-    <key id="key_gotoHistory" command="doNothing();"/>
112  
-    <key id="viewBookmarksSidebarKb" command="doNothing();"/>
113  
-    <key id="viewBookmarksSidebarWinKb" command="doNothing();"/>
114  
-  </keyset>
115  
-
116  
-<tabs id="tabbrowser-tabs" ondragstart="event.preventDefault();event.stopPropagation();"/>
117  
-
118  
-<box id="identity-box" onclick="" onkeypress="" ondragstart=""/>
119  
-
120  
-<menuitem id="menu_tabview" hidden="true"/>
121  
-<menuseparator id="alltabs-popup-separator" hidden="true"/>
122  
-<key id="key_tabview" command=""/>
123  
-<menupopup id="contentAreaContextMenu">
124  
-<menuseparator id="inspect-separator" style="display: none;"/>
125  
-<menuseparator id="context-sep-viewsource" style="display: none;"/>
126  
-<menuitem id="context-inspect" style="display: none;"/>
127  
-</menupopup>
128  
-</overlay>
  1
+<?xml version="1.0"?>
  2
+
  3
+<overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  4
+
  5
+<window id="downloadManager" hidden="true" disabled="true">
  6
+</window>
  7
+
  8
+<script src="wc.js"/>
  9
+
  10
+        <menubar id="main-menubar" hidden="true"  fullscreentoolbar="false" disabled="true">
  11
+              <menuitem id="menu_preferences" disabled="true"/>
  12
+        </menubar>
  13
+
  14
+  <commandset id="mainCommandSet">
  15
+    <command id="cmd_newNavigator" disabled="true"/>
  16
+    <command id="cmd_bm_open" disabled="false"/>
  17
+    <command id="cmd_bm_openinnewwindow" disabled="true"/>
  18
+    <command id="cmd_bm_openinnewtab" disabled="false"/>
  19
+    <command id="cmd_bm_openfolder" disabled="true"/>
  20
+    <command id="cmd_bm_managefolder" disabled="true"/>
  21
+    <command id="cmd_bm_newfolder" disabled="true"/>
  22
+    <command id="cmd_bm_newbookmark" disabled="true"/>
  23
+    <command id="cmd_bm_newseparator" disabled="true"/>
  24
+    <command id="cmd_bm_properties" disabled="true"/>
  25
+    <command id="cmd_bm_refreshlivemark" disabled="true"/>
  26
+    <command id="cmd_bm_refreshmicrosummary" disabled="true"/>
  27
+    <command id="cmd_bm_rename" disabled="true"/>
  28
+    <command id="cmd_bm_moveBookmark" disabled="true"/>
  29
+    <command id="cmd_bm_sortbyname" disabled="true"/>
  30
+    <command id="cmd_handleBackspace" disabled="true"/>
  31
+    <command id="cmd_handleShiftBackspace" disabled="true"/>
  32
+    <command id="cmd_newNavigatorTab" disabled="false"/>
  33
+    <command id="Browser:OpenFile" disabled="true"/>
  34
+    <command id="Browser:SavePage" disabled="true"/>
  35
+    <command id="Browser:SaveFrame" disabled="true"/>
  36
+    <command id="Browser:SendLink" disabled="true"/>
  37
+    <command id="cmd_pageSetup" disabled="true"/>
  38
+    <command id="cmd_close" disabled="false"/>
  39
+    <command id="cmd_closeWindow" disabled="false"/>
  40
+    <command id="cmd_toggleTaskbar" disabled="true"/>
  41
+    <command id="cmd_CustomizeToolbars" disabled="true"/>
  42
+    <command id="cmd_copyLink" disabled="true"/>
  43
+    <command id="cmd_copyImageLocation" disabled="true"/>
  44
+    <command id="cmd_copyImageContents" disabled="true"/>
  45
+    <command id="cmd_undo"  disabled="false"/>
  46
+    <command id="cmd_redo"  disabled="false"/>
  47
+    <command id="cmd_cut"  disabled="false"/>
  48
+    <command id="cmd_copy"  disabled="false"/>
  49
+    <command id="cmd_paste"  disabled="false"/>
  50
+    <command id="cmd_delete" disabled="false"/>
  51
+    <command id="cmd_selectAll" disabled="true"/>
  52
+    <command id="cmd_switchTextDirection" disabled="false"/>
  53
+    <command id="View:PageSource" disabled="true"/>
  54
+    <command id="View:PageInfo" disabled="true"/>
  55
+    <command id="View:FullScreen" disabled="true"/>
  56
+    <command id="Browser:AddBookmarkAs" disabled="true"/>
  57
+    <command id="Browser:BookmarkAllTabs" disabled="true"/>
  58
+    <command id="Browser:Home"    oncommand="BrowserHome();"/>
  59
+    <command id="Browser:Back" disabled="true"/>
  60
+    <command id="Browser:Forward" disabled="true"/>
  61
+    <command id="Browser:Stop" disabled="true"/>
  62
+    <command id="Browser:Reload" disabled="true"/>
  63
+    <command id="Browser:ReloadSkipCache" disabled="true"/>
  64
+    <command id="cmd_textZoomReduce" disabled="false"/>
  65
+    <command id="cmd_textZoomEnlarge" disabled="false"/>
  66
+    <command id="cmd_textZoomReset" disabled="false"/>
  67
+    <command id="Browser:OpenLocation" disabled="false"/>
  68
+    <command id="Tools:Search" disabled="true"/>
  69
+    <command id="Tools:Downloads" disabled="true"/>
  70
+    <command id="Download:Manager" disabled="true"/>
  71
+    <command id="Tools:Addons" disabled="true"/>
  72
+    <command id="Tools:Sanitize" disabled="true"/>
  73
+    <command id="History:UndoCloseTab" disabled="true"/>
  74
+  </commandset>
  75
+
  76
+  <keyset id="mainKeyset">
  77
+
  78
+    <key id="restart" keycode="VK_F10" oncommand="goQuitApplication();"/>
  79
+
  80
+    <key id="key_newNavigator" disabled="true"/>
  81
+    <key id="key_newNavigatorTab" disabled="false"/>
  82
+    <key id="focusURLBar" disabled="true"/>
  83
+    <key id="focusURLBar2" disabled="true"/>
  84
+    <key id="key_search" disabled="true"/>
  85
+    <key id="key_search2" disabled="true"/>
  86
+    <key id="key_openDownloads" disabled="true"/>
  87
+    <key id="openFileKb" disabled="true"/>
  88
+    <key id="key_savePage" disabled="true"/>
  89
+    <key id="key_close" disabled="false"/>
  90
+    <key id="key_closeWindow" disabled="false"/>
  91
+    <key id="key_undo" disabled="true"/>
  92
+    <key id="key_redo" disabled="true"/>
  93
+    <key id="key_cut" disabled="true"/>
  94
+    <key id="key_copy" disabled="true"/>
  95
+    <key id="key_paste" disabled="true"/>
  96
+    <key id="key_delete" disabled="true"/>
  97
+    <key id="key_selectAll" disabled="true"/>
  98
+    <key id="goBackKb" disabled="true"/>
  99
+    <key id="goForwardKb" disabled="true"/>
  100
+    <key id="goHome" keycode="VK_HOME" command="Browser:Home" modifiers="alt"/>
  101
+    <key id="key_fullScreen" disabled="true"/>
  102
+    <key id="key_viewSource" disabled="true"/>
  103
+    <key id="addBookmarkAsKb" disabled="true"/>
  104
+    <key id="bookmarkAllTabsKb" disabled="true"/>
  105
+    <key id="key_textZoomReduce" disabled="true"/>
  106
+    <key id="key_textZoomEnlarge" disabled="true"/>
  107
+    <key id="key_textZoomReset" disabled="true"/>
  108
+    <key id="key_switchTextDirection" disabled="true"/>
  109
+    <key id="key_sanitize" disabled="true"/>
  110
+    <key id="key_undoCloseTab" disabled="false"/>
  111
+    <key id="key_gotoHistory" command="doNothing();"/>
  112
+    <key id="viewBookmarksSidebarKb" command="doNothing();"/>
  113
+    <key id="viewBookmarksSidebarWinKb" command="doNothing();"/>
  114
+  </keyset>
  115
+
  116
+<tabs id="tabbrowser-tabs" ondragstart="event.preventDefault();event.stopPropagation();"/>
  117
+
  118
+<box id="identity-box" onclick="" onkeypress="" ondragstart=""/>
  119
+
  120
+<menuitem id="menu_tabview" hidden="true"/>
  121
+<menuseparator id="alltabs-popup-separator" hidden="true"/>
  122
+<key id="key_tabview" command=""/>
  123
+<menupopup id="contentAreaContextMenu">
  124
+<menuseparator id="inspect-separator" style="display: none;"/>
  125
+<menuseparator id="context-sep-viewsource" style="display: none;"/>
  126
+<menuitem id="context-inspect" style="display: none;"/>
  127
+</menupopup>
  128
+</overlay>
129  src/webconverger.css
... ...
@@ -1,64 +1,65 @@
1  
-/*
2  
- * Webconverger.com
3  
- *
4  
- * Do not remove the @namespace line -- it's required for correct functioning
5  
- */
6  
-@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
7  
-
8  
-#apmenu-button,
9  
-#bookmarks-menu-button,
10  
-#content > tabbox > .tabbrowser-strip > menupopup[anonid="tabContextMenu"],
11  
-#context-bookmarkframe,
12  
-#context-bookmarklink,
13  
-#context-bookmarkpage,
14  
-#context-keywordfield,
15  
-#context-metadata,
16  
-#context-openframe,
17  
-#context-openframeintab,
18  
-#context-openlink,
19  
-#context-openlinkintab,
20  
-#context-reload,
21  
-#context-reloadframe,
22  
-#context-saveframe,
23  
-#context-saveimage,
24  
-#context-savelink,
25  
-#context-savepage,
26  
-#context-selectall,
27  
-#context-sendimage,
28  
-#context-sendlink,
29  
-#context-sendpage,
30  
-#context-sep-copylink,
31  
-#context-sep-properties,
32  
-#context-sep-selectall,
33  
-#context-sep-stop,
34  
-#context-sep-undo,
35  
-#context-sep-viewbgimage,
36  
-#context-setDesktopBackground,
37  
-#context-stop,
38  
-#context-viewframeinfo,
39  
-#context-viewframesource,
40  
-#context-viewimageinfo,
41  
-#context-viewinfo,
42  
-#context-viewpartialsource-mathml,
43  
-#context-viewpartialsource-selection,
44  
-#context-viewsource,
45  
-#downloadManager,
46  
-#download-monitor,
47  
-#downloads-button,
48  
-#editBookmarkPanel,
49  
-#editBookmarkPanelStarIcon,
50  
-#feed-button,
51  
-#go-button,
52  
-#go-button-stack,
53  
-menu.bookmark-item,
54  
-menuitem[command="Browser:SavePage"],
55  
-menuitem[disabled="true"],
56  
-menuitem[disabled="true"] + menuseparator,
57  
-#menu_openDownloads,
58  
-#PersonalToolbar,
59  
-#star-button,
60  
-#throbber-box,
61  
-toolbarbutton.bookmark-item,
62  
-#toolbar-context-menu,
63  
-#toolbar-menubar,
64  
-#unknownContentType { display: none !important;}
  1
+/*
  2
+ * Webconverger.com
  3
+ *
  4
+ * Do not remove the @namespace line -- it's required for correct functioning
  5
+ */
  6
+@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  7
+
  8
+#apmenu-button,
  9
+#bookmarks-menu-button,
  10
+#content > tabbox > .tabbrowser-strip > menupopup[anonid="tabContextMenu"],
  11
+#context-bookmarkframe,
  12
+#context-bookmarklink,
  13
+#context-bookmarkpage,
  14
+#context-keywordfield,
  15
+#context-metadata,
  16
+#context-openframe,
  17
+#context-openframeintab,
  18
+#context-openlink,
  19
+#context-openlinkintab,
  20
+#context-reload,
  21
+#context-reloadframe,
  22
+#context-saveframe,
  23
+#context-saveimage,
  24
+#context-savelink,
  25
+#context-savepage,
  26
+#context-selectall,
  27
+#context-sendimage,
  28
+#context-sendlink,
  29
+#context-sendpage,
  30
+#context-sep-copylink,
  31
+#context-sep-properties,
  32
+#context-sep-selectall,
  33
+#context-sep-stop,
  34
+#context-sep-undo,
  35
+#context-sep-viewbgimage,
  36
+#context-setDesktopBackground,
  37
+#context-stop,
  38
+#context-viewframeinfo,
  39
+#context-viewframesource,
  40
+#context-viewimageinfo,
  41
+#context-viewinfo,
  42
+#context-viewpartialsource-mathml,
  43
+#context-viewpartialsource-selection,
  44
+#context-viewsource,
  45
+#downloadManager,
  46
+#download-monitor,
  47
+#downloads-button,
  48
+#editBookmarkPanel,
  49
+#editBookmarkPanelStarIcon,
  50
+#feed-button,
  51
+#go-button,
  52
+#go-button-stack,
  53
+menu.bookmark-item,
  54
+menuitem[command="Browser:SavePage"],
  55
+menuitem[disabled="true"],
  56
+menuitem[disabled="true"] + menuseparator,
  57
+#menu_openDownloads,
  58
+#PersonalToolbar,
  59
+#search-container,
  60
+#star-button,
  61
+#throbber-box,
  62
+toolbarbutton.bookmark-item,
  63
+#toolbar-context-menu,
  64
+#toolbar-menubar,
  65
+#unknownContentType { display: none !important;}
134  src/webconverger.js
... ...
@@ -1,67 +1,67 @@
1  
-if (typeof webc == 'undefined') { (function() {
2  
-		window.webc = {};
3  
-
4  
-		function tabRemoved(event) {
5  
-
6  
-			// Get number of tabs
7  
-			var num = gBrowser.browsers.length;
8  
-
9  
-			// If there are two tabs, the second tab has no title and the closed tab
10  
-			// does have a title (ie is not the same tab) then close the browser
11  
-			if ((num == 2) && (!gBrowser.getBrowserAtIndex(1).contentTitle) && event.target.linkedBrowser.contentTitle) {
12  
-				goQuitApplication();
13  
-			}
14  
-			if ((num == 2) && (!gBrowser.getBrowserAtIndex(0).contentTitle)) {
15  
-				goQuitApplication();
16  
-			}
17  
-		}
18  
-
19  
-		function init() {
20  
-			// Add close tab listener, gBrowser has not been initiated by this point
21  
-			getBrowser().tabContainer.addEventListener("TabClose", tabRemoved, false);
22  
-			try {
23  
-				getBrowser().tabContainer.addEventListener("DisableDownload", onDownloadStateChange, false);
24  
-			} catch (ex) {}
25  
-			var pbs = Components.classes["@mozilla.org/privatebrowsing;1"].getService(Components.interfaces.nsIPrivateBrowsingService);
26  
-			pbs.privateBrowsingEnabled = true;
27  
-		}
28  
-
29  
-		webc.init = init();
30  
-	})();
31  
-}
32  
-
33  
-function BrowserLoadURL(aTriggeringEvent, aPostData) { // override browser.js
34  
-	var url = gURLBar.value;
35  
-	if (url.match(/^file:/) || url.match(/^\//) || url.match(/^resource:/) || url.match(/^about:/)) {
36  
-		alert("Access to this protocol has been disabled!");
37  
-		return;
38  
-	}
39  
-
40  
-	if (aTriggeringEvent instanceof MouseEvent) {
41  
-		if (aTriggeringEvent.button == 2) {
42  
-			return; // Do nothing for right clicks
43  
-		}
44  
-
45  
-		// We have a mouse event (from the go button), so use the standard UI link behaviors
46  
-		openUILink(url, aTriggeringEvent, false, false, true , aPostData);
47  
-		return;
48  
-	}
49  
-
50  
-	if (aTriggeringEvent && aTriggeringEvent.altKey) {
51  
-		handleURLBarRevert();
52  
-		content.focus();
53  
-		gBrowser.loadOneTab(url, null, null, aPostData, false, true
54  
-		/* allow third party fixup */
55  
-		);
56  
-		aTriggeringEvent.preventDefault();
57  
-		aTriggeringEvent.stopPropagation();
58  
-	}
59  
-	else {
60  
-		loadURI(url, null, aPostData, true
61  
-		/* allow third party fixup */
62  
-		);
63  
-	}
64  
-
65  
-	focusElement(content);
66  
-}
67  
-
  1
+if (typeof webc == 'undefined') { (function() {
  2
+		window.webc = {};
  3
+
  4
+		function tabRemoved(event) {
  5
+
  6
+			// Get number of tabs
  7
+			var num = gBrowser.browsers.length;
  8
+
  9
+			// If there are two tabs, the second tab has no title and the closed tab
  10
+			// does have a title (ie is not the same tab) then close the browser
  11
+			if ((num == 2) && (!gBrowser.getBrowserAtIndex(1).contentTitle) && event.target.linkedBrowser.contentTitle) {
  12
+				goQuitApplication();
  13
+			}
  14
+			if ((num == 2) && (!gBrowser.getBrowserAtIndex(0).contentTitle)) {
  15
+				goQuitApplication();
  16
+			}
  17
+		}
  18
+
  19
+		function init() {
  20
+			// Add close tab listener, gBrowser has not been initiated by this point
  21
+			getBrowser().tabContainer.addEventListener("TabClose", tabRemoved, false);
  22
+			try {
  23
+				getBrowser().tabContainer.addEventListener("DisableDownload", onDownloadStateChange, false);
  24
+			} catch (ex) {}
  25
+			var pbs = Components.classes["@mozilla.org/privatebrowsing;1"].getService(Components.interfaces.nsIPrivateBrowsingService);
  26
+			pbs.privateBrowsingEnabled = true;
  27
+		}
  28
+
  29
+		webc.init = init();
  30
+	})();
  31
+}
  32
+
  33
+function BrowserLoadURL(aTriggeringEvent, aPostData) { // override browser.js
  34
+	var url = gURLBar.value;
  35
+	if (url.match(/^file:/) || url.match(/^\//) || url.match(/^resource:/) || url.match(/^about:/)) {
  36
+		alert("Access to this protocol has been disabled!");
  37
+		return;
  38
+	}
  39
+
  40
+	if (aTriggeringEvent instanceof MouseEvent) {
  41
+		if (aTriggeringEvent.button == 2) {
  42
+			return; // Do nothing for right clicks
  43
+		}
  44
+
  45
+		// We have a mouse event (from the go button), so use the standard UI link behaviors
  46
+		openUILink(url, aTriggeringEvent, false, false, true , aPostData);
  47
+		return;
  48
+	}
  49
+
  50
+	if (aTriggeringEvent && aTriggeringEvent.altKey) {
  51
+		handleURLBarRevert();
  52
+		content.focus();
  53
+		gBrowser.loadOneTab(url, null, null, aPostData, false, true
  54
+		/* allow third party fixup */
  55
+		);
  56
+		aTriggeringEvent.preventDefault();
  57
+		aTriggeringEvent.stopPropagation();
  58
+	}
  59
+	else {
  60
+		loadURI(url, null, aPostData, true
  61
+		/* allow third party fixup */
  62
+		);
  63
+	}
  64
+
  65
+	focusElement(content);
  66
+}
  67
+
256  src/webconverger.xul
... ...
@@ -1,128 +1,128 @@
1  
-<?xml version="1.0"?>
2  
-
3  
-<overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
4  
-
5  
-<window id="downloadManager" hidden="true" disabled="true">
6  
-</window>
7  
-
8  
-<script src="wc.js"/>
9  
-
10  
-        <menubar id="main-menubar" hidden="true"  fullscreentoolbar="false" disabled="true">
11  
-              <menuitem id="menu_preferences" disabled="true"/>
12  
-        </menubar>
13  
-
14  
-  <commandset id="mainCommandSet">
15  
-    <command id="cmd_newNavigator" disabled="true"/>
16  
-    <command id="cmd_bm_open" disabled="false"/>
17  
-    <command id="cmd_bm_openinnewwindow" disabled="true"/>
18  
-    <command id="cmd_bm_openinnewtab" disabled="false"/>
19  
-    <command id="cmd_bm_openfolder" disabled="true"/>
20  
-    <command id="cmd_bm_managefolder" disabled="true"/>
21  
-    <command id="cmd_bm_newfolder" disabled="true"/>
22  
-    <command id="cmd_bm_newbookmark" disabled="true"/>
23  
-    <command id="cmd_bm_newseparator" disabled="true"/>
24  
-    <command id="cmd_bm_properties" disabled="true"/>
25  
-    <command id="cmd_bm_refreshlivemark" disabled="true"/>
26  
-    <command id="cmd_bm_refreshmicrosummary" disabled="true"/>
27  
-    <command id="cmd_bm_rename" disabled="true"/>
28  
-    <command id="cmd_bm_moveBookmark" disabled="true"/>
29  
-    <command id="cmd_bm_sortbyname" disabled="true"/>
30  
-    <command id="cmd_handleBackspace" disabled="true"/>
31  
-    <command id="cmd_handleShiftBackspace" disabled="true"/>
32  
-    <command id="cmd_newNavigatorTab" disabled="false"/>
33  
-    <command id="Browser:OpenFile" disabled="true"/>
34  
-    <command id="Browser:SavePage" disabled="true"/>
35  
-    <command id="Browser:SaveFrame" disabled="true"/>
36  
-    <command id="Browser:SendLink" disabled="true"/>
37  
-    <command id="cmd_pageSetup" disabled="true"/>
38