JS window.open link followed, though it's in a function
Hi.
We have a JS function like this, which gets written into the header of some pages: function popupURL(url_to_open, w, h) { var options = "toolbar=no,"; [... window.open(url_to_open, "popup", options); } This results in PhpDig trying to get this uris: /path/url_to_open,%20 /path/url_to_open,%20/ I think the search for links in JS should check if it's inside a function.. |
Here's what the documentation says about that:
Quote:
|
Yes, I understood that. The point was just that phpdig should detect that this is a window.open() in a function and _ignore_ it.
|
True, but there are people who want PhpDig to crawl various links, such as those with JavaScript, spaces, or quotes, so an overall general rule is hard to come by to please all, but feel free to pose a "general" rule. :) Otherwise, set SILENCE_404S to true in the config file.
|
All times are GMT -8. The time now is 04:16 PM. |
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.