[tor-bugs] #10280 [Firefox Patch Issues]: Torbrowser shouldn't load flash into the process space by default
Tor Bug Tracker & Wiki
blackhole at torproject.org
Fri Dec 6 18:23:37 UTC 2013
#10280: Torbrowser shouldn't load flash into the process space by default
--------------------------------------+-----------------
Reporter: mikeperry | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Firefox Patch Issues | Version:
Resolution: | Keywords:
Actual Points: | Parent ID:
Points: |
--------------------------------------+-----------------
Comment (by cypherpunks):
>to enable flash (by requiring a restart)
You no need to restart browser. UI is broken, but plugins actually loaded
and unloaded by ''plugin.disable'' preference.
{{{
--- PluginProvider.jsm
+++ PluginProvider.jsm.modif
@@ -53,6 +53,7 @@
plugins: null,
startup: function PL_startup() {
+ Services.prefs.addObserver("plugin.disable", this, false);
Services.obs.addObserver(this, LIST_UPDATED_TOPIC, false);
Services.obs.addObserver(this,
AddonManager.OPTIONS_NOTIFICATION_DISPLAYED, false);
},
@@ -90,6 +91,9 @@
if (this.plugins)
this.updatePluginList();
break;
+ case "nsPref:changed":
+ this.buildPluginList();
+ return;
}
},
}}}
This simple fix (but not correct to be real fix) will make to show actual
state of loaded plugins.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/10280#comment:5>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list