<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Just Browsing &#187; prism</title>
	<atom:link href="http://browsing.justdiscourse.com/tag/prism/feed/" rel="self" type="application/rss+xml" />
	<link>http://browsing.justdiscourse.com</link>
	<description>A narrative on the future of web browsers and web browsing</description>
	<lastBuildDate>Mon, 24 May 2010 17:09:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Prism and the Open Web Store</title>
		<link>http://browsing.justdiscourse.com/2010/05/24/prism-and-the-open-web-store/</link>
		<comments>http://browsing.justdiscourse.com/2010/05/24/prism-and-the-open-web-store/#comments</comments>
		<pubDate>Mon, 24 May 2010 16:04:37 +0000</pubDate>
		<dc:creator>Matthew Gertner</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[mozilla]]></category>
		<category><![CDATA[open web]]></category>
		<category><![CDATA[prism]]></category>

		<guid isPermaLink="false">http://browsing.justdiscourse.com/?p=132</guid>
		<description><![CDATA[Responding to Google&#8217;s announcement last week of a Chrome Web Store, Jay Sullivan asks on the Mozilla Blog for ideas about an alternative Open Web App Store. This is something that I&#8217;ve been thinking about and discussing with Mark Finkle for a couple of years now in the context of Mozilla Prism. In fact, I [...]]]></description>
			<content:encoded><![CDATA[<p>Responding to Google&#8217;s announcement last week of a <a href="https://chrome.google.com/webstore">Chrome Web Store</a>, Jay Sullivan <a href="http://blog.mozilla.com/blog/2010/05/20/an-open-web-app-store/">asks</a> on the Mozilla Blog for ideas about an alternative Open Web App Store. This is something that I&#8217;ve been thinking about and discussing with <a href="http://starkravingfinkle.org/blog/">Mark Finkle</a> for a couple of years now in the context of Mozilla Prism. In fact, I originally wanted to launch the first Prism 1.0 beta with a &#8220;web app bundle library&#8221; that I think closely mirrors what an Open Web App Store might look like (and I <a href="http://browsing.justdiscourse.com/2009/05/11/the-prism-application-ecosystem/">blogged about this</a> over a year ago). While at the time I succumbed to the realities of resource constraints and abandoned the idea, perhaps the time is ripe to revive it.</p>
<p>There is no point in launching a &#8220;web app store&#8221; just for the sake of countering Google&#8217;s move. The web is a pretty good way to distribute web apps already, and if there is going to be a new distribution mechanism, it should have clear advantages over the status quo. In the case of the Chrome Web Store, Google&#8217;s blog post cites a few concrete advantages: easier discovery of quality web apps, increased permissions for installed apps and a new business model for developers (specifically, selling apps directly to users).</p>
<p>Easier discovery is a no-brainer, but of course this could be accomplished by a simple web app directory that links directly to various apps on the web. There&#8217;s no need to &#8220;install&#8221; apps to achieve this. There has to be more to a web app store than this. In particular, I love the idea of charging (optionally) for apps. Developers need to eat, and plastering web pages with ads shouldn&#8217;t be the only way for them to monetize the fruits of their labor. At one point I thought long and hard about starting a business around a marketplace for Prism web app bundles.</p>
<p>So I agree broadly with Google&#8217;s vision for their web store. But we can do better. For one thing, we can be more open, as Jay suggests, rather than using the store to lock users into a specific browser. In addition, we can take advantage of Prism&#8217;s much more mature and technically sophisticated platform for adding value to web apps when they are installed locally. After all, Google is promising to deliver something &#8220;later this year&#8221; whereas Prism web apps like <a href="http://www.zimbra.com/products/desktop.html">Zimbra Desktop</a> are already being used by tens of thousands of users every day.</p>
<p>I&#8217;m proud of what we&#8217;ve achieved so far with Prism despite limited development resources. Now is the time to start experimenting with other ideas as web apps continue to meld with traditional desktop apps. How should web apps be discovered and delivered? What does it mean to &#8220;install&#8221; a web app locally? What new capabilities (and associated APIs) are needed for web apps to rival their desktop equivalents, beyond what is already offered by HTML5? How might a web app payment model function? I believe Prism would be a great vehicle for Mozilla to tease out and play with potential answers to these questions.</p>
]]></content:encoded>
			<wfw:commentRss>http://browsing.justdiscourse.com/2010/05/24/prism-and-the-open-web-store/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Prism 1.0b4, Fixes Rare Windows Registry Issue</title>
		<link>http://browsing.justdiscourse.com/2010/05/05/prism-1-0b4-fixes-rare-windows-registry-issue/</link>
		<comments>http://browsing.justdiscourse.com/2010/05/05/prism-1-0b4-fixes-rare-windows-registry-issue/#comments</comments>
		<pubDate>Wed, 05 May 2010 17:31:15 +0000</pubDate>
		<dc:creator>Matthew Gertner</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[mozilla]]></category>
		<category><![CDATA[prism]]></category>

		<guid isPermaLink="false">http://browsing.justdiscourse.com/?p=129</guid>
		<description><![CDATA[A while back I blogged about a rare issue that occurred if a user clicked on the regprot.exe file included in Prism to handle protocol handler registration. I thought the issue had been fixed ages ago, but a couple of recent reports have led me to believe that it can still occur in some cases, [...]]]></description>
			<content:encoded><![CDATA[<p>A while back I blogged about a <a href="http://browsing.justdiscourse.com/2008/06/14/update-prism-test-version-for-windows/">rare issue</a> that occurred if a user clicked on the regprot.exe file included in Prism to handle protocol handler registration. I thought the issue had been fixed ages ago, but a couple of recent reports have led me to believe that it can still occur in some cases, although I haven&#8217;t been able to reproduce it on my computer. This is obviously a serious problem even if it only occurs in unusual circumstances when the user clicks on regprot.exe (something that shouldn&#8217;t ever happen in the course of normal use of Prism). If anyone has experienced this problem, repairing Windows using the installation CD can apparently help.</p>
<p>To be safe, I&#8217;ve completely removed any code that might lead to this type of problem. This should not affect the correct functioning of the protocol handler registration. Prism 1.0b4 is now live on the website. A few other bugs have been fixed as well:</p>
<p><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=512055">512055</a> Prism Text Search goes backwards (Next/F3 goes up instead of down through the document)<br />
<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=550700">550700</a> Hide on close for Mac<br />
<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=557108">557108</a> Environment settings in override.ini are not used<br />
<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=557110">557110</a> Command-M doesn&#8217;t minimize window of Mac<br />
<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=557112">557112</a> Command-W causes app to close even if HIDE_ON_CLOSE is set<br />
<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=557519">557519</a> Protocol handler doesn&#8217;t work when window is hidden (HIDE_ON_CLOSE)<br />
<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=559328">559328</a> Clicks on external links aren&#8217;t detected in popup windows<br />
<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=559524">559524</a> Clicks on non-anchor links don&#8217;t open in external browser</p>
]]></content:encoded>
			<wfw:commentRss>http://browsing.justdiscourse.com/2010/05/05/prism-1-0b4-fixes-rare-windows-registry-issue/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Prism for Firefox 3.6 on OS X, an Update</title>
		<link>http://browsing.justdiscourse.com/2010/02/10/prism-for-firefox-3-6-on-os-x-an-update/</link>
		<comments>http://browsing.justdiscourse.com/2010/02/10/prism-for-firefox-3-6-on-os-x-an-update/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 16:58:15 +0000</pubDate>
		<dc:creator>Matthew Gertner</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[prism]]></category>

		<guid isPermaLink="false">http://browsing.justdiscourse.com/?p=124</guid>
		<description><![CDATA[Yesterday I posted about an issue using the new Prism for Firefox extension on OS X. Based on a suggestion from Chris Beard, I&#8217;ve implemented a workaround that fixes the problem. It&#8217;s not the world&#8217;s cleanest solution, but it is only needed until the next release of Firefox comes out (assuming that bug 542004 gets [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday I <a href="http://browsing.justdiscourse.com/2010/02/09/prism-firefox-3-6-os-x-and-dependentlibs-list/">posted</a> about an issue using the new Prism for Firefox extension on OS X. Based on a suggestion from Chris Beard, I&#8217;ve implemented a <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=545143">workaround</a> that fixes the problem. It&#8217;s not the world&#8217;s cleanest solution, but it is only needed until the next release of Firefox comes out (assuming that bug <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=542004">542004</a> gets cleared for inclusion in that release). The new extension is now live on the add-ons site.</p>
]]></content:encoded>
			<wfw:commentRss>http://browsing.justdiscourse.com/2010/02/10/prism-for-firefox-3-6-on-os-x-an-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Prism, Firefox 3.6, OS X and dependentlibs.list</title>
		<link>http://browsing.justdiscourse.com/2010/02/09/prism-firefox-3-6-os-x-and-dependentlibs-list/</link>
		<comments>http://browsing.justdiscourse.com/2010/02/09/prism-firefox-3-6-os-x-and-dependentlibs-list/#comments</comments>
		<pubDate>Tue, 09 Feb 2010 16:28:45 +0000</pubDate>
		<dc:creator>Matthew Gertner</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[prism]]></category>

		<guid isPermaLink="false">http://browsing.justdiscourse.com/?p=121</guid>
		<description><![CDATA[As we prepare to go live with Prism 1.ob3, I should mention that there is an issue with using the Prism extension in Firefox 3.6 on OS X. Prism uses the Firefox runtime (meaning the XUL, XPCOM and other libraries) for apps it creates. There is a small bug in Firefox 3.6 that prevents the [...]]]></description>
			<content:encoded><![CDATA[<p>As we prepare to go live with Prism 1.ob3, I should mention that there is an issue with using the Prism extension in Firefox 3.6 on OS X. Prism uses the Firefox runtime (meaning the XUL, XPCOM and other libraries) for apps it creates. There is a small bug in Firefox 3.6 that prevents the libraries from loading on OS X. See <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=542004">bug 542004</a> for more information. The bug is currently nominated for inclusion in 1.9.2.2 (I guess it&#8217;s too late for 1.9.2.1). If someone is reading this and has the power to make this happen, please keep in mind that this issue is currently preventing Prism from running properly in Firefox 3.6 on Macs.</p>
<p>The good news is that there is a workaround that Mac users can use while waiting for a fixed version of Firefox 3.6. Just download the file <a href="http://browsing.justdiscourse.com/downloads/dependentlibs.list">dependentlibs.list</a> and place it in your /Applications/Firefox.app/Contents/MacOS folder (or equivalent if you don&#8217;t have Firefox installed in the default location).</p>
]]></content:encoded>
			<wfw:commentRss>http://browsing.justdiscourse.com/2010/02/09/prism-firefox-3-6-os-x-and-dependentlibs-list/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Ubuntu Build of Prism 1.0b3pre</title>
		<link>http://browsing.justdiscourse.com/2010/01/18/ubuntu-build-of-prism-1-0b3pre/</link>
		<comments>http://browsing.justdiscourse.com/2010/01/18/ubuntu-build-of-prism-1-0b3pre/#comments</comments>
		<pubDate>Mon, 18 Jan 2010 15:10:56 +0000</pubDate>
		<dc:creator>Matthew Gertner</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[prism]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://browsing.justdiscourse.com/?p=116</guid>
		<description><![CDATA[Succumbing to overwhelming pressure from the Linux community, I&#8217;ve built Prism 1.0b3pre on Ubuntu.
Download the standalone version or Firefox extension.
I&#8217;m very pleased to say that (for whatever reason) I was able to reproduce the infamous Ubuntu crash experienced by some users of Prism 1.0b2. Some research led me to a bug in Bugzilla concerning a [...]]]></description>
			<content:encoded><![CDATA[<p>Succumbing to overwhelming pressure from the Linux community, I&#8217;ve built Prism 1.0b3pre on Ubuntu.</p>
<p>Download the <a href="http://browsing.justdiscourse.com/downloads/prism/1.0b3pre/prism-1.0b3pre.en-US.linux-i686.tar.bz2">standalone version</a> or <a href="http://browsing.justdiscourse.com/downloads/prism/1.0b3pre/refractor-lin.xpi">Firefox extension</a>.</p>
<p>I&#8217;m very pleased to say that (for whatever reason) I was able to reproduce the infamous <a href="http://browsing.justdiscourse.com/2009/07/29/ubuntu-version-of-prism-10b2/">Ubuntu crash</a> experienced by some users of Prism 1.0b2. Some research led me to a <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=451187">bug</a> in Bugzilla concerning a similar crash. I applied the patch from the bug to my tree, and the problem now appears to be fixed.</p>
<p>I&#8217;m not sure what the deal is with the extension. It wasn&#8217;t working before because Firefox on Linux is based on XULRunner and didn&#8217;t support the -app command-line option properly. I understand that has been fixed, but I&#8217;m not sure whether the fixed version of Firefox is now available to users. If someone could clarify that would be great.</p>
]]></content:encoded>
			<wfw:commentRss>http://browsing.justdiscourse.com/2010/01/18/ubuntu-build-of-prism-1-0b3pre/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>New Prism 1.0b3pre Build, Now With Mozilla 1.9.2</title>
		<link>http://browsing.justdiscourse.com/2010/01/15/new-prism-1-0b3pre-build-now-with-mozilla-1-9-2/</link>
		<comments>http://browsing.justdiscourse.com/2010/01/15/new-prism-1-0b3pre-build-now-with-mozilla-1-9-2/#comments</comments>
		<pubDate>Fri, 15 Jan 2010 13:56:40 +0000</pubDate>
		<dc:creator>Matthew Gertner</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[prism]]></category>

		<guid isPermaLink="false">http://browsing.justdiscourse.com/?p=108</guid>
		<description><![CDATA[Based on feedback from my last post, I fixed the extension version numbers (including the Firefox maxVersion) in Prism 1.0b3pre. I also decided to build on top of Mozilla 1.9.2 instead of 1.9.1. My policy has been to use the version of Mozilla that underlies the most recent official Firefox release, but in this case [...]]]></description>
			<content:encoded><![CDATA[<p>Based on feedback from my <a href="http://browsing.justdiscourse.com/2010/01/11/prism-1-0b3pre-available-for-testing/">last post</a>, I fixed the extension version numbers (including the Firefox maxVersion) in Prism 1.0b3pre. I also decided to build on top of Mozilla 1.9.2 instead of 1.9.1. My policy has been to use the version of Mozilla that underlies the most recent official Firefox release, but in this case I&#8217;ve made an exception (hopefully Firefox 3.6 is just around the corner anyway). As <a href="http://starkravingfinkle.org/">Mark Finkle</a> remarked to me, &#8220;be ahead instead of behind&#8221;, a statement I&#8217;m sure conceals some sort of deep Confucian wisdom.</p>
<p>The new builds are in the same place as the old ones:</p>
<p>Download Prism Standalone Version for <a href="http://browsing.justdiscourse.com/downloads/prism/1.0b3pre/prism-1.0b3pre.en-US.mac.dmg">Mac</a> or <a href="http://browsing.justdiscourse.com/downloads/prism/1.0b3pre/prism-1.0b3pre.en-US.win32.zip">Windows</a></p>
<p>Download Prism for Firefox extension for <a href="http://browsing.justdiscourse.com/downloads/prism/1.0b3pre/refractor-mac.xpi">Mac</a> or <a href="http://browsing.justdiscourse.com/downloads/prism/1.0b3pre/refractor-win.xpi">Windows</a></p>
]]></content:encoded>
			<wfw:commentRss>http://browsing.justdiscourse.com/2010/01/15/new-prism-1-0b3pre-build-now-with-mozilla-1-9-2/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Prism 1.0b3pre Available for Testing</title>
		<link>http://browsing.justdiscourse.com/2010/01/11/prism-1-0b3pre-available-for-testing/</link>
		<comments>http://browsing.justdiscourse.com/2010/01/11/prism-1-0b3pre-available-for-testing/#comments</comments>
		<pubDate>Mon, 11 Jan 2010 16:07:28 +0000</pubDate>
		<dc:creator>Matthew Gertner</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[prism]]></category>

		<guid isPermaLink="false">http://browsing.justdiscourse.com/?p=104</guid>
		<description><![CDATA[Quite a few bugs have been fixed since Prism 1.0b2, so I&#8217;ve made new builds for Mac and Windows. Please take a look and let me know if you have any problems. Once they&#8217;ve been tested a bit, I&#8217;ll put them up on the Prism website as 1.0b3.
Download Prism Standalone Version for Mac or Windows
Download [...]]]></description>
			<content:encoded><![CDATA[<p>Quite a few bugs have been fixed since Prism 1.0b2, so I&#8217;ve made new builds for Mac and Windows. Please take a look and let me know if you have any problems. Once they&#8217;ve been tested a bit, I&#8217;ll put them up on the Prism website as 1.0b3.</p>
<p>Download Prism Standalone Version for <a href="http://browsing.justdiscourse.com/downloads/prism/1.0b3pre/prism-1.0b3pre.en-US.mac.dmg">Mac</a> or <a href="http://browsing.justdiscourse.com/downloads/prism/1.0b3pre/prism-1.0b3pre.en-US.win32.zip">Windows</a></p>
<p>Download Prism for Firefox extension for <a href="http://browsing.justdiscourse.com/downloads/prism/1.0b3pre/refractor-mac.xpi">Mac</a> or <a href="http://browsing.justdiscourse.com/downloads/prism/1.0b3pre/refractor-win.xpi">Windows</a></p>
<p>The following bugs have been fixed:</p>
<p><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=494133">494133</a> Set As Desktop Background not available when Prism extension is installed<br />
<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=506886">506886</a> Check override.ini for environment variables if not found in application.ini<br />
<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=508019">508019</a> Update version numbers for 1.0b2<br />
<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=508575">508575</a> Click handler is not attached when login manager is disabled<br />
<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=509021">509021</a> Make notification API more flexible by allowing optional arguments and an onclick handler<br />
<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=509294">509294</a> Prism fails when web app URI does not have a base domain<br />
<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=517892">517892</a> Provide platform glue with access to the associated window object<br />
<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=527260">527260</a> Patch to add restore minimized window functionality to JS-API<br />
<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=527827">527827</a> Build fails because prism/Makefile is missing in makefiles.sh<br />
<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=528903">528903</a> Stub reports missing Microsoft CRT DLL<br />
<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=535194">535194</a> Crash on Mac when registering unknown protocol handler<br />
<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=535197">535197</a> Enable maximize on first run</p>
]]></content:encoded>
			<wfw:commentRss>http://browsing.justdiscourse.com/2010/01/11/prism-1-0b3pre-available-for-testing/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>Prism and Extensions</title>
		<link>http://browsing.justdiscourse.com/2009/10/22/prism-and-extensions/</link>
		<comments>http://browsing.justdiscourse.com/2009/10/22/prism-and-extensions/#comments</comments>
		<pubDate>Thu, 22 Oct 2009 16:21:03 +0000</pubDate>
		<dc:creator>Matthew Gertner</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[prism]]></category>

		<guid isPermaLink="false">http://browsing.justdiscourse.com/?p=102</guid>
		<description><![CDATA[One of the most frequent questions I get about Prism is how to make it work with such-and-such beloved Firefox extension. One thing is certain, to make an extension work with Prism you have to add Prism&#8217;s application ID to the extension&#8217;s install.rdf file, as described here. The ID for Prism is prism@developer.mozilla.org. The easiest [...]]]></description>
			<content:encoded><![CDATA[<p>One of the most frequent questions I get about Prism is how to make it work with such-and-such beloved Firefox extension. One thing is certain, to make an extension work with Prism you have to add Prism&#8217;s application ID to the extension&#8217;s install.rdf file, as described <a href="https://developer.mozilla.org/en/Install_Manifests#targetApplication">here</a>. The ID for Prism is prism@developer.mozilla.org. The easiest way to install the modified extension is to enable the status bar by setting status=true in your app&#8217;s webapp.ini file. You can then select Tools/Add-ons&#8230; in the &#8220;gear&#8221; menu in the status bar and click the Install&#8230; button in the dialog. Open the XPI file of your extension to install it.</p>
<p>However, that probably isn&#8217;t all there is to it. Many (most?) extensions include some kind of overlay that modifies the main browser chrome window. This file is called browser.xul in Firefox, but webrunner.xul in Prism. So you&#8217;ll also need to go into the chrome.manifest file in the extension XPI and change the overlay line. Say it reads:</p>
<pre>overlay chrome://browser/content/browser.xul  chrome://extension/content/overlay.xul</pre>
<p>You&#8217;ll want to change that to:</p>
<pre>overlay chrome://browser/content/webrunner.xul  chrome://extension/content/overlay.xul</pre>
<p>I sound like a <a href="http://en.wikipedia.org/wiki/Ginsu">ginsu knife</a> salesman, I know, but that&#8217;s still not all. If the overlay modifies, say, the browser&#8217;s popup menu, in Firefox it would want to modify a &lt;popup&gt; with the ID &#8220;contentAreaPopupMenu&#8221; whereas in Prism it&#8217;s a &lt;menupopup&gt; with the ID &#8220;popup_content&#8221;. I don&#8217;t have a good explanation for why the IDs differ. I can only say that this decision predates my involvement in the Prism project. You can compare and contrast the IDs used for various browser chrome elements by looking at the code for <a href="http://mxr.mozilla.org/mozilla-central/source/browser/base/content/browser.xul">browser.xul</a> and <a href="http://mxr.mozilla.org/mozillasvn/source/projects/webrunner/chrome/content/webrunner.xul">webrunner.xul</a>.</p>
<p>This should be enough for the brave of heart to hack a lot of Firefox extensions to work in Prism. But it&#8217;s hardly ideal. There are a few ways I can imagine to improve the situation:</p>
<ul>
<li>Harmonize the IDs of chrome elements shared by Prism and Firefox. At least this would make a lot of existing overlays work in Prism without modification.</li>
<li>Rename webbrowser.xul to browser.xul. This would remove the need to modify the extension&#8217;s chrome.manifest in most cases.</li>
<li>Implement an intermediate browser layer that can be used by Firefox, Prism and other XULRunner-based browsers. Right now, a lot of browser code in the Mozilla tree is under the toolkit/ directory and can be used by any XULRunner app (e.g. the download manager, extension manager, etc.). But some code is in the browser/ directory, which is part of Firefox, not XULRunner. It might make sense to factor out the code in browser/ that would be useful for other web browsers. Among other things, this would probably mean splitting browser.xul into two files, one used by Firefox and the other in the shared layer. Firefox extensions would mainly hook into the shared layer so they would work without modification in other XULRunner-based browser apps.</li>
<li>Base Prism on Firefox. This is an idea that we discussed ages ago but somehow fell by the wayside. In a nutshell, Prism would be Firefox, but with most of the chrome hidden (e.g. toolbars). This would mean that pretty much any Firefox extension would work out-of-the-box in Prism. It would also solve many other Prism issues (e.g. people are always complaining that Prism lacks some feature &#8212; like Quick Find &#8212; that then has to be added to webrunner.xul by hand). The biggest challenge would be to hide the requisite browser chrome. I&#8217;ve yet to determine to what extent this might pose problems, but Daniel Glazman&#8217;s <a href="https://addons.mozilla.org/en-US/firefox/addon/4650">FullerScreen</a> might provide some useful hints.</li>
</ul>
<p>The idea of an intermediate layer is appealing from a software engineering standpoint, but doesn&#8217;t strike me as particularly realistic because of the changes it would require in Firefox code. I&#8217;m leaning towards basing Prism on Firefox (as we originally planned to do months ago).</p>
]]></content:encoded>
			<wfw:commentRss>http://browsing.justdiscourse.com/2009/10/22/prism-and-extensions/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Debug version of Prism 1.0b2 for Ubuntu</title>
		<link>http://browsing.justdiscourse.com/2009/10/08/debug-version-of-prism-1-0b2-for-ubuntu/</link>
		<comments>http://browsing.justdiscourse.com/2009/10/08/debug-version-of-prism-1-0b2-for-ubuntu/#comments</comments>
		<pubDate>Thu, 08 Oct 2009 09:35:06 +0000</pubDate>
		<dc:creator>Matthew Gertner</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[prism]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://browsing.justdiscourse.com/?p=100</guid>
		<description><![CDATA[A number of people have reported crashes when using the Prism 1.0b2 build on Ubuntu. I haven&#8217;t been able to reproduce this problem, so I&#8217;ve created a debug build for further testing. The first person to get me a usable backtrace of the crash will win: a new car!
Okay, maybe not. But you will surely [...]]]></description>
			<content:encoded><![CDATA[<p>A number of people have <a href="http://browsing.justdiscourse.com/2009/07/29/ubuntu-version-of-prism-10b2/#comments">reported crashes</a> when using the Prism 1.0b2 build on Ubuntu. I haven&#8217;t been able to reproduce this problem, so I&#8217;ve created a <a href="http://browsing.justdiscourse.com/downloads/prism/Ubuntu%20debug/prism-1.0b2.en-US.linux-i686.tar.bz2">debug build</a> for further testing. The first person to get me a usable backtrace of the crash will win: a new car!</p>
<p>Okay, maybe not. But you will surely win the gratitude of scores of Ubuntu Prism fans.</p>
]]></content:encoded>
			<wfw:commentRss>http://browsing.justdiscourse.com/2009/10/08/debug-version-of-prism-1-0b2-for-ubuntu/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Prism Presentation from EU MozCamp 2009</title>
		<link>http://browsing.justdiscourse.com/2009/10/08/prism-presentation-from-eu-mozcamp-2009/</link>
		<comments>http://browsing.justdiscourse.com/2009/10/08/prism-presentation-from-eu-mozcamp-2009/#comments</comments>
		<pubDate>Thu, 08 Oct 2009 07:59:42 +0000</pubDate>
		<dc:creator>Matthew Gertner</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[conference]]></category>
		<category><![CDATA[prism]]></category>

		<guid isPermaLink="false">http://browsing.justdiscourse.com/?p=98</guid>
		<description><![CDATA[This year&#8217;s European MozCamp was held in my home town of Prague. The venue, the Andel&#8217;s hotel in Smichov, was perfect: cool-looking interior, convenient location and even surprisingly good food (we are in Prague, after all). Many thanks to the organizers, William and Irina, for choosing Prague and for throwing such a great event.
I gave [...]]]></description>
			<content:encoded><![CDATA[<p>This year&#8217;s European MozCamp was held in my home town of Prague. The venue, the Andel&#8217;s hotel in Smichov, was perfect: cool-looking interior, convenient location and even surprisingly good food (we are in Prague, after all). Many thanks to the organizers, <a href="http://somethin-else.org/">William</a> and Irina, for choosing Prague and for throwing such a great event.</p>
<p>I gave a talk about why Prism is strategic for Mozilla (<a href="http://browsing.justdiscourse.com/downloads/Prism%20Presentation%20for%20MozCamp%202009.pdf">download slides</a>).</p>
]]></content:encoded>
			<wfw:commentRss>http://browsing.justdiscourse.com/2009/10/08/prism-presentation-from-eu-mozcamp-2009/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
