Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tools/xo_bundle/.mozilla/firefox/ukm0hbpm.default/extensions/{4D498D0A-05AD-4fdb-97B5-8A0AABC1FC5B}/chrome/content
diff options
context:
space:
mode:
Diffstat (limited to 'tools/xo_bundle/.mozilla/firefox/ukm0hbpm.default/extensions/{4D498D0A-05AD-4fdb-97B5-8A0AABC1FC5B}/chrome/content')
-rwxr-xr-xtools/xo_bundle/.mozilla/firefox/ukm0hbpm.default/extensions/{4D498D0A-05AD-4fdb-97B5-8A0AABC1FC5B}/chrome/content/rkiosk/contents.rdf33
-rwxr-xr-xtools/xo_bundle/.mozilla/firefox/ukm0hbpm.default/extensions/{4D498D0A-05AD-4fdb-97B5-8A0AABC1FC5B}/chrome/content/rkiosk/rkioskbrowser.js36
-rwxr-xr-xtools/xo_bundle/.mozilla/firefox/ukm0hbpm.default/extensions/{4D498D0A-05AD-4fdb-97B5-8A0AABC1FC5B}/chrome/content/rkiosk/rkioskbrowser.xul143
-rwxr-xr-xtools/xo_bundle/.mozilla/firefox/ukm0hbpm.default/extensions/{4D498D0A-05AD-4fdb-97B5-8A0AABC1FC5B}/chrome/content/rkiosk/rkioskunknownContentType.xul9
-rwxr-xr-xtools/xo_bundle/.mozilla/firefox/ukm0hbpm.default/extensions/{4D498D0A-05AD-4fdb-97B5-8A0AABC1FC5B}/chrome/content/rkiosk/rkioskxpinstallConfirm.xul9
5 files changed, 230 insertions, 0 deletions
diff --git a/tools/xo_bundle/.mozilla/firefox/ukm0hbpm.default/extensions/{4D498D0A-05AD-4fdb-97B5-8A0AABC1FC5B}/chrome/content/rkiosk/contents.rdf b/tools/xo_bundle/.mozilla/firefox/ukm0hbpm.default/extensions/{4D498D0A-05AD-4fdb-97B5-8A0AABC1FC5B}/chrome/content/rkiosk/contents.rdf
new file mode 100755
index 0000000..925b9e2
--- /dev/null
+++ b/tools/xo_bundle/.mozilla/firefox/ukm0hbpm.default/extensions/{4D498D0A-05AD-4fdb-97B5-8A0AABC1FC5B}/chrome/content/rkiosk/contents.rdf
@@ -0,0 +1,33 @@
+<?xml version="1.0"?>
+<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+xmlns:chrome="http://www.mozilla.org/rdf/chrome#">
+
+ <RDF:Seq RDF:about="urn:mozilla:package:root">
+ <RDF:li RDF:resource="urn:mozilla:package:rkiosk"/>
+ </RDF:Seq>
+
+ <RDF:Seq RDF:about="urn:mozilla:overlays">
+ <RDF:li RDF:resource="chrome://browser/content/browser.xul"/>
+ <RDF:li RDF:resource="chrome://mozapps/content/xpinstall/xpinstallConfirm.xul"/>
+ <RDF:li RDF:resource="chrome://mozapps/content/downloads/unknownContentType.xul"/>
+ </RDF:Seq>
+
+ <RDF:Seq RDF:about="chrome://browser/content/browser.xul">
+ <RDF:li>chrome://rkiosk/content/rkioskbrowser.xul</RDF:li>
+ </RDF:Seq>
+ <RDF:Seq RDF:about="chrome://mozapps/content/xpinstall/xpinstallConfirm.xul">
+ <RDF:li>chrome://rkiosk/content/rkioskxpinstallConfirm.xul</RDF:li>
+ </RDF:Seq>
+ <RDF:Seq RDF:about="chrome://mozapps/content/downloads/unknownContentType.xul">
+ <RDF:li>chrome://rkiosk/content/rkioskunknownContentType.xul</RDF:li>
+ </RDF:Seq>
+
+ <RDF:Description RDF:about="urn:mozilla:package:rkiosk"
+ chrome:displayName="R-kiosk (Real Kiosk)"
+ chrome:author="Kimmo Heinaaro, Finland"
+ chrome:name="rkiosk"
+ chrome:extension="true"
+ chrome:description="RKiosk (Real Kiosk), fullscreen kiosk mode: all menus, keys etc. disabled">
+ </RDF:Description>
+
+</RDF:RDF>
diff --git a/tools/xo_bundle/.mozilla/firefox/ukm0hbpm.default/extensions/{4D498D0A-05AD-4fdb-97B5-8A0AABC1FC5B}/chrome/content/rkiosk/rkioskbrowser.js b/tools/xo_bundle/.mozilla/firefox/ukm0hbpm.default/extensions/{4D498D0A-05AD-4fdb-97B5-8A0AABC1FC5B}/chrome/content/rkiosk/rkioskbrowser.js
new file mode 100755
index 0000000..fc16bf1
--- /dev/null
+++ b/tools/xo_bundle/.mozilla/firefox/ukm0hbpm.default/extensions/{4D498D0A-05AD-4fdb-97B5-8A0AABC1FC5B}/chrome/content/rkiosk/rkioskbrowser.js
@@ -0,0 +1,36 @@
+function Rkiosk_donothing()
+{
+
+
+}
+
+function rkioskclose()
+{
+ close();
+}
+
+function Rkiosk_navbar_setting()
+{
+ var rkiosk_navbar_enable="true";
+ var prefs = Components.classes["@mozilla.org/preferences-service;1"].
+ getService(Components.interfaces.nsIPrefBranch);
+ if (prefs.getPrefType("rkiosk.navbar") == prefs.PREF_BOOL){
+ if (prefs.getBoolPref("rkiosk.navbar")) rkiosk_navbar_enable = "false";
+ }
+ var rkiosk_element = document.getElementById("navigator-toolbox");
+ rkiosk_element.setAttribute("hidden", rkiosk_navbar_enable);
+}
+
+function RkioskBrowserStartup()
+{
+ Rkiosk_navbar_setting();
+ window.fullscreen=true;
+ BrowserStartup();
+ //setTimeout(RkioskdelayedStartup, 1000);
+
+}
+
+function RkioskdelayedStartup()
+{
+ window.fullScreen = true;
+}
diff --git a/tools/xo_bundle/.mozilla/firefox/ukm0hbpm.default/extensions/{4D498D0A-05AD-4fdb-97B5-8A0AABC1FC5B}/chrome/content/rkiosk/rkioskbrowser.xul b/tools/xo_bundle/.mozilla/firefox/ukm0hbpm.default/extensions/{4D498D0A-05AD-4fdb-97B5-8A0AABC1FC5B}/chrome/content/rkiosk/rkioskbrowser.xul
new file mode 100755
index 0000000..8845d43
--- /dev/null
+++ b/tools/xo_bundle/.mozilla/firefox/ukm0hbpm.default/extensions/{4D498D0A-05AD-4fdb-97B5-8A0AABC1FC5B}/chrome/content/rkiosk/rkioskbrowser.xul
@@ -0,0 +1,143 @@
+<?xml version="1.0"?>
+
+<overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
+
+<window id="main-window"
+ onload="RkioskBrowserStartup()">
+</window>
+
+<script type="application/x-javascript" src="rkioskbrowser.js"/>
+
+ <menubar id="main-menubar" hidden="true" fullscreentoolbar="false" disabled="true">
+ <menuitem id="menu_preferences" disabled="true"/>
+ </menubar>
+
+ <popup id="contentAreaContextMenu"
+ onpopupshowing="if (event.target != this) return true; return false;"
+ onpopuphiding="if (event.target == this) gContextMenu = null;">
+ </popup>
+
+ <commandset id="mainCommandSet">
+ <command id="cmd_newNavigator" 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="cmd_pageSetup" disabled="true"/>
+ <command id="cmd_print" oncommand="PrintUtils.print();"/>
+ <command id="cmd_printPreview" 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"/>
+ <commandset id="editMenuCommands"/>
+ <command id="View:PageSource" disabled="true"/>
+ <command id="View:PageInfo" disabled="true"/>
+ <command id="View:FullScreen" disabled="true"/>
+ <command id="cmd_find" disabled="true"/>
+ <command id="cmd_findAgain" disabled="true"/>
+ <command id="cmd_findPrevious" disabled="true"/>
+ <command id="Browser:AddBookmarkAs" 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_fullZoomReduce" disabled="true"/>
+ <command id="cmd_fullZoomEnlarge" disabled="true"/>
+ <command id="cmd_fullZoomReset" disabled="true"/>
+ <command id="Browser:OpenLocation" disabled="true"/>
+ <command id="Tools:Search" disabled="true"/>
+ <command id="Tools:Downloads" disabled="true"/>
+ <command id="Tools:Addons" disabled="true"/>
+ <command id="Tools:Sanitize" disabled="true"/>
+ <command id="History:UndoCloseTab" 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_copyLink" disabled="true"/>
+ <command id="cmd_copyImageLocation" disabled="true"/>
+ <command id="cmd_copyImageContents" disabled="true"/>
+ <command id="cmd_undo" disabled="true"/>
+ <command id="cmd_redo" disabled="true"/>
+ <command id="cmd_cut" disabled="true"/>
+ <command id="cmd_copy" disabled="true"/>
+ <command id="cmd_paste" disabled="true"/>
+ <command id="cmd_delete" disabled="true"/>
+ <command id="cmd_selectAll" disabled="true"/>
+ <command id="cmd_switchTextDirection" disabled="true"/>
+ <command id="cmd_textZoomReduce" disabled="true"/>
+ <command id="cmd_textZoomEnlarge" disabled="true"/>
+ <command id="cmd_textZoomReset" disabled="true"/>
+ <command id="Browser:OpenLocation" disabled="true"/>
+ </commandset>
+ <commandset id="placesCommands">
+ <command id="Browser:ShowAllBookmarks" disabled="true"/>
+ <command id="Browser:ShowAllHistory" disabled="true"/>
+ </commandset>
+
+ <keyset id="mainKeyset">
+ <key id="rkiosk_f1" keycode="VK_F1" oncommand="Rkiosk_donothing();"/>
+ <key id="key_newNavigator" disabled="true"/>
+ <key id="key_newNavigatorTab" disabled="true"/>
+ <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="printKb" 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_viewSource" disabled="true"/>
+ <key id="key_find" disabled="true"/>
+ <key id="key_findAgain" disabled="true"/>
+ <key id="key_findPrevious" disabled="true"/>
+ <key id="addBookmarkAsKb" disabled="true"/>
+ <key id="bookmarkAllTabsKb" disabled="true"/>
+ <key id="key_stop" disabled="true"/>
+ <key id="key_gotoHistory" command="Rkiosk_donothing();"/>
+ <key id="key_switchTextDirection" disabled="true"/>
+ <key id="key_sanitize" disabled="true"/>
+ <key id="key_undoCloseTab" disabled="true"/>
+ <key id="viewBookmarksSidebarKb" command="Rkiosk_donothing();"/>
+ <key id="viewBookmarksSidebarWinKb" command="Rkiosk_donothing();"/>
+ <key id="key_fullScreen" disabled="true"/>
+ <key id="key_textZoomReduce" disabled="true"/>
+ <key id="key_textZoomEnlarge" disabled="true"/>
+ <key id="key_textZoomReset" disabled="true"/>
+ <key id="showAllHistoryKb" disabled="true"/>
+ <key id="key_errorConsole" disabled="true"/>
+ <key id="manBookmarkKb" disabled="true"/>
+ <key id="key_fullZoomReduce" disabled="true"/>
+ <key id="key_fullZoomEnlarge" disabled="true"/>
+ <key id="key_fullZoomReset" disabled="true"/>
+ </keyset>
+</overlay> \ No newline at end of file
diff --git a/tools/xo_bundle/.mozilla/firefox/ukm0hbpm.default/extensions/{4D498D0A-05AD-4fdb-97B5-8A0AABC1FC5B}/chrome/content/rkiosk/rkioskunknownContentType.xul b/tools/xo_bundle/.mozilla/firefox/ukm0hbpm.default/extensions/{4D498D0A-05AD-4fdb-97B5-8A0AABC1FC5B}/chrome/content/rkiosk/rkioskunknownContentType.xul
new file mode 100755
index 0000000..faf2381
--- /dev/null
+++ b/tools/xo_bundle/.mozilla/firefox/ukm0hbpm.default/extensions/{4D498D0A-05AD-4fdb-97B5-8A0AABC1FC5B}/chrome/content/rkiosk/rkioskunknownContentType.xul
@@ -0,0 +1,9 @@
+<?xml version="1.0"?>
+
+<overlay>
+ <dialog id="unknownContentType"
+ xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
+ onload="rkioskclose();">
+ <script src="rkioskbrowser.js"/>
+ </dialog>
+</overlay>
diff --git a/tools/xo_bundle/.mozilla/firefox/ukm0hbpm.default/extensions/{4D498D0A-05AD-4fdb-97B5-8A0AABC1FC5B}/chrome/content/rkiosk/rkioskxpinstallConfirm.xul b/tools/xo_bundle/.mozilla/firefox/ukm0hbpm.default/extensions/{4D498D0A-05AD-4fdb-97B5-8A0AABC1FC5B}/chrome/content/rkiosk/rkioskxpinstallConfirm.xul
new file mode 100755
index 0000000..b96dead
--- /dev/null
+++ b/tools/xo_bundle/.mozilla/firefox/ukm0hbpm.default/extensions/{4D498D0A-05AD-4fdb-97B5-8A0AABC1FC5B}/chrome/content/rkiosk/rkioskxpinstallConfirm.xul
@@ -0,0 +1,9 @@
+<?xml version="1.0"?>
+
+<overlay>
+ <dialog id="xpinstallConfirm"
+ xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
+ onload="rkioskclose();">
+ <script src="rkioskbrowser.js"/>
+ </dialog>
+</overlay>