Difference between revisions of "Team:GO Paris-Saclay/JOUDOU"

Line 6: Line 6:
 
<html>
 
<html>
  
<!--Partie de william pour supprimer la bannière iGEM-->
 
 
<script>
 
const cssreq = new XMLHttpRequest();
 
cssreq.open('GET', 'https://static.igem.org/mediawiki/2018/2/22/T--GO_Paris-Saclay--maincss.txt', false);
 
console.log("Sending CSS XHR...");
 
cssreq.send(null);
 
console.log("Received CSS results");
 
var b64_csstext = cssreq.responseText;
 
var css_text = atob(b64_csstext);
 
$('head').append("<style>"+css_text+"</style>");
 
 
const req = new XMLHttpRequest();
 
req.open('GET', 'https://static.igem.org/mediawiki/2018/e/ee/T--GO_Paris-Saclay--mainscript.txt', false);
 
console.log("Sending JS XHR...");
 
req.send(null);
 
console.log("Received JS results");
 
var b64_text = req.responseText;
 
var js_text = atob(b64_text);
 
eval(js_text);
 
 
setTimeout(function(){
 
    $(".body").append($("#bigmaindiv"));
 
 
$('#top_title').remove();
 
$('#removeme').remove();
 
$('#bigmaindiv').insertBefore('#content'); }, 0);
 
</script>
 
  
  

Revision as of 09:48, 20 September 2018