Team:Shenzhen/Temp/nav.htm
From 2012.igem.org
(Difference between revisions)
Line 21: | Line 21: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
if(window.XMLHttpRequest) // firefox | if(window.XMLHttpRequest) // firefox | ||
- | { | + | { |
+ | user_pref("capability.policy.XMLHttpRequestToAnySi te.XMLHttpRequest.open", | ||
+ | "allAccess"); | ||
+ | user_pref("capability.policy.XMLHttpRequestToAnySi te.sites", "http:// | ||
+ | localhost"); | ||
+ | user_pref("capability.policy.policynames", "XMLHttpRequestToAnySite"); | ||
try | try | ||
{ | { |
Revision as of 09:48, 6 September 2012