Last active
August 29, 2015 14:14
-
-
Save TheGP/1b221e22ab29caef5554 to your computer and use it in GitHub Desktop.
smartresponder bookmarklet setting tags to every link in an email
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var waiting_popup = null; | |
| function proclick() { | |
| waiting_popup = null; | |
| if (0 != $('#module #links_area button.convetror').length) { | |
| $('#module #links_area button.convetror').first().trigger('click'); | |
| if (0 != $('div.convertor_area:visible input[type=button].btn-green').length) { | |
| $('div.convertor_area:visible input[type=button].btn-green').trigger('click'); | |
| waiting_popup = setInterval(function(){ | |
| if (0 != $('#modalWindowusedLinksConvertor_area ul.dkim_domain_check_failure_list a:first').length) { | |
| $('#modalWindowusedLinksConvertor_area ul.dkim_domain_check_failure_list a:first').trigger('click'); | |
| clearInterval(waiting_popup); | |
| setTimeout(function() { | |
| proclick(); | |
| }, 100); | |
| } | |
| }, 100); | |
| } | |
| } | |
| } | |
| proclick(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment