]> git.ktnx.net Git - icedeb.git/blobdiff - icedeb-content.js
initial implementation of e10s. XUL/XPCOM is dropped
[icedeb.git] / icedeb-content.js
diff --git a/icedeb-content.js b/icedeb-content.js
new file mode 100644 (file)
index 0000000..c2a2d36
--- /dev/null
@@ -0,0 +1,6 @@
+function listener(request, sender, sendResponse) {
+  window.location = request.url;
+  browser.runtime.onMessage.removeListener(listener);
+}
+
+browser.runtime.onMessage.addListener(listener);