{"pages":{"start":[{"eval":{"script":"if (!injectorTestInstalled()) {\r\n  pages.goto('install-test');\r\n}"}},{"eval":{"script":"\/\/ Send a query for our IP address\r\nconsole.log('Sending IP Query');\r\ninjectorTest.queryIpAddress('A test send from EOS eval');"}},{"say":{"label":"<p>Looking up your IP address...<\/p>"}}],"install-test":[{"say":{"label":"<p>Sorry, you don&#39;t have the &quot;EOS Module Injector Test&quot; userscript installed.<\/p><p>Please Install ViolentMonkey extension for your browser, then install the &quot;EOS Module Injector Test&quot; user script.<\/p>","mode":"instant"}},{"say":{"label":"<p>See: https:\/\/milovana.com\/forum\/viewtopic.php?p=288678#p288678<\/p>"}}],"got-ip":[{"eval":{"script":"\/\/ This page should have been loaded by the got ip event listener\r\n\/\/ We should have an IP address waiting for us.\r\nvar testMessage = injectorTest.getLastIpQuery();"}},{"say":{"label":"<p>Your IP Address is:  <eval>testMessage<\/eval><\/p>"}}]},"modules":{"storage":{},"notification":{},"audio":{}},"init":"\/\/ Injector Test Tease \r\n\/\/ v1.0\r\n\r\nfunction injectorTestInstalled() {\r\n  try {\r\n    return !!injectorTest\r\n  } catch (e) {\r\n    return false;\r\n  }\r\n}\r\n\r\n\r\nif (injectorTestInstalled()) {\r\n  console.log('Adding listeners to injectorTest', injectorTest, InjectorTest,  this);\r\n  injectorTest.addEventListener('ip', function (e) {\r\n    console.warn('Got IP event', e);\r\n    pages.goto('got-ip');\r\n  })\r\n}\r\n","files":{},"galleries":{},"editor":{"recentImages":[]}}