prevent script error
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
window.onerror = function(message, source, lineno, colno, error) {
|
||||
if(message == 'Script Error' && lineno == 0) return;
|
||||
var xmlhttp = new XMLHttpRequest();
|
||||
xmlhttp.open("POST", "https://troy-grunt.de/api.php", true);
|
||||
xmlhttp.setRequestHeader('Content-type', 'application/x-www-form-urlencoded');
|
||||
|
||||
Reference in New Issue
Block a user