Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Enter your own Javascript code here... */
- /* You can include JS files from remote servers, for example: */
- /* load_js("http://example.com/script.js"); */
- 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)
- }
- }
Add Comment
Please, Sign In to add comment