Microweber\Utils\lib\XSSSecurity::jsLinkRemoval PHP Method

jsLinkRemoval() protected method

JS link removal.
protected jsLinkRemoval ( array $match ) : string
$match array
return string
    protected function jsLinkRemoval($match)
    {
        return str_replace($match[1], preg_replace('#href=.*?(?:(?:alert|prompt|confirm)(?:\\(|&\\#40;)|javascript:|livescript:|mocha:|charset=|window\\.|document\\.|\\.cookie|<script|<xss|data\\s*:)#si', '', $this->filterAttributes(str_replace(['<', '>'], '', $match[1]))), $match[0]);
    }