Created
June 19, 2017 08:34
-
-
Save subins2000/b7f58625f95c1b8b24d6455f88cc0b73 to your computer and use it in GitHub Desktop.
WordPress newsletter Plugin : Resend Confirmation To All persons Shows In List
This file contains 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
/** | |
* Run this in browser console | |
*/ | |
!function(c){var t=document.createElement("script");t.type="text/javascript",t.async=!0,t.onload=c,t.src="https://malsup.github.io/jquery.form.js";var e=document.getElementsByTagName("script")[0];e.parentNode.insertBefore(t,e)}(function(){ | |
jQuery("td:nth-child(1)").each(function(){ | |
jQuery('form#channel').find('[name=btn]').val(jQuery(this).text().replace(/(\r\n|\n|\r)/gm,"").trim()); | |
jQuery('form#channel').find('[name=act]').val('resend'); | |
jQuery('form#channel').ajaxSubmit(); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment