Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var origAlert = window.alert;
- window.alert = function(m) {
- if (!/The server took too long to submit your post/.test(m)) {
- origAlert(m);
- } else {
- setTimeout(function() {
- $('.submit > input').click();
- }, 1000)
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement