Merge pull request #1813 from beefproject/jsdoc

Jsdoc
This commit is contained in:
Jack Walker
2020-01-02 16:52:41 +10:00
committed by GitHub
118 changed files with 88783 additions and 361 deletions

View File

@@ -4,14 +4,20 @@
// See the file 'doc/COPYING' for copying permission
//
/*
Sometimes there are timing issues and looks like beef_init
is not called at all (always in cross-origin situations,
for example calling the hook with jquery getScript,
or sometimes with event handler injections).
To fix this, we call again beef_init after 1 second.
Cheers to John Wilander that discussed this bug with me at OWASP AppSec Research Greece
antisnatchor
/**
* Sometimes there are timing issues and looks like beef_init
* is not called at all (always in cross-origin situations,
* for example calling the hook with jquery getScript,
* or sometimes with event handler injections).
*
* To fix this, we call again beef_init after 1 second.
* Cheers to John Wilander that discussed this bug with me at OWASP AppSec Research Greece
* antisnatchor
* @namespace beef.timeout
*/
/**
* @memberof beef.timeout
* @function setTimeout
*/
setTimeout(beef_init, 1000);