Created
May 9, 2016 18:38
-
-
Save balbuf/8dbd1e928fbe07ab6a69611185bbbc38 to your computer and use it in GitHub Desktop.
Bookmarklet to stop subsequent WordPress heartbeat calls in the current page load (prepend with `javascript:`)
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
(function($,a,f){a=$.ajax,f={};f.done=f.fail=f.always=f.abort=function(){return f};$.ajax=function(d){return d&&d.data&&d.data.action=='heartbeat'?f:a.apply($,arguments)};console.log('\uD83D\uDC94')})(jQuery); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment