mirror of
				https://gitea.augustin64.fr/piair/MsRewards-Reborn.git
				synced 2025-11-04 15:43:53 +01:00 
			
		
		
		
	en vrai il y a eu d'autres tests
This commit is contained in:
		@@ -1,7 +1,6 @@
 | 
				
			|||||||
{% extends "base.html" %}
 | 
					{% extends "base.html" %}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
{% block left_pannel %}
 | 
					{% block left_pannel %}{% endblock %}
 | 
				
			||||||
{% endblock %}
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
{% block content %}
 | 
					{% block content %}
 | 
				
			||||||
@@ -17,15 +16,15 @@
 | 
				
			|||||||
        var myIframe = document.getElementById('iframe');
 | 
					        var myIframe = document.getElementById('iframe');
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        myIframe.addEventListener("load", async () => {
 | 
					        myIframe.addEventListener("load", async () => {
 | 
				
			||||||
            var myIframe = document.getElementById('iframe');
 | 
					            myIframe.contentDocument.body.innerHTML = myIframe.contentDocument.body.innerHTML + '<style>html{color:white;}</style>';
 | 
				
			||||||
            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);
 | 
					 | 
				
			||||||
            console.log(2);
 | 
					 | 
				
			||||||
            await delay(2000);
 | 
					            await delay(2000);
 | 
				
			||||||
            document.getElementById('iframe').contentWindow.location.reload();
 | 
					            document.getElementById('iframe').contentWindow.location.reload();
 | 
				
			||||||
        });
 | 
					        });
 | 
				
			||||||
 | 
					        window.setInterval(function() {
 | 
				
			||||||
 | 
					            var myIframe = document.getElementById('iframe');
 | 
				
			||||||
 | 
					            myIframe.contentWindow.scrollTo(0, myIframe.contentDocument.body.scrollHeight);
 | 
				
			||||||
 | 
					        }, 500);
 | 
				
			||||||
 | 
					        
 | 
				
			||||||
    </script>
 | 
					    </script>
 | 
				
			||||||
{% endif %}
 | 
					{% endif %}
 | 
				
			||||||
{% endblock %}
 | 
					{% endblock %}
 | 
				
			||||||
		Reference in New Issue
	
	Block a user