Temporary fix to prevent hook error on Safari. I will implement a final fix tomorrow.

This commit is contained in:
unknown
2012-03-07 15:49:51 +01:00
committed by antisnatchor
parent c1975691f4
commit dbd6baa7b0
2 changed files with 4 additions and 53 deletions

View File

@@ -505,7 +505,10 @@ beef.browser = {
// if Chrome is detected, return true without injecting the unsigned applet.
// latest versions of Chrome requires manual user intervention even with unsigned applets,
// so basically we don't want to alert the user after the initial hook.
if(beef.browser.isC()){
//todo antisnatchor: this is a temporal fix, otherwise Safari is not-hooked.
//todo the applet in safari takes a few seconds to load.
if(beef.browser.isC() && beef.browser.isS()){
return true;
}else{