Skip to main content

How to add crash protection for custom plugins in Firefox 3.6.4

Firefox 3.6.4 was released yesterday, and as already published, brought added stability to the browser with the so called “out of process plugin” (OOP) architecture that allows plugins to run on their own process. This improve the overall Firefox stability and security.

With OOP, if a plugin crashes or stops working, it wouldn’t bring down the whole session as before because the plugin runs on its own process. By default, the crash protection is enabled for some of the most notorious plugins in existence, namely Adobe Flash, Apple Quicktime and Microsoft Silverlight.

While Silverlight, Flash, and QuickTime are supported out of the box, you can actually run any plugin on its own process. So if a particular plugin is unstable and causing problems, you can force it run on a separate process and avoid browser crashes.

To do this first you have to find out the name of the plugin library. You can get the name by typing about:plugins in Firefox’s address bar and sifting through the data. Alternatively, you can open the browser’s plugin folder under Firefox installation directory and get the name of the DLL file inside it. On a typical Firefox installation you will find several DLL files under this folder. If you are unsure which is what, Google the names to identify them.

Once you have got the correct name of the plugin DLL file, create a boolean preference in about:config and name it dom.ipc.plugins.enabled.filename. Replace “filename” with the filename of the DLL file.

For example, if the DLL file is called nppdf32.dll (Adobe Reader plugin), name the boolean preference dom.ipc.plugins.enabled.nppdf32.dll

firefox-new-boolean

firefox-new-boolean2

Now set this preference to true and restart Firefox.

firefox-new-boolean3

This will force the Adobe Reader plugin to run on its own process. So if the Reader plugin crashes, Firefox will survive. Similarly, for Java, the preference must be named  dom.ipc.plugins.enabled.npjp2.dll, and set to true. Remember to always use lowercase alphabets.

Conversely, you can disable OOPP for the enabled plugins by creating and setting their respective preference to false.

[via Mozilla Links]

Comments

  1. It crashes as much as before and as quickly as before and as with the other previous Firefox versions! Get the heck out of here!

    ReplyDelete

Post a Comment

Popular posts from this blog

How to Record CPU and Memory Usage Over Time in Windows?

Whenever the computer is lagging or some application is taking too long to respond, we usually fire up task manager and look under the Performance tab or under Processes to check on processor utilization or the amount of free memory available. The task manager is ideal for real-time analysis of CPU and memory utilization. It even displays a short history of CPU utilization in the form of a graph. You get a small time-window, about 30 seconds or so, depending on how large the viewing area is.

How to Schedule Changes to Your Facebook Page Cover Photo

Facebook’s current layout, the so called Timeline, features a prominent, large cover photo that some people are using in a lot of different creative ways. Timeline is also available for Facebook Pages that people can use to promote their website or business or event. Although you can change the cover photo as often as you like, it’s meant to be static – something which you design and leave it for at least a few weeks or months like a redesigned website. However, there are times when you may want to change the cover photo frequently and periodically to match event dates or some special promotion that you are running or plan to run. So, here is how you can do that.

Diagram 101: Different Types of Diagrams and When To Use Them

Diagrams are a great way to visualize information and convey meaning. The problem is that there’s too many different types of diagrams, so it can be hard to know which ones you should use in any given situation. To help you out, we’ve created this diagram that lays out the 7 most common types of diagrams and when they’re best used: