mirror of
				https://gitea.augustin64.fr/piair/MsRewards-Reborn.git
				synced 2025-11-04 15:43:53 +01:00 
			
		
		
		
	PTDR je modifie le mauvais fichier depuis tout a l'heure
This commit is contained in:
		@@ -12,15 +12,13 @@
 | 
			
		||||
 | 
			
		||||
    <script>
 | 
			
		||||
        var myIframe = document.getElementById('iframe');
 | 
			
		||||
        myIframe.addEventListener("load", function() {
 | 
			
		||||
        myIframe.addEventListener("load", async () => {
 | 
			
		||||
            let doc = myIframe.contentDocument;
 | 
			
		||||
            doc.body.innerHTML = doc.body.innerHTML + '<style>html{color:white;}</style>';
 | 
			
		||||
            myIframe.contentWindow.scrollTo(0, myIframe.contentDocument.body.scrollHeight);
 | 
			
		||||
            reloadIFrame();
 | 
			
		||||
        });
 | 
			
		||||
 | 
			
		||||
        function reloadIFrame() {
 | 
			
		||||
            console.log('reloading..');
 | 
			
		||||
            await delay(1000);
 | 
			
		||||
            document.getElementById('iframe').contentWindow.location.reload();
 | 
			
		||||
        }
 | 
			
		||||
        });
 | 
			
		||||
    </script>
 | 
			
		||||
{% endif %}
 | 
			
		||||
{% endblock %}
 | 
			
		||||
		Reference in New Issue
	
	Block a user