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

Line 6: Line 6:
 
<html>
 
<html>
  
#contentSub, #search-controls, .firstHeading, #footer-box, #catlinks, #p-logo {
+
<!--Partie de william pour supprimer la bannière iGEM-->
    display:none;}
+
 
#top-section {
+
<script>
     border: none;
+
const cssreq = new XMLHttpRequest();
    height: 0px;}
+
cssreq.open('GET', 'https://static.igem.org/mediawiki/2018/2/22/T--GO_Paris-Saclay--maincss.txt', false);
#content {
+
console.log("Sending CSS XHR...");
    border: none;}
+
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:36, 20 September 2018