mirror of
https://github.com/pezkuwichain/phishing.git
synced 2026-06-14 06:11:02 +00:00
Re-add auto-focus
This commit is contained in:
+5
-6
@@ -77,6 +77,7 @@
|
|||||||
window.top.location.href = window.location.href;
|
window.top.location.href = window.location.href;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const search = document.getElementById('search');
|
||||||
const style = document.createElement('style');
|
const style = document.createElement('style');
|
||||||
const table = document.getElementById('table');
|
const table = document.getElementById('table');
|
||||||
|
|
||||||
@@ -203,6 +204,8 @@
|
|||||||
} else {
|
} else {
|
||||||
fillAddresses();
|
fillAddresses();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
search.focus();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -268,14 +271,10 @@
|
|||||||
Promise.all(metaJson.map(({ url }) => isUp(`https://${url}`)))
|
Promise.all(metaJson.map(({ url }) => isUp(`https://${url}`)))
|
||||||
]);
|
]);
|
||||||
|
|
||||||
document.getElementById('buttons').style.display = 'block';
|
|
||||||
fillTable('sites');
|
|
||||||
|
|
||||||
const search = document.getElementById('search');
|
|
||||||
|
|
||||||
search.addEventListener('input', onSearch);
|
search.addEventListener('input', onSearch);
|
||||||
search.style.display = 'block';
|
search.style.display = 'block';
|
||||||
search.focus();
|
document.getElementById('buttons').style.display = 'block';
|
||||||
|
fillTable('sites');
|
||||||
}
|
}
|
||||||
|
|
||||||
main();
|
main();
|
||||||
|
|||||||
Reference in New Issue
Block a user