https://wiki.mozilla.org/api.php?action=feedcontributions&user=Maat&feedformat=atomMozillaWiki - User contributions [en]2024-03-28T12:17:01ZUser contributionsMediaWiki 1.27.4https://wiki.mozilla.org/index.php?title=Prism&diff=121545Prism2008-12-21T09:34:29Z<p>Maat: /* Wishlist */</p>
<hr />
<div>Prism is a simple XULRunner based browser that hosts web applications without the normal web browser user interface. Prism is based on a concept called Site Specific Browsers (SSB). An SSB is an application with an embedded browser designed to work exclusively with a single web application. It doesn’t have the menus, toolbars and accoutrements of a normal web browser. Some people have called it a "[http://www.hawkwings.net/2006/05/13/a-dedicated-distraction-free-browser-for-gmail/ distraction free browser]" because none of the typical browser chrome is used. An SSB also has a tighter integration with the OS and desktop than a typical web application running through a web browser.<br />
<br />
<div class="note">WebRunner has become [http://labs.mozilla.com/2007/10/prism/ Prism], a Mozilla Labs project. Find more discussion in the Prism [https://labs.mozilla.com/forum/index.php/board,16.0.html user feedback forum].</div><br />
<br />
== Prism / SSB Objectives ==<br />
Looking at what has already been done and discussed about desktop/webapp integration, the following is a suggested roadmap for SSB experimentation:<br />
* '''Separate process:''' When the webapp goes down or locks up, I don’t want anything else affected. Thankfully, Firefox does have session restore, but that is beside the point. When I open many tabs and have several webapps running in a browser, things get slow and unstable after a day or two.<br />
* '''Minimal UI:''' A generic browser UI is not needed for webapps. If any UI is present, make it specific to the webapp I am using.<br />
* '''Basic desktop integration:''' Create shortcuts to start the webapp, add ability to show specialized icons in the tray or dock and ability to display notifications.<br />
* '''Platform with extensions:''' I don’t want to download a full browser runtime for each webapp. I do want to be able to add some custom code/features that are not directly supported in the webapp. I should be able to install one runtime and then get packages or extensions for each webapp. Think Firefox extensions or Greasemonkey scripts. These extensions should be able to tweak the SSB UI as well.<br />
* '''Open external links in real browser:''' If I click a link in the webapp that opens a new site, don’t change my webapp browser window. Open all external links in my default/real browser.<br />
<br />
* [[Prism/FAQ | Prism FAQ]]<br />
<br />
== Current Features ==<br />
* Window title tracking<br />
* Context menu for basic clipboard and selection operations<br />
* Simple Print support via context menu<br />
* About support via context menu which is useful for checking the XULRunner runtime version<br />
* Launch Prism with commandline parameters to host specific webapps<br />
* Web application profile support - parameters for a web app can be saved to an INI-style *.webapp file<br />
* Support for webapp owned popup windows - some email webapps can use a popup to compose email<br />
* Show float-over link destinations in the statusbar so users can see where the link will take them<br />
* Support download manager<br />
* Support for inline spellcheck and suggestions on context menu<br />
* A tool to create new webapp profiles so new webapps can be installed from Prism<br />
* An extension to allow Firefox to create webapp profiles since most of this process starts in the browser<br />
<br />
== Wishlist ==<br />
* Add Taskbar icon representation option for the web applications.<br />
* Add one instance behavior in order for the shortcuts to bring the web app to view rather than open a second window.<br />
* Add menus for page setup, open profile and work offline<br />
* Add support for form field autocompletion, like Firefox<br />
* Enable extension support so Prism can be tweaked or enhanced. Also, webapps themselves can be tweaked by extensions<br />
* Create some form of adjusting preferences (about:config?). For instance, I had to add the code below in webruner-prefs.js to adjust proxy<br />
<br />
pref("network.proxy.autoconfig_url", "http://autoproxy.url.pac");<br />
pref("network.proxy.type", 2)<br />
<br />
::: using a parameter in the .webapp file would be the best solution :<br />
<br />
proxy=http://myname:mypassword@myproxy:3128/<br />
<br />
::: but you could also have a sort of "Registry Editor" webapp (just create one with about:config as the URL--maybe keep it in the Prism shortcuts, rather than the webapp ones)<br />
<br />
* Add url/domain/subdomain restriction (external links won't work) ''give more detail on the discussion page''<br />
* Add ability to open external links with other browsers (Firefox/Konqueror/IE/etc.) ''this should be working now - give more detail on the discussion page''<br />
* Add ability to have entire software and webapp run from a USB memory device for roaming use.<br />
* Possibility of full screen mode<br />
* Find box<br />
* Use webpage (favicon) icon instead of prism icon<br />
* Navigation with Alt + mouse scroll wheel is working, even if navigation is disabled in webapp.ini. Maybe it should be like in firefox Shift + mouse scroll wheel when navigation is enabled.<br />
* Navigation with mouse gestures. A left-click, hold and move cursor to the left would signify a Back page request on a left-click, hold and move cursor to the right would be forward. Others such as to the top left corner to signify minimize window. This would enable the use of touch-screen kiosks without keyboard or mouse attached.<br />
* <del>More robust command line handling. It would be nice be able to simply type one of these:<br />
webrunner gmail.webapp<br />
webrunner https://mail.google.com/mail</del> - Nope<br />
* Updater like firefox that tells you when a new version of webrunner has been released.<br />
* Add something to configure and block advertisement.<br />
* Back, forward (history) and reload buttons are necessary.<br />
* Support for increasing and decreasing text size (ctrl++ and ctrl--)<br />
* Menu option - 'Preferences'<br />
* Option to load "sidebar services", what I mean by this is the option to load services which are meant to load in sidebar (google Chat and google Notebook have specific webpages for the sidebar for example) and which will load in prism as a fixed size window on the left of the screen (and best would be that maximized windows will stay right of it)<br />
* Configuration option to sandbox a webapp so it doesn't share cookies with other webapps in the same Prism. This could allow multiple Google apps to be open with different accounts (a@gmail.com Gmail; b@msn.com for Reader; c@hostedgmail.com for Hosted Gmail).<br />
* Detection of window close ( user clicks the X button ) with JavaScript. Existing ways to detect browser closure are not reliable and in the context of an app it is essential. Detection of window minimize/restore might be useful as well ( like in a real desktop app... )<br />
* Better shell integration: Most options should be accessible via command line and --help should print out something usable.<br />
* Add ability to configure/clear private data (cookies, history, passwords, etc.)<br />
* NTLM Authentification like "network.automatic-ntlm-auth.trusted-uris" in Firefox<br />
* Minimize to system tray with balloon notifications<br />
* Enable selecting spell checker's language in context menu, or guess it based on LANG environment variable and lang html attribution. (As of 0.8 it always uses US English.)<br />
<br />
'''Security for use in Computer-Based Exams - Traagoob - 19 July 2008'''<br />
* A toggle-option that locks down the SSB to a registered domain name. For example, an SSB set to w3schools.com would allow links to any higher-level domain name (e.g., www.w3schools.com) or folder (e.g., www.w3schools.com/xml/), but not allow vectoring to another domain name such as google.com. Currently, an SSB set to w3schools.com will vector to www.google.com if the user enters that url into the site's site-search box. At that point the examinee is free to explore unauthorized sites during the examination.<br />
* A toggle-option to restrict starting a regular browser. This is possible if the directory names for the regular browsers are modified, but it would be nicer if the SSB could manage this.<br />
<br />
== Web Application Bundles ==<br />
A web application [[Prism/Bundle | bundle]] is a zip archive that holds a [[Prism/Config | configuration]] file, icons and an optional webapp JS [[Prism/Scripting | script]]. The profile can be used to launch and install the webapp in Prism:<br />
<br />
<code>prism -webapp [webapp-bundle]</code><br />
<br />
Whenever a web application has been launched / installed using the above command line and the webapp [[Prism/Config | configuration]] has an '''ID''' parameter, the web application is unpacked into the Prism profile folder and can be launched directly using:<br />
<br />
<code>prism -webapp [webapp-id]</code><br />
<br />
Here is a simple [[Prism/Bundle#HowTo | how-to]] for building a basic web application bundle.<br />
<br />
See: [[Prism/Bundle]]<br />
<br />
== Web Application Configuration ==<br />
A webapp bundle should contain a webapp.ini [[Prism/Config | configuration]] file. The configuration file is a simple, INI-style text file that specifies some parameters about a web application. <br />
<br />
See: [[Prism/Config]]<br />
<br />
== Web Application Script ==<br />
Some Prism-based web applications may want to tweak the behavior or add desktop-ish features to the webapp. Prism supports a simple [[Prism/Scripting | scripting]] system that can be used to add custom JS script to the Prism chrome [[Prism/HostWindow | host]], but not the webcontent itself.<br />
<br />
<div class="note"> In the future, the webapp script may have lower privileges. We are looking into the security aspects of the higher privilege level.</div><br />
<br />
See: [[Prism/Scripting]]<br />
<br />
== Web Application Styling ==<br />
One of Prism's goals is to make web applications feel more like desktop applications. One way to make the illusion seem more real is to use styling (or theming). Prism supports a simple [[Prism/Styling | styling]] system that allows the user to add CSS files to the webapp [[Prism/Bundle | bundle]].<br />
<br />
See: [[Prism/Styling]]<br />
<br />
== Prism Host Window ==<br />
Prism provides a simple, scaled down browser window for running web applications. Using [[Prism/Config | configuration]] files and webapp [[Prism/Scripting | scripting]], the host window can be modified.<br />
<br />
See: [[Prism/HostWindow]]<br />
<br />
== Installer ==<br />
The installer should configure the OS to associate *.webapp files with Prism. This means that when you double-click or launch a *.webapp file, Prism is launched and automatically opens the web application.<br />
<br />
Current Windows and Mac installs automatically associate *.webapp with Prism.<br />
<br />
One interesting side effect is that after this change, you can select a link to a .webapp file in a Web Page and you get it run by Prism - in IE this runs anywhere, but this won't work in Firefox unless the webapp is being issued with an appropriate MIME type on the server: application/x-webrunner works (see [http://blondechris.com/www/gmail.webapp here] for an example).<br />
<br />
== Installs ==<br />
==== Latest version ====<br />
<br />
Prism is available as an extension for Firefox 3 or as a standalone application.<br />
<br />
* Extension (all platforms): [https://addons.mozilla.org/en-US/firefox/addon/6665 Install from addons.mozilla.org]<br />
* Install (Windows): [http://people.mozilla.com/~mfinkle/prism/prism-0.9.en-US.win32.exe prism-0.9.en-US.win32.exe] (6.6 MB)<br />
* Install (Windows (ZIP)): [http://people.mozilla.com/~mfinkle/prism/prism-0.9.en-US.win32.zip prism-0.9.en-US.win32.zip] (8.5 MB)<br />
* Install (Mac) '''INTEL ONLY''': [http://people.mozilla.com/~mfinkle/prism/prism-0.9.en-US.mac.dmg prism-0.9.en-US.mac.dmg] (11 MB)<br />
* Install (Linux): [http://people.mozilla.com/~mfinkle/prism/prism-0.9.en-US.linux-i686.tar.bz2 prism-0.9.en-US.linux-i686.tar.bz2] (7.9 MB)<br />
* Install (DEB Package): [http://goopackage.googlecode.com/files/prism_0.9.deb prism_0.9.deb] (8.4 MB)<br />
<br />
==== Old version ====<br />
<br />
* Install (Windows): [http://people.mozilla.org/~mfinkle/prism/prism-0.8-win32.exe prism-0.8-win32.exe] (6 MB)<br />
* Install (Mac): [http://people.mozilla.org/~mfinkle/prism/prism-0.8-mac.dmg prism-0.8-mac.dmg] (17MB)<br />
* Install (Linux): [http://people.mozilla.org/~mfinkle/prism/prism-0.8-linux.tar.bz2 prism-0.8-linux.tar.bz2] (8MB)<br />
<br />
''NOTE: "bash: ./prism: No such file or directory" error on 64-bit Linux (Ubuntu Gutsy Gibbon) occurs if you do not have the "ia32-libs" package installed. Installing the package with "sudo aptitude install ia32-libs" resolves the issue.''<br />
<br />
==== Bookmarklet ====<br />
<br />
* Prism Bookmarklet Experiment: [http://prismspectrum.com/bookmarklet/ prismspectrum.com/bookmarklet] (generates webapps on-the-fly via web)<br />
<br />
* [http://prismspectrum.com/refraction/webapps/?C=M;O=D refracted webapps]<br />
<br />
==== Bundles ====<br />
<br />
* Gmail: [http://starkravingfinkle.org/projects/webrunner/gmail.webapp gmail.webapp]<br />
* Google Calendar: [http://starkravingfinkle.org/projects/webrunner/gcalendar.webapp gcalendar.webapp]<br />
* Google Docs: [http://starkravingfinkle.org/projects/webrunner/gdocs.webapp gdocs.webapp]<br />
* Google Groups: [http://starkravingfinkle.org/projects/webrunner/groups.webapp groups.webapp]<br />
* Google Analytics: [http://starkravingfinkle.org/projects/webrunner/ganalytics.webapp ganalytics.webapp]<br />
* Google Reader: [http://starkravingfinkle.org/projects/webrunner/greader.webapp greader.webapp]<br />
* Facebook: [http://starkravingfinkle.org/projects/webrunner/facebook.webapp facebook.webapp]<br />
* Twitter: [http://starkravingfinkle.org/projects/webrunner/twitter.webapp twitter.webapp]<br />
<br />
==== User Contributed Bundles ====<br />
<br />
* 32 online todo lists: [http://internetducttape.com/2007/10/05/distraction-free-gtd-32-todolist-apps/ Zip file with web apps for 32 online todo lists]<br />
* Anywhere.FM: [http://assets.drop.io/download/479ff19d/3505ccf0bffffc1d90329314ad8a4e96a3a9334d/ce89b8d0-b110-012a-aa90-00127994f632/194200e0-b111-012a-a397-f6c1e1d8b557/anywhere.fmprism.app.webapp anywhere.fm@prism.app.webapp] a service that lets you upload your entire music library to their servers and listen from anywhere through a slick flash interface.<br />
* AOL Email : [http://www.mediafire.com/?71btgnbjztc AoLEmail.webapp]<br />
* BBC Radio Player [http://alf.hubmed.org/bbcradioplayer.webapp bbcradioplayer.webapp]<br />
* Bloglines : [http://www.luckydisasters.com/wp-content/uploads/2007/10/bloglines.webapp bloglines.webapp]<br />
* Bloglines Beta: [http://silenceisdefeat.org/~j0ker/beta.bloglines.webapp beta.bloglines.webapp]<br />
* Chandler: [http://stuff.occident.us/chandler.webapp chandler.webapp]<br />
* Flash Earth (integrates all major mapping sites) [http://www.thanscorner.info/wp-content/uploads/2007/10/FlashEarth.webapp FlashEarth.webapp]<br />
* Flickr: [http://william.rawls.googlepages.com/flickr.webapp flickr.webapp]<br />
* Gollum Wikipedia Browser in english:[http://atomic1fire.googlepages.com/Gollum-en.webapp Gollum_en.webapp]<br />
* Google Notebook: [http://william.rawls.googlepages.com/gnote.webapp gnote.webapp]<br />
* Google Page Creator: [http://www.luckydisasters.com/wp-content/uploads/2007/10/google_pagecreator.webapp google_pagecreator.webapp]<br />
* Google Reader + GTalk : [http://www.firefoxstory.com/PRISM-bundle-google-reader-with-gtalk.webapp PRISM-bundle-google-reader-with-gtalk.webapp]<br />
* Google Webmaster Tools: [http://www.luckydisasters.com/wp-content/uploads/2007/10/google_webmastertools.webapp google_webmastertools.webapp]<br />
* GrandCentral Inbox: [http://william.rawls.googlepages.com/grandc.webapp grandc.webapp] (NOTE: GrandCentral requires the Flash plugin. Only way I found to add the flash plugin to WebRunner was to copy my plugins folder from firefox to the webrunner folder. Not the cleanest, but it got all my plugins at once)<br />
* Meebo: [http://thanscorner.info/wp-content/uploads/2007/10/meebo.webapp meebo.webapp] online instant messaging client<br />
* Mibbit: [http://floresg.googlepages.com/www.mibbit.com.webapp mibbit.webapp] online IRC web application<br />
* Miro Guide: [http://silenceisdefeat.org/~j0ker/miroguide.webapp miroguide.webapp]<br />
* Motor0: [http://bakersys.com/files/motor0.webapp motor0.webapp] useful webapp on maintenance and fuel consumptions managment<br />
* Pandora: [http://www.mediafire.com/?zddbirxdg20 pandora.webapp] Internet radio that only plays music you like. (NOTE: new link!)<br />
* Plurk: [http://www.darkcanvas.com/uploads/plurk.webapp plurk.webapp] Social Network utilizing a horizontal time line display and lots of AJAX<br />
* reddit: [http://www.betelgeuse.ch/~mgrueter/prism/reddit.webapp reddit.webapp]<br />
* Remember The Milk: [http://www.betelgeuse.ch/~mgrueter/prism/rtm.webapp rtm.webapp] (NOTE: Should work with Google Gears [http://www.iosart.com/blog/2007/06/05/install-google-gears-in-a-xulrunner-app-in-3-quick-steps/ with some help])<br />
* Rsizr Image Editor [http://www.blogscooper.com/webapps/Rsizr.webapp rsizr.webapp]<br />
* SeeqPod: [http://assets.drop.io/download/479ff19d/c8676867e25684ff7a3cce271850247d4adeab78/ce89b8d0-b110-012a-aa90-00127994f632/fb177670-b112-012a-8985-fc3c183d16d0/seeqpod.webapp seeqpod.webapp] Playable music search engine.<br />
* [http://www.slimtimer.com SlimTimer] Client [http://bryce.schoberfamily.com/files/slimtimer.webapp slimtimer.webapp] a very useful time-tracking tool with a "slim" client<br />
* SpagoBI [http://www.altic.org/demo/spagobi.webapp spagobi.webapp] a Web collaborative Business Intelligence platform<br />
* Streamy [http://www.avinash.ws/wp-content/plugins/download-monitor/download.php?id=3 streamy.webapp] ( [http://www.streamy.com Streamy] is a pretty powerful, next-gen online RSS feed reader. )<br />
* studiVZ: [http://www.betelgeuse.ch/~mgrueter/prism/studivz.webapp studivz.webapp]<br />
* Wassr: [http://wassr.com/help/prism.html wassr.webapp]<br />
* Weightwatchers.com Plan Manager : [http://geekfarmlife.com/misty/weightwatchers.webapp weightwatchers.webapp]<br />
* Yahoo! Mail: [http://www.thingsthemselves.com/webrunner/ymail.webapp ymail.webapp] (note that this fakes a Firefox user agent string while running, which may affect other running web applications.)<br />
<br />
== Contributing ==<br />
* [http://svn.mozilla.org/projects/webrunner/ Source code in SVN]<br />
* Bugzilla (for bugs and suggestions) [https://bugzilla.mozilla.org/buglist.cgi?query_format=advanced&product=Mozilla+Labs&component=Prism&resolution=---&chfieldto=Now open bugs], [https://bugzilla.mozilla.org/enter_bug.cgi?product=Mozilla+Labs&component=Prism enter new bug]<br />
<br />
== Blog Posts ==<br />
[http://ad28.ru/?p=275 Mozilla Prism : Web-приложения на рабочем столе (Russian)]<br><br />
[http://dehamerspace.com/2008/04/18/site-specific-browsers/ Site-Specific Browsers]<br><br />
[http://www.kalaj.org/blog/2008/04/08/how-to-install-flash-player-in-mozilla-prism How to install Flash player in Mozilla Prism]<br><br />
[http://thanscorner.info/archives/2007/mozilla-prism-webrunner-with-a-little-extra-juice ThansCorner: Mozilla Prism - Webrunner with Pazzaz]<br><br />
[http://techtracer.com/2007/10/31/mozilla-prism-a-revolution-in-web-apps/ Mozilla Prism - A Revolution in Web Apps]<br><br />
[http://thanscorner.info/archives/2007/mozilla-webrunner-07 ThansCorner: Mozilla WebRunner 0.7]<br><br />
[http://starkravingfinkle.org/blog/2006/11/site-specific-browers/ Site Specific Browsers]<br><br />
[http://starkravingfinkle.org/blog/2007/03/site-specific-browser-webrunner/ WebRunner]<br><br />
[http://starkravingfinkle.org/blog/2007/03/site-specific-browser-using-webrunner/ Using WebRunner]<br><br />
[http://starkravingfinkle.org/blog/2007/06/webrunner-gears-offline-desktop-reader/ WebRunner + Gears = Offline Desktop Reader]<br><br />
[http://starkravingfinkle.org/blog/2007/07/webrunner-05-now-with-more-power/ WebRunner 0.5]<br><br />
[http://starkravingfinkle.org/blog/2007/07/webrunner-05-mac-support/ WebRunner 0.5 - Mac Support]<br><br />
[http://starkravingfinkle.org/blog/2007/07/webrunner-05-linux-install/ WebRunner 0.5 - Linux Install]<br><br />
[http://indigoflats.blogspot.com/2007/10/webrunner-google-reader-and-google.html WebRunner, Google Reader, and Google Notebook]<br><br />
[http://internetducttape.com/2007/10/05/distraction-free-gtd-32-todolist-apps/ Distraction Free GTD - 32+ web app files for online todo lists]<br><br />
[http://www.blogscooper.com/Mozilla-WebRunner-a-one-window-tabless-browser-with-no-URL-bar/ Mozilla WebRunner: a one-window, tabless browser with no URL bar]<br><br />
[http://starkravingfinkle.org/blog/2007/10/webrunner-becomes-prism-a-mozilla-labs-project/ WebRunner becomes Prism - A Mozilla Labs Project]<br><br />
[http://labs.mozilla.com/2007/10/prism/ Mozilla Labs: Prism]<br><br />
[http://blog.mozilla.com/faaborg/2007/10/24/prism/ Alex Faaborg: Prism]<br><br />
[http://www.blogscooper.com/Mozilla-Prism-Bringing-Web-Apps-to-the-Desktop/ Mozilla Prism: Bringing Web Apps to the Desktop]<br><br />
[http://www.christianmontoya.com/2007/12/16/everyone-should-use-site-specific-browsers/ Everyone should use Site Specific Browsers]<br><br />
[http://abraham.wordpress.com/2007/10/29/mozilla-prism-portable/ Mozilla Prism Portable (Spanish)]<br><br />
[http://www.firefoxstory.com/2007/10/prism-lavenir-des-applications-web.html Prism, l'avenir des applications Web selon Mozilla (French)]<br><br />
[http://www.firefoxstory.com/2007/11/mozilla-prism-bundle-google-reader-talk.html Mozilla Prism : bundle custom Google Reader + Talk (French)]<br><br />
[http://arthuran.net/node/34/mozilla-prism Mozilla Prism : arthuran.net (Thai)]</div>Maathttps://wiki.mozilla.org/index.php?title=Prism&diff=121544Prism2008-12-21T09:31:31Z<p>Maat: /* Wishlist */ configurable spell checker</p>
<hr />
<div>Prism is a simple XULRunner based browser that hosts web applications without the normal web browser user interface. Prism is based on a concept called Site Specific Browsers (SSB). An SSB is an application with an embedded browser designed to work exclusively with a single web application. It doesn’t have the menus, toolbars and accoutrements of a normal web browser. Some people have called it a "[http://www.hawkwings.net/2006/05/13/a-dedicated-distraction-free-browser-for-gmail/ distraction free browser]" because none of the typical browser chrome is used. An SSB also has a tighter integration with the OS and desktop than a typical web application running through a web browser.<br />
<br />
<div class="note">WebRunner has become [http://labs.mozilla.com/2007/10/prism/ Prism], a Mozilla Labs project. Find more discussion in the Prism [https://labs.mozilla.com/forum/index.php/board,16.0.html user feedback forum].</div><br />
<br />
== Prism / SSB Objectives ==<br />
Looking at what has already been done and discussed about desktop/webapp integration, the following is a suggested roadmap for SSB experimentation:<br />
* '''Separate process:''' When the webapp goes down or locks up, I don’t want anything else affected. Thankfully, Firefox does have session restore, but that is beside the point. When I open many tabs and have several webapps running in a browser, things get slow and unstable after a day or two.<br />
* '''Minimal UI:''' A generic browser UI is not needed for webapps. If any UI is present, make it specific to the webapp I am using.<br />
* '''Basic desktop integration:''' Create shortcuts to start the webapp, add ability to show specialized icons in the tray or dock and ability to display notifications.<br />
* '''Platform with extensions:''' I don’t want to download a full browser runtime for each webapp. I do want to be able to add some custom code/features that are not directly supported in the webapp. I should be able to install one runtime and then get packages or extensions for each webapp. Think Firefox extensions or Greasemonkey scripts. These extensions should be able to tweak the SSB UI as well.<br />
* '''Open external links in real browser:''' If I click a link in the webapp that opens a new site, don’t change my webapp browser window. Open all external links in my default/real browser.<br />
<br />
* [[Prism/FAQ | Prism FAQ]]<br />
<br />
== Current Features ==<br />
* Window title tracking<br />
* Context menu for basic clipboard and selection operations<br />
* Simple Print support via context menu<br />
* About support via context menu which is useful for checking the XULRunner runtime version<br />
* Launch Prism with commandline parameters to host specific webapps<br />
* Web application profile support - parameters for a web app can be saved to an INI-style *.webapp file<br />
* Support for webapp owned popup windows - some email webapps can use a popup to compose email<br />
* Show float-over link destinations in the statusbar so users can see where the link will take them<br />
* Support download manager<br />
* Support for inline spellcheck and suggestions on context menu<br />
* A tool to create new webapp profiles so new webapps can be installed from Prism<br />
* An extension to allow Firefox to create webapp profiles since most of this process starts in the browser<br />
<br />
== Wishlist ==<br />
* Add Taskbar icon representation option for the web applications.<br />
* Add one instance behavior in order for the shortcuts to bring the web app to view rather than open a second window.<br />
* Add menus for page setup, open profile and work offline<br />
* Add support for form field autocompletion, like Firefox<br />
* Enable extension support so Prism can be tweaked or enhanced. Also, webapps themselves can be tweaked by extensions<br />
* Create some form of adjusting preferences (about:config?). For instance, I had to add the code below in webruner-prefs.js to adjust proxy<br />
<br />
pref("network.proxy.autoconfig_url", "http://autoproxy.url.pac");<br />
pref("network.proxy.type", 2)<br />
<br />
::: using a parameter in the .webapp file would be the best solution :<br />
<br />
proxy=http://myname:mypassword@myproxy:3128/<br />
<br />
::: but you could also have a sort of "Registry Editor" webapp (just create one with about:config as the URL--maybe keep it in the Prism shortcuts, rather than the webapp ones)<br />
<br />
* Add url/domain/subdomain restriction (external links won't work) ''give more detail on the discussion page''<br />
* Add ability to open external links with other browsers (Firefox/Konqueror/IE/etc.) ''this should be working now - give more detail on the discussion page''<br />
* Add ability to have entire software and webapp run from a USB memory device for roaming use.<br />
* Possibility of full screen mode<br />
* Find box<br />
* Use webpage (favicon) icon instead of prism icon<br />
* Navigation with Alt + mouse scroll wheel is working, even if navigation is disabled in webapp.ini. Maybe it should be like in firefox Shift + mouse scroll wheel when navigation is enabled.<br />
* Navigation with mouse gestures. A left-click, hold and move cursor to the left would signify a Back page request on a left-click, hold and move cursor to the right would be forward. Others such as to the top left corner to signify minimize window. This would enable the use of touch-screen kiosks without keyboard or mouse attached.<br />
* <del>More robust command line handling. It would be nice be able to simply type one of these:<br />
webrunner gmail.webapp<br />
webrunner https://mail.google.com/mail</del> - Nope<br />
* Updater like firefox that tells you when a new version of webrunner has been released.<br />
* Add something to configure and block advertisement.<br />
* Back, forward (history) and reload buttons are necessary.<br />
* Support for increasing and decreasing text size (ctrl++ and ctrl--)<br />
* Menu option - 'Preferences'<br />
* Option to load "sidebar services", what I mean by this is the option to load services which are meant to load in sidebar (google Chat and google Notebook have specific webpages for the sidebar for example) and which will load in prism as a fixed size window on the left of the screen (and best would be that maximized windows will stay right of it)<br />
* Configuration option to sandbox a webapp so it doesn't share cookies with other webapps in the same Prism. This could allow multiple Google apps to be open with different accounts (a@gmail.com Gmail; b@msn.com for Reader; c@hostedgmail.com for Hosted Gmail).<br />
* Detection of window close ( user clicks the X button ) with JavaScript. Existing ways to detect browser closure are not reliable and in the context of an app it is essential. Detection of window minimize/restore might be useful as well ( like in a real desktop app... )<br />
* Better shell integration: Most options should be accessible via command line and --help should print out something usable.<br />
* Add ability to configure/clear private data (cookies, history, passwords, etc.)<br />
* NTLM Authentification like "network.automatic-ntlm-auth.trusted-uris" in Firefox<br />
* Minimize to system tray with balloon notifications<br />
'''Security for use in Computer-Based Exams - Traagoob - 19 July 2008'''<br />
* A toggle-option that locks down the SSB to a registered domain name. For example, an SSB set to w3schools.com would allow links to any higher-level domain name (e.g., www.w3schools.com) or folder (e.g., www.w3schools.com/xml/), but not allow vectoring to another domain name such as google.com. Currently, an SSB set to w3schools.com will vector to www.google.com if the user enters that url into the site's site-search box. At that point the examinee is free to explore unauthorized sites during the examination.<br />
* A toggle-option to restrict starting a regular browser. This is possible if the directory names for the regular browsers are modified, but it would be nicer if the SSB could manage this.<br />
* Enable selecting spell checker's language in context menu, or guess it based on LANG environment variable and lang html attribution. (As of 0.8 it always uses US English.)<br />
<br />
== Web Application Bundles ==<br />
A web application [[Prism/Bundle | bundle]] is a zip archive that holds a [[Prism/Config | configuration]] file, icons and an optional webapp JS [[Prism/Scripting | script]]. The profile can be used to launch and install the webapp in Prism:<br />
<br />
<code>prism -webapp [webapp-bundle]</code><br />
<br />
Whenever a web application has been launched / installed using the above command line and the webapp [[Prism/Config | configuration]] has an '''ID''' parameter, the web application is unpacked into the Prism profile folder and can be launched directly using:<br />
<br />
<code>prism -webapp [webapp-id]</code><br />
<br />
Here is a simple [[Prism/Bundle#HowTo | how-to]] for building a basic web application bundle.<br />
<br />
See: [[Prism/Bundle]]<br />
<br />
== Web Application Configuration ==<br />
A webapp bundle should contain a webapp.ini [[Prism/Config | configuration]] file. The configuration file is a simple, INI-style text file that specifies some parameters about a web application. <br />
<br />
See: [[Prism/Config]]<br />
<br />
== Web Application Script ==<br />
Some Prism-based web applications may want to tweak the behavior or add desktop-ish features to the webapp. Prism supports a simple [[Prism/Scripting | scripting]] system that can be used to add custom JS script to the Prism chrome [[Prism/HostWindow | host]], but not the webcontent itself.<br />
<br />
<div class="note"> In the future, the webapp script may have lower privileges. We are looking into the security aspects of the higher privilege level.</div><br />
<br />
See: [[Prism/Scripting]]<br />
<br />
== Web Application Styling ==<br />
One of Prism's goals is to make web applications feel more like desktop applications. One way to make the illusion seem more real is to use styling (or theming). Prism supports a simple [[Prism/Styling | styling]] system that allows the user to add CSS files to the webapp [[Prism/Bundle | bundle]].<br />
<br />
See: [[Prism/Styling]]<br />
<br />
== Prism Host Window ==<br />
Prism provides a simple, scaled down browser window for running web applications. Using [[Prism/Config | configuration]] files and webapp [[Prism/Scripting | scripting]], the host window can be modified.<br />
<br />
See: [[Prism/HostWindow]]<br />
<br />
== Installer ==<br />
The installer should configure the OS to associate *.webapp files with Prism. This means that when you double-click or launch a *.webapp file, Prism is launched and automatically opens the web application.<br />
<br />
Current Windows and Mac installs automatically associate *.webapp with Prism.<br />
<br />
One interesting side effect is that after this change, you can select a link to a .webapp file in a Web Page and you get it run by Prism - in IE this runs anywhere, but this won't work in Firefox unless the webapp is being issued with an appropriate MIME type on the server: application/x-webrunner works (see [http://blondechris.com/www/gmail.webapp here] for an example).<br />
<br />
== Installs ==<br />
==== Latest version ====<br />
<br />
Prism is available as an extension for Firefox 3 or as a standalone application.<br />
<br />
* Extension (all platforms): [https://addons.mozilla.org/en-US/firefox/addon/6665 Install from addons.mozilla.org]<br />
* Install (Windows): [http://people.mozilla.com/~mfinkle/prism/prism-0.9.en-US.win32.exe prism-0.9.en-US.win32.exe] (6.6 MB)<br />
* Install (Windows (ZIP)): [http://people.mozilla.com/~mfinkle/prism/prism-0.9.en-US.win32.zip prism-0.9.en-US.win32.zip] (8.5 MB)<br />
* Install (Mac) '''INTEL ONLY''': [http://people.mozilla.com/~mfinkle/prism/prism-0.9.en-US.mac.dmg prism-0.9.en-US.mac.dmg] (11 MB)<br />
* Install (Linux): [http://people.mozilla.com/~mfinkle/prism/prism-0.9.en-US.linux-i686.tar.bz2 prism-0.9.en-US.linux-i686.tar.bz2] (7.9 MB)<br />
* Install (DEB Package): [http://goopackage.googlecode.com/files/prism_0.9.deb prism_0.9.deb] (8.4 MB)<br />
<br />
==== Old version ====<br />
<br />
* Install (Windows): [http://people.mozilla.org/~mfinkle/prism/prism-0.8-win32.exe prism-0.8-win32.exe] (6 MB)<br />
* Install (Mac): [http://people.mozilla.org/~mfinkle/prism/prism-0.8-mac.dmg prism-0.8-mac.dmg] (17MB)<br />
* Install (Linux): [http://people.mozilla.org/~mfinkle/prism/prism-0.8-linux.tar.bz2 prism-0.8-linux.tar.bz2] (8MB)<br />
<br />
''NOTE: "bash: ./prism: No such file or directory" error on 64-bit Linux (Ubuntu Gutsy Gibbon) occurs if you do not have the "ia32-libs" package installed. Installing the package with "sudo aptitude install ia32-libs" resolves the issue.''<br />
<br />
==== Bookmarklet ====<br />
<br />
* Prism Bookmarklet Experiment: [http://prismspectrum.com/bookmarklet/ prismspectrum.com/bookmarklet] (generates webapps on-the-fly via web)<br />
<br />
* [http://prismspectrum.com/refraction/webapps/?C=M;O=D refracted webapps]<br />
<br />
==== Bundles ====<br />
<br />
* Gmail: [http://starkravingfinkle.org/projects/webrunner/gmail.webapp gmail.webapp]<br />
* Google Calendar: [http://starkravingfinkle.org/projects/webrunner/gcalendar.webapp gcalendar.webapp]<br />
* Google Docs: [http://starkravingfinkle.org/projects/webrunner/gdocs.webapp gdocs.webapp]<br />
* Google Groups: [http://starkravingfinkle.org/projects/webrunner/groups.webapp groups.webapp]<br />
* Google Analytics: [http://starkravingfinkle.org/projects/webrunner/ganalytics.webapp ganalytics.webapp]<br />
* Google Reader: [http://starkravingfinkle.org/projects/webrunner/greader.webapp greader.webapp]<br />
* Facebook: [http://starkravingfinkle.org/projects/webrunner/facebook.webapp facebook.webapp]<br />
* Twitter: [http://starkravingfinkle.org/projects/webrunner/twitter.webapp twitter.webapp]<br />
<br />
==== User Contributed Bundles ====<br />
<br />
* 32 online todo lists: [http://internetducttape.com/2007/10/05/distraction-free-gtd-32-todolist-apps/ Zip file with web apps for 32 online todo lists]<br />
* Anywhere.FM: [http://assets.drop.io/download/479ff19d/3505ccf0bffffc1d90329314ad8a4e96a3a9334d/ce89b8d0-b110-012a-aa90-00127994f632/194200e0-b111-012a-a397-f6c1e1d8b557/anywhere.fmprism.app.webapp anywhere.fm@prism.app.webapp] a service that lets you upload your entire music library to their servers and listen from anywhere through a slick flash interface.<br />
* AOL Email : [http://www.mediafire.com/?71btgnbjztc AoLEmail.webapp]<br />
* BBC Radio Player [http://alf.hubmed.org/bbcradioplayer.webapp bbcradioplayer.webapp]<br />
* Bloglines : [http://www.luckydisasters.com/wp-content/uploads/2007/10/bloglines.webapp bloglines.webapp]<br />
* Bloglines Beta: [http://silenceisdefeat.org/~j0ker/beta.bloglines.webapp beta.bloglines.webapp]<br />
* Chandler: [http://stuff.occident.us/chandler.webapp chandler.webapp]<br />
* Flash Earth (integrates all major mapping sites) [http://www.thanscorner.info/wp-content/uploads/2007/10/FlashEarth.webapp FlashEarth.webapp]<br />
* Flickr: [http://william.rawls.googlepages.com/flickr.webapp flickr.webapp]<br />
* Gollum Wikipedia Browser in english:[http://atomic1fire.googlepages.com/Gollum-en.webapp Gollum_en.webapp]<br />
* Google Notebook: [http://william.rawls.googlepages.com/gnote.webapp gnote.webapp]<br />
* Google Page Creator: [http://www.luckydisasters.com/wp-content/uploads/2007/10/google_pagecreator.webapp google_pagecreator.webapp]<br />
* Google Reader + GTalk : [http://www.firefoxstory.com/PRISM-bundle-google-reader-with-gtalk.webapp PRISM-bundle-google-reader-with-gtalk.webapp]<br />
* Google Webmaster Tools: [http://www.luckydisasters.com/wp-content/uploads/2007/10/google_webmastertools.webapp google_webmastertools.webapp]<br />
* GrandCentral Inbox: [http://william.rawls.googlepages.com/grandc.webapp grandc.webapp] (NOTE: GrandCentral requires the Flash plugin. Only way I found to add the flash plugin to WebRunner was to copy my plugins folder from firefox to the webrunner folder. Not the cleanest, but it got all my plugins at once)<br />
* Meebo: [http://thanscorner.info/wp-content/uploads/2007/10/meebo.webapp meebo.webapp] online instant messaging client<br />
* Mibbit: [http://floresg.googlepages.com/www.mibbit.com.webapp mibbit.webapp] online IRC web application<br />
* Miro Guide: [http://silenceisdefeat.org/~j0ker/miroguide.webapp miroguide.webapp]<br />
* Motor0: [http://bakersys.com/files/motor0.webapp motor0.webapp] useful webapp on maintenance and fuel consumptions managment<br />
* Pandora: [http://www.mediafire.com/?zddbirxdg20 pandora.webapp] Internet radio that only plays music you like. (NOTE: new link!)<br />
* Plurk: [http://www.darkcanvas.com/uploads/plurk.webapp plurk.webapp] Social Network utilizing a horizontal time line display and lots of AJAX<br />
* reddit: [http://www.betelgeuse.ch/~mgrueter/prism/reddit.webapp reddit.webapp]<br />
* Remember The Milk: [http://www.betelgeuse.ch/~mgrueter/prism/rtm.webapp rtm.webapp] (NOTE: Should work with Google Gears [http://www.iosart.com/blog/2007/06/05/install-google-gears-in-a-xulrunner-app-in-3-quick-steps/ with some help])<br />
* Rsizr Image Editor [http://www.blogscooper.com/webapps/Rsizr.webapp rsizr.webapp]<br />
* SeeqPod: [http://assets.drop.io/download/479ff19d/c8676867e25684ff7a3cce271850247d4adeab78/ce89b8d0-b110-012a-aa90-00127994f632/fb177670-b112-012a-8985-fc3c183d16d0/seeqpod.webapp seeqpod.webapp] Playable music search engine.<br />
* [http://www.slimtimer.com SlimTimer] Client [http://bryce.schoberfamily.com/files/slimtimer.webapp slimtimer.webapp] a very useful time-tracking tool with a "slim" client<br />
* SpagoBI [http://www.altic.org/demo/spagobi.webapp spagobi.webapp] a Web collaborative Business Intelligence platform<br />
* Streamy [http://www.avinash.ws/wp-content/plugins/download-monitor/download.php?id=3 streamy.webapp] ( [http://www.streamy.com Streamy] is a pretty powerful, next-gen online RSS feed reader. )<br />
* studiVZ: [http://www.betelgeuse.ch/~mgrueter/prism/studivz.webapp studivz.webapp]<br />
* Wassr: [http://wassr.com/help/prism.html wassr.webapp]<br />
* Weightwatchers.com Plan Manager : [http://geekfarmlife.com/misty/weightwatchers.webapp weightwatchers.webapp]<br />
* Yahoo! Mail: [http://www.thingsthemselves.com/webrunner/ymail.webapp ymail.webapp] (note that this fakes a Firefox user agent string while running, which may affect other running web applications.)<br />
<br />
== Contributing ==<br />
* [http://svn.mozilla.org/projects/webrunner/ Source code in SVN]<br />
* Bugzilla (for bugs and suggestions) [https://bugzilla.mozilla.org/buglist.cgi?query_format=advanced&product=Mozilla+Labs&component=Prism&resolution=---&chfieldto=Now open bugs], [https://bugzilla.mozilla.org/enter_bug.cgi?product=Mozilla+Labs&component=Prism enter new bug]<br />
<br />
== Blog Posts ==<br />
[http://ad28.ru/?p=275 Mozilla Prism : Web-приложения на рабочем столе (Russian)]<br><br />
[http://dehamerspace.com/2008/04/18/site-specific-browsers/ Site-Specific Browsers]<br><br />
[http://www.kalaj.org/blog/2008/04/08/how-to-install-flash-player-in-mozilla-prism How to install Flash player in Mozilla Prism]<br><br />
[http://thanscorner.info/archives/2007/mozilla-prism-webrunner-with-a-little-extra-juice ThansCorner: Mozilla Prism - Webrunner with Pazzaz]<br><br />
[http://techtracer.com/2007/10/31/mozilla-prism-a-revolution-in-web-apps/ Mozilla Prism - A Revolution in Web Apps]<br><br />
[http://thanscorner.info/archives/2007/mozilla-webrunner-07 ThansCorner: Mozilla WebRunner 0.7]<br><br />
[http://starkravingfinkle.org/blog/2006/11/site-specific-browers/ Site Specific Browsers]<br><br />
[http://starkravingfinkle.org/blog/2007/03/site-specific-browser-webrunner/ WebRunner]<br><br />
[http://starkravingfinkle.org/blog/2007/03/site-specific-browser-using-webrunner/ Using WebRunner]<br><br />
[http://starkravingfinkle.org/blog/2007/06/webrunner-gears-offline-desktop-reader/ WebRunner + Gears = Offline Desktop Reader]<br><br />
[http://starkravingfinkle.org/blog/2007/07/webrunner-05-now-with-more-power/ WebRunner 0.5]<br><br />
[http://starkravingfinkle.org/blog/2007/07/webrunner-05-mac-support/ WebRunner 0.5 - Mac Support]<br><br />
[http://starkravingfinkle.org/blog/2007/07/webrunner-05-linux-install/ WebRunner 0.5 - Linux Install]<br><br />
[http://indigoflats.blogspot.com/2007/10/webrunner-google-reader-and-google.html WebRunner, Google Reader, and Google Notebook]<br><br />
[http://internetducttape.com/2007/10/05/distraction-free-gtd-32-todolist-apps/ Distraction Free GTD - 32+ web app files for online todo lists]<br><br />
[http://www.blogscooper.com/Mozilla-WebRunner-a-one-window-tabless-browser-with-no-URL-bar/ Mozilla WebRunner: a one-window, tabless browser with no URL bar]<br><br />
[http://starkravingfinkle.org/blog/2007/10/webrunner-becomes-prism-a-mozilla-labs-project/ WebRunner becomes Prism - A Mozilla Labs Project]<br><br />
[http://labs.mozilla.com/2007/10/prism/ Mozilla Labs: Prism]<br><br />
[http://blog.mozilla.com/faaborg/2007/10/24/prism/ Alex Faaborg: Prism]<br><br />
[http://www.blogscooper.com/Mozilla-Prism-Bringing-Web-Apps-to-the-Desktop/ Mozilla Prism: Bringing Web Apps to the Desktop]<br><br />
[http://www.christianmontoya.com/2007/12/16/everyone-should-use-site-specific-browsers/ Everyone should use Site Specific Browsers]<br><br />
[http://abraham.wordpress.com/2007/10/29/mozilla-prism-portable/ Mozilla Prism Portable (Spanish)]<br><br />
[http://www.firefoxstory.com/2007/10/prism-lavenir-des-applications-web.html Prism, l'avenir des applications Web selon Mozilla (French)]<br><br />
[http://www.firefoxstory.com/2007/11/mozilla-prism-bundle-google-reader-talk.html Mozilla Prism : bundle custom Google Reader + Talk (French)]<br><br />
[http://arthuran.net/node/34/mozilla-prism Mozilla Prism : arthuran.net (Thai)]</div>Maat