Driveby comment: it might be more efficient to have a content script listening for the
PluginBindingAttached event we fire, instead of checking every object in every
document. See toolkit/mozapps/plugins/content/pluginProblem.xml and
browser/base/content/browser-plugins.js for how this works in-browser.
Broken out from: http://www.figuiere.net/hub/blog/?2014/06/04/849-hack-the-web-no-flash#c62848
Justin Dolske said: