mirror of
				https://gitea.augustin64.fr/piair/MsRewards-Reborn.git
				synced 2025-11-04 15:43:53 +01:00 
			
		
		
		
	Pourquoi ca descend pas ?
This commit is contained in:
		@@ -15,11 +15,14 @@
 | 
			
		||||
            return new Promise(resolve => setTimeout(resolve, ms));
 | 
			
		||||
        }
 | 
			
		||||
        var myIframe = document.getElementById('iframe');
 | 
			
		||||
 | 
			
		||||
        myIframe.addEventListener("load", async () => {
 | 
			
		||||
            let doc = myIframe.contentDocument;
 | 
			
		||||
            console.log(1);
 | 
			
		||||
            doc.body.innerHTML = doc.body.innerHTML + '<style>html{color:white;}</style>';
 | 
			
		||||
            myIframe.contentWindow.scrollTo(0, myIframe.contentDocument.body.scrollHeight);
 | 
			
		||||
            await delay(1000);
 | 
			
		||||
            console.log(2);
 | 
			
		||||
            await delay(2000);
 | 
			
		||||
            document.getElementById('iframe').contentWindow.location.reload();
 | 
			
		||||
        });
 | 
			
		||||
    </script>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user