|
09-24-2004, 06:05 AM | #1 |
Green Mole
Join Date: Sep 2004
Posts: 19
|
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.. |
09-24-2004, 06:27 PM | #2 | |
Purple Mole
Join Date: Jan 2004
Posts: 694
|
Here's what the documentation says about that:
Quote:
|
|
10-08-2004, 02:29 AM | #3 |
Green Mole
Join Date: Sep 2004
Posts: 19
|
Yes, I understood that. The point was just that phpdig should detect that this is a window.open() in a function and _ignore_ it.
|
12-04-2004, 07:54 PM | #4 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
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.
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Search box opening a new window? | llawrence | Troubleshooting | 0 | 05-23-2007 05:39 AM |
Failed to Open | mortickles | Troubleshooting | 2 | 05-07-2004 09:48 AM |
Open or Close? | Charter | The Mole Hole | 13 | 03-30-2004 07:48 AM |
link open in a new window | louie | Coding & Tutorials | 1 | 02-19-2004 12:23 PM |
Spidering js-Files | gunwalt | Mod Requests | 0 | 02-04-2004 06:58 AM |