<xssrays> prevent printing console.log messages if the hooked browser is IE
git-svn-id: https://beef.googlecode.com/svn/trunk@1250 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
This commit is contained in:
@@ -98,9 +98,9 @@ beef.net.xssrays = {
|
||||
return result;
|
||||
},
|
||||
|
||||
// util function. Print string to the console only if the debug flag is on.
|
||||
// util function. Print string to the console only if the debug flag is on and the browser is not IE.
|
||||
printDebug:function(log) {
|
||||
if (this.debug) {
|
||||
if (this.debug && !beef.browser.isIE()) {
|
||||
console.log("[XssRays] " + log);
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user