diff --git a/content/io.js b/content/io.js index 5197a7c3..6f629090 100644 --- a/content/io.js +++ b/content/io.js @@ -793,7 +793,7 @@ lookup: .getService(Components.interfaces.mozIJSSubScriptLoader); try { - loader.loadSubScript(uri.spec, modules); + loader.loadSubScript(uri.spec, plugins); } catch (e) { diff --git a/content/liberator.js b/content/liberator.js index aec7758b..a44f7041 100644 --- a/content/liberator.js +++ b/content/liberator.js @@ -27,6 +27,7 @@ the terms of any one of the MPL, the GPL or the LGPL. }}} ***** END LICENSE BLOCK *****/ const plugins = {}; +plugins.__proto__ = modules; const liberator = (function () //{{{ {