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
$(function(){ | |
/* poll for commands to run. I mostly use it with window.location.reload(true); */ | |
function remoteCommand() { | |
$.ajax({ | |
url: "/wp-content/themes/thr3/remoteCommand.php", | |
cache: false, | |
timeout: 100000, | |
success: function(data) { | |
if (data != 'no') { |