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