JAL-3690 direct access to slivka, compbio, jalview.org and localhost/loopback.
[jalview.git] / utils / jalviewjs / template.html
index 7c20d44..85a96c7 100644 (file)
@@ -12,11 +12,14 @@ Info = {
        width: 850,
        height: 550,
   readyFunction: null,
-       serverURL: 'https://chemapps.stolaf.edu/jmol/jsmol/php/jsmol.php',
+       serverURL: '',
        j2sPath: 'swingjs/j2s',
        console:'sysoutdiv',
        allowjavascript: true
 }
+// direct access to these sites
+J2S.addDirectDatabaseCall('www.compbio.dundee.ac.uk'),J2S.addDirectDatabaseCall('www.jalview.org'), J2S.addDirectDatabaseCall('ensembl.org')
+J2S.addDirectDatabaseCall('127.0.0.1'), J2S.addDirectDatabaseCall('localhost')
 </script>
 </head>
 <body>
@@ -26,7 +29,7 @@ getClassList = function(){J2S._saveFile('_j2sclasslist.txt', Clazz.ClassFilesLoa
 </script>
 <div style="position:absolute;left:900px;top:30px;width:600px;height:300px;">
 <div id="sysoutdiv" contentEditable="true" style="border:1px solid green;width:100%;height:95%;overflow:auto"></div>
-This is System.out. <a href="javascript:testApplet._clearConsole()">clear it</a> <br>Add ?j2snocore to URL to see full class list; ?j2sdebug to use uncompressed j2s/core files <br><a href="javascript:getClassList()">get _j2sClassList.txt</a>
+This is System.out. <a href="javascript:testApplet._clearConsole()">clear it</a>  <a href='javascript:J2S.getProfile()'>start/stop profiling</a><br>see <a href=___j2sflags.htm>___j2sflags.htm</a> for SwingJS URL command-line options<br><a href="javascript:getClassList()">get _j2sClassList.txt</a>
 </div>
 </body>
 </html>