"chrome:" URIs have no host; check for that, and substitute "hohost" instead
[k8imago.git] / code / main.js
blob52e02b3e6423fe727b3f758bee079f15cde8dada
1 /* coded by Ketmar // Invisible Vector (psyc://ketmar.no-ip.org/~Ketmar)
2  * Understanding is not required. Only obedience.
3  *
4  * This program is free software. It comes without any warranty, to
5  * the extent permitted by applicable law. You can redistribute it
6  * and/or modify it under the terms of the Do What The Fuck You Want
7  * To Public License, Version 2, as published by Sam Hocevar. See
8  * http://www.wtfpl.net/txt/copying/ for more details.
9  */
10 let {utils:Cu, classes:Cc, interfaces:Ci, results:Cr} = Components;
12 //////////////////////////////////////////////////////////////////////////////
13 Cu.import("chrome://k8-imago-code/content/modules/utils.js");
14 Cu.import(MODULE_PATH+"ainit.js");
16 // context menu
17 var EXPORTED_SYMBOLS = [
18   "MODULE_PATH",
19   //
20   "setupGBrowser",
21   "registerWindowHook",
22   "imagoCallWindowHook"