mirror of
				https://gitea.augustin64.fr/piair/MsRewards-Reborn.git
				synced 2025-11-03 23:23:53 +01:00 
			
		
		
		
	oh bordel qu'es ce que je fous
This commit is contained in:
		@@ -73,7 +73,20 @@ function change_logs(value) {
 | 
			
		||||
            let doc = myIframe.contentDocument;
 | 
			
		||||
            doc.body.innerHTML = doc.body.innerHTML + '<style>html{color:white;}</style>';
 | 
			
		||||
            myIframe.contentWindow.scrollTo(0, myIframe.contentDocument.body.scrollHeight);
 | 
			
		||||
 | 
			
		||||
        window.setInterval(function() {
 | 
			
		||||
            reloadIFrame()
 | 
			
		||||
        }, 500);
 | 
			
		||||
    });
 | 
			
		||||
 | 
			
		||||
    function reloadIFrame() {
 | 
			
		||||
        console.log('reloading..');
 | 
			
		||||
        document.getElementById('iframe').contentWindow.location.reload();
 | 
			
		||||
 | 
			
		||||
        window.setInterval(function() {
 | 
			
		||||
            reloadIFrame()
 | 
			
		||||
        }, 100000);
 | 
			
		||||
    }
 | 
			
		||||
    myIframe.src = "/static/logs/" + value + ".txt";
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user