sandbox permissions
authorJim Procter <jprocter@compbio.dundee.ac.uk>
Tue, 26 Nov 2013 15:35:07 +0000 (15:35 +0000)
committerJim Procter <jprocter@compbio.dundee.ac.uk>
Tue, 26 Nov 2013 15:35:07 +0000 (15:35 +0000)
examples/embedded.html
examples/embeddedWJmol.html
examples/formComplete.html
examples/javascriptLaunch.html
examples/linkedapplets_ng.html

index 2384737..eda8a27 100644 (file)
@@ -169,7 +169,8 @@ var _gaq = _gaq || [];_gaq.push(["_setAccount", "UA-9060947-1"]);_gaq.push(["_tr
 </ul>
 <applet code="jalview.bin.JalviewLite"
                        width="756" height="560" archive="jalviewApplet.jar">
-                       <param name="file" value="plantfdx.fa">
+                       <param name="permissions" value="sandbox">
+      <param name="file" value="plantfdx.fa">
                        <param name="annotations" value="plantfdx.annotations">
                        <param name="features" value="plantfdx.features">
                        <param name="embedded" value="true">
index 5a65953..24f7406 100644 (file)
@@ -108,7 +108,8 @@ function genHref()
   ,
   linkUrl_2 : "http://us.expasy.org/cgi-bin/niceprot.pl?$SEQUENCE_ID$",
   APPLICATION_URL : "http://www.jalview.org/services/launchApp",
-  PDBfile : "1gaq.txt FER1_MAIZE"
+  PDBfile : "1gaq.txt FER1_MAIZE",
+  permissions : "sandbox"
  };
  jmolSetCallback("hoverCallback","_jmolhover");
   jmolSetCallback("pickCallback","_jmolpick");
index 91b0670..2f3f2f0 100644 (file)
@@ -163,6 +163,7 @@ var _gaq = _gaq || [];_gaq.push(["_setAccount", "UA-9060947-1"]);_gaq.push(["_tr
                <a name="api">View the full <a href="jalviewLiteJs.html">JalviewLite API documentation</a>.</a>
                <applet code="jalview.bin.JalviewLite" width="0" height="0"
                        archive="jalviewApplet.jar" name="Jalview">
+                       <param name="permissions" value="sandbox">
                        <param name="file" value="plantfdx.fa">
                        <param name="features" value="plantfdx.features">
                        <param name="wrap" value="true">
index f555265..d565ed2 100644 (file)
@@ -242,6 +242,7 @@ function startJalview(aligURL,title,alwvar) {
 archive="jalviewApplet.jar" width="0" height="0">
 <param name="debug" value="true"/>
 <param name="showbutton" value="false"/>
+<param name="permissions" value="sandbox"/>
 </applet>
 
 
index 86f4bc0..ef43184 100644 (file)
@@ -208,6 +208,7 @@ document.onclick = mclose;
  
     ,
     linkUrl_2 : "http://us.expasy.org/cgi-bin/niceprot.pl?$SEQUENCE_ID$",
+    permissions : 'sandbox',
     APPLICATION_URL : "http://www.jalview.org/services/launchApp"
   };
  
@@ -242,6 +243,7 @@ document.onclick = mclose;
  
     ,
     linkUrl_2 : "http://us.expasy.org/cgi-bin/niceprot.pl?$SEQUENCE_ID$",
+    permissions : 'sandbox',
     APPLICATION_URL : "http://www.jalview.org/services/launchApp"
   };
   deployJava.runApplet(attributes, parameters, '1.6');