Permalink
Browse files

cleaned up and in a good state

  • Loading branch information...
1 parent c7fee09 commit 569f7db35d333b20fa00eab794f9133213840607 @kaihendry kaihendry committed Jan 4, 2012
Showing with 159 additions and 178 deletions.
  1. +1 −1 Makefile
  2. +5 −7 README.md
  3. +18 −1 defaults/preferences/prefs.js
  4. +0 −6 install.rdf
  5. +68 −94 src/webcfullscreen.css
  6. +3 −3 src/webcnoaddressbar.css
  7. +64 −66 src/webconverger.css
View
2 Makefile
@@ -13,6 +13,6 @@ clean:
rm -rf *.xpi content/wc.css content/wc.xul content/wc.js
upload:
- scp *.xpi webconverger.com:webconverger.com/xpis/
+ rsync *.xpi webconverger.com:webconverger.com/xpis/
.PHONY: clean all
View
12 README.md
@@ -2,8 +2,7 @@
The common idea is to limit the Firefox browser to functions for kiosk style
browsing. We aim to limit most features to convey simplicity, familiarity and
-[principle of least
-astonishment](http://en.wikipedia.org/wiki/Principle_of_least_astonishment).
+[principle of least astonishment](http://en.wikipedia.org/wiki/Principle_of_least_astonishment).
There are three chrome flavours of this extension generated by the Makefile.
@@ -15,7 +14,7 @@ webcnoaddressbar is the common customised option for [Webconverger
purchases](http://webconverger.com/buy). There is no addressbar or search bar,
hence kiosk users are limited to the homepage and what the homepage links to.
-webconverger is default chrome which has a URL for users to navigate anywhere.
+Option (2) "webconverger" is the default chrome which has a URL for users to navigate anywhere.
webcfullscreen is for full screen digital signage, for example a this chrome
option combined with a homepage set to a [departure
@@ -26,11 +25,10 @@ provide an adequate solution to inform the travelling public at a station.
Besides the ones mentioned on <http://webconverger.org/kiosk/>
-webcnoaddressbar seems to have a faded out Back/Forward buttons and no Refresh/Stop buttons, in Firefox 8.
+* Disable tab groups (confusing feature)
+* Disable dragging of tabs
-* <https://bugzilla.mozilla.org/show_bug.cgi?id=711105>
-
-# Mozilla addons
+## Mozilla addons
<https://addons.mozilla.org/en-US/firefox/addon/webconverger/> needs to be fixed.
View
19 defaults/preferences/prefs.js
@@ -41,4 +41,21 @@ pref("browser.link.open_newwindow", 3);
pref("browser.link.open_external",3);
pref("browser.link.open_newwindow.restriction", 0);
-pref("browser.tabs.closeButtons", 3);
+// Disable for http://git.webconverger.org/?p=webconverger-base;a=blob;f=home/webc/iwcloseconfig.sh;
+// pref("browser.tabs.closeButtons", 3);
+
+// Defence in depth
+pref("browser.sessionstore.enabled", false);
+pref("browser.sessionstore.resume_from_crash", false);
+pref("xpinstall.enabled", false);
+pref("privateBrowsingEnabled", true);
+pref("browser.privatebrowsing.autostart", true);
+pref("browser.privatebrowsing.dont_prompt_on_enter", true);
+pref("privacy.sanitize.sanitizeOnShutdown", true);
+pref("privacy.clearOnShutdown.offlineApps", true);
+pref("privacy.clearOnShutdown.passwords", true);
+pref("privacy.clearOnShutdown.siteSettings", true);
+// cpd = Clear Private Data
+pref("privacy.cpd.offlineApps", true);
+pref("privacy.cpd.passwords", true);
+pref("privacy.sanitize.sanitizeOnShutdown", true);
View
6 install.rdf
@@ -15,12 +15,6 @@
<em:contributor>Jamie Kitson</em:contributor>
<em:homepageURL>http://webconverger.org/kiosk</em:homepageURL>
- <em:file>
- <Description about="urn:mozilla:extension:file:webconverger">
- <em:package>content/</em:package>
- </Description>
- </em:file>
-
<em:targetApplication>
<Description>
<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
View
162 src/webcfullscreen.css
@@ -1,94 +1,68 @@
-/*
- * Webconverger.com
- *
- * Do not remove the @namespace line -- it's required for correct functioning
- */
-@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */
-
-arrowscrollbox,
-#content > tabbox > .tabbrowser-strip,
-#content > tabbox > .tabbrowser-strip > menupopup[anonid="tabContextMenu"],
-#context-back,
-#context-bookmarkframe,
-#context-bookmarklink,
-#context-bookmarkpage,
-#context-searchselect,
-#context-forward,
-#context-keywordfield,
-#context-metadata,
-#context-openframe,
-#context-openframeintab,
-#context-openlink,
-#context-openlinkintab,
-#context-reload,
-#context-reloadframe,
-#context-saveframe,
-#context-saveimage,
-#context-savelink,
-#context-savepage,
-#context-selectall,
-#context-sendimage,
-#context-sendlink,
-#context-sendpage,
-#context-sep-copylink,
-#context-sep-properties,
-#context-sep-selectall,
-#context-sep-stop,
-#context-sep-undo,
-#context-sep-viewbgimage,
-#context-setDesktopBackground,
-#context-stop,
-#context-viewframeinfo,
-#context-viewimageinfo,
-#context-viewframesource,
-#context-viewinfo,
-#context-viewpartialsource-mathml,
-#context-viewpartialsource-selection,
-#context-viewsource,
-#downloadManager,
-#download-monitor,
-#downloads-button,
-#editBookmarkPanel,
-#editBookmarkPanelStarIcon,
-#feed-button,
-#go-button,
-#go-button-stack,
-#go-button-stack,
-#main-menubar,
-menu.bookmark-item,
-menuitem[cmd="bm_openinnewtab"],
-menuitem[command="Browser:SavePage"],
-menuitem[command="cmd_bm_openinnewtab"],
-menuitem[command="cmd_newNavigatorTab"],
-menuitem#context-openlinkintab,
-menuitem[disabled="true"],
-menuitem[disabled="true"] + menuseparator,
-menuitem#miOpenInNewTab,
-menuitem[oncommand="gContextMenu.openFrameInTab();"],
-menuitem.openintabs-menuitem,
-menuitem#openintabs-menuitem,
-#menu_openDownloads,
-menuseparator.openintabs-menuseparator,
-menuseparator#openintabs-menuseparator,
-#menu_ToolsPopup,
-#menu_viewPopup,
-#navigator-toolbox,
-#PersonalToolbar,
-scrollbar,
-scrollbarbutton,
-scrollbox,
-scrollcorner,
-#searchbar,
-#search-container,
-.search-go-button-stack,
-slider,
-#star-button,
-#status-bar,
-#throbber-box,
-thumb,
-toolbarbutton.bookmark-item,
-#toolbar-context-menu,
-#toolbar-menubar,
-#unknownContentType,
-#urlbar,
-#urlbar > .autocomplete-history-dropmarker { display: none !important;}
+/*
+ * Webconverger.com
+ *
+ * Do not remove the @namespace line -- it's required for correct functioning
+ */
+@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
+
+#apmenu-button,
+#bookmarks-menu-button,
+#content > tabbox > .tabbrowser-strip > menupopup[anonid="tabContextMenu"],
+#context-bookmarkframe,
+#context-bookmarklink,
+#context-bookmarkpage,
+#context-keywordfield,
+#context-metadata,
+#context-openframe,
+#context-openframeintab,
+#context-openlink,
+#context-openlinkintab,
+#context-reload,
+#context-reloadframe,
+#context-saveframe,
+#context-saveimage,
+#context-savelink,
+#context-savepage,
+#context-selectall,
+#context-sendimage,
+#context-sendlink,
+#context-sendpage,
+#context-sep-copylink,
+#context-sep-properties,
+#context-sep-selectall,
+#context-sep-stop,
+#context-sep-undo,
+#context-sep-viewbgimage,
+#context-setDesktopBackground,
+#context-stop,
+#context-viewframeinfo,
+#context-viewframesource,
+#context-viewimageinfo,
+#context-viewinfo,
+#context-viewpartialsource-mathml,
+#context-viewpartialsource-selection,
+#context-viewsource,
+#downloadManager,
+#download-monitor,
+#downloads-button,
+#editBookmarkPanel,
+#editBookmarkPanelStarIcon,
+#feed-button,
+#go-button,
+#go-button-stack,
+menu.bookmark-item,
+menuitem[command="Browser:SavePage"],
+menuitem[disabled="true"],
+menuitem[disabled="true"] + menuseparator,
+#menu_openDownloads,
+#PersonalToolbar,
+#search-container,
+#star-button,
+#throbber-box,
+toolbarbutton.bookmark-item,
+#toolbar-context-menu,
+#toolbar-menubar,
+#unknownContentType { display: none !important;}
+
+/* webcfullscreen */
+#navigator-toolbox { display: none !important; }
View
6 src/webcnoaddressbar.css
@@ -56,14 +56,14 @@ menuitem[disabled="true"],
menuitem[disabled="true"] + menuseparator,
#menu_openDownloads,
#PersonalToolbar,
-#searchbar,
#search-container,
-.search-go-button-stack,
#star-button,
#throbber-box,
toolbarbutton.bookmark-item,
#toolbar-context-menu,
#toolbar-menubar,
#unknownContentType { display: none !important;}
-#urlbar { visibility: collapse }
+/* webcnoaddressbar */
+#search-container { display: none !important; }
+#urlbar-container { visibility: collapse }
View
130 src/webconverger.css
@@ -1,66 +1,64 @@
-/*
- * Webconverger.com
- *
- * Do not remove the @namespace line -- it's required for correct functioning
- */
-@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
-
-#content > tabbox > .tabbrowser-strip > menupopup[anonid="tabContextMenu"],
-#context-back,
-#context-bookmarkframe,
-#context-bookmarklink,
-#context-bookmarkpage,
-#context-forward,
-#context-keywordfield,
-#context-metadata,
-#context-openframe,
-#context-openframeintab,
-#context-openlink,
-#context-openlinkintab,
-#context-reload,
-#context-reloadframe,
-#context-saveframe,
-#context-saveimage,
-#context-savelink,
-#context-savepage,
-#context-selectall,
-#context-sendimage,
-#context-sendlink,
-#context-sendpage,
-#context-sep-copylink,
-#context-sep-properties,
-#context-sep-selectall,
-#context-sep-stop,
-#context-sep-undo,
-#context-sep-viewbgimage,
-#context-setDesktopBackground,
-#context-stop,
-#context-viewframeinfo,
-#context-viewframesource,
-#context-viewimageinfo,
-#context-viewinfo,
-#context-viewpartialsource-mathml,
-#context-viewpartialsource-selection,
-#context-viewsource,
-#downloadManager,
-#download-monitor,
-#downloads-button,
-#editBookmarkPanel,
-#editBookmarkPanelStarIcon,
-#feed-button,
-#go-button,
-#go-button-stack,
-menu.bookmark-item,
-menuitem[command="Browser:SavePage"],
-menuitem[disabled="true"],
-menuitem[disabled="true"] + menuseparator,
-#menu_openDownloads,
-#PersonalToolbar,
-.search-go-button-stack,
-#star-button,
-#throbber-box,
-toolbarbutton.bookmark-item,
-#toolbar-context-menu,
-#toolbar-menubar,
-#unknownContentType,
-#urlbar > .autocomplete-history-dropmarker { display: none !important;}
+/*
+ * Webconverger.com
+ *
+ * Do not remove the @namespace line -- it's required for correct functioning
+ */
+@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
+
+#apmenu-button,
+#bookmarks-menu-button,
+#content > tabbox > .tabbrowser-strip > menupopup[anonid="tabContextMenu"],
+#context-bookmarkframe,
+#context-bookmarklink,
+#context-bookmarkpage,
+#context-keywordfield,
+#context-metadata,
+#context-openframe,
+#context-openframeintab,
+#context-openlink,
+#context-openlinkintab,
+#context-reload,
+#context-reloadframe,
+#context-saveframe,
+#context-saveimage,
+#context-savelink,
+#context-savepage,
+#context-selectall,
+#context-sendimage,
+#context-sendlink,
+#context-sendpage,
+#context-sep-copylink,
+#context-sep-properties,
+#context-sep-selectall,
+#context-sep-stop,
+#context-sep-undo,
+#context-sep-viewbgimage,
+#context-setDesktopBackground,
+#context-stop,
+#context-viewframeinfo,
+#context-viewframesource,
+#context-viewimageinfo,
+#context-viewinfo,
+#context-viewpartialsource-mathml,
+#context-viewpartialsource-selection,
+#context-viewsource,
+#downloadManager,
+#download-monitor,
+#downloads-button,
+#editBookmarkPanel,
+#editBookmarkPanelStarIcon,
+#feed-button,
+#go-button,
+#go-button-stack,
+menu.bookmark-item,
+menuitem[command="Browser:SavePage"],
+menuitem[disabled="true"],
+menuitem[disabled="true"] + menuseparator,
+#menu_openDownloads,
+#PersonalToolbar,
+#star-button,
+#throbber-box,
+toolbarbutton.bookmark-item,
+#toolbar-context-menu,
+#toolbar-menubar,
+#unknownContentType { display: none !important;}

0 comments on commit 569f7db

Please sign in to comment.