From b8b74f38babd5186cc538b4aeae7c0dba7c7c8b6 Mon Sep 17 00:00:00 2001 From: Alex Xu Date: Sun, 7 Dec 2014 10:53:03 -0500 Subject: Add features, README.rst. --- README.rst | 10 ++++++++++ src/bootstrap.js | 35 ++++++++++++++++++----------------- 2 files changed, 28 insertions(+), 17 deletions(-) create mode 100644 README.rst diff --git a/README.rst b/README.rst new file mode 100644 index 0000000..ba142e1 --- /dev/null +++ b/README.rst @@ -0,0 +1,10 @@ +How to use +---------- + +1. Build the XPI and install it. On Windows, use the "Send to ZIP" function and create a ZIP of the files in the src directory (not OF the src directory). +2. Add your trusted sites to the extensions.eib.trusted preference as follows: + a. Open about:addons. + b. Select Preferences for EVE-IGB Bridge. + c. Input ["http://site1", "http://site2"], etc. JSON array of strings, matched at the start of the URL. +3. Open "http://127.0.0.1:26001/" in the EVE in-game browser. We recommend that you set this page as your home page since there's nothing else the IGB is useful for. +4. Open one of your trusted sites and start clicking. A recommended starter is http://wiki.eveuniversity.com/ for their ship fittings. diff --git a/src/bootstrap.js b/src/bootstrap.js index b01697f..7d4bf8f 100644 --- a/src/bootstrap.js +++ b/src/bootstrap.js @@ -43,13 +43,14 @@ EIB.listen = function () { resp += "Content-Type: text/html\r\n\r\n"; resp += "EVE-IGB Bridge"; if (headers["EVE_TRUSTED"]) { - resp += "