/** * Enables or disables agressive link-searching. * * If this is set to FALSE, the crawler tries to find links only inside html-tags (< and >). * If this is set to TRUE, the crawler tries to find links everywhere in an html-page, even outside of html-tags. * The default value is TRUE. * * Please note that if agressive-link-searching is enabled, it happens that the crawler will find links that are not meant as links and it also happens that it * finds links in script-parts of pages that can't be rebuild correctly - since there is no javascript-parser/interpreter implemented. * (E.g. javascript-code like document.location.href= a_var + ".html"). * * Disabling agressive-link-searchingn results in a better crawling-performance. * * @param bool $mode * @return bool * @section 6 Linkfinding settings */ public function enableAggressiveLinkSearch($mode) { return $this->PageRequest->enableAggressiveLinkSearch($mode); }