aboutsummaryrefslogtreecommitdiff
path: root/firefox/content/overlay.js
diff options
context:
space:
mode:
Diffstat (limited to 'firefox/content/overlay.js')
-rw-r--r--firefox/content/overlay.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/firefox/content/overlay.js b/firefox/content/overlay.js
new file mode 100644
index 0000000..49bb695
--- /dev/null
+++ b/firefox/content/overlay.js
@@ -0,0 +1,8 @@
+Components.utils.import("chrome://vkpc/content/module.jsm");
+
+VKPC.startup();
+
+VKPC.addWindow(window);
+window.addEventListener('close', function() {
+ VKPC.removeWindow(window);
+});