JAL-3690 tweak J2S direct DB access registration for jalview, compbio and other sites
[jalview.git] / utils / jalviewjs / template.html
index d132460..968e1eb 100644 (file)
@@ -12,15 +12,18 @@ 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
 </script>
 </head>
 <body>
 <script>
+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')
 SwingJS.getApplet('testApplet', Info)
 getClassList = function(){J2S._saveFile('_j2sclasslist.txt', Clazz.ClassFilesLoaded.sort().join('\n'))}
 </script>