aboutsummaryrefslogtreecommitdiffstats
path: root/haiku.js
diff options
context:
space:
mode:
Diffstat (limited to 'haiku.js')
-rw-r--r--haiku.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/haiku.js b/haiku.js
index 359b2bb..026d08f 100644
--- a/haiku.js
+++ b/haiku.js
@@ -63,7 +63,7 @@ The script allows you to update Haiku status from Vimperator.
var evalFunc = window.eval;
var statuses = null;
try {
- var sandbox = new Components.utils.Sandbox(window);
+ var sandbox = new Components.utils.Sandbox("about:blank");
if (Components.utils.evalInSandbox("true", sandbox) === true) {
evalFunc = function(text) {
return Components.utils.evalInSandbox(text, sandbox);