smulholland2 / skipfish

Automatically exported from code.google.com/p/skipfish
Apache License 2.0
0 stars 0 forks source link

Skip links based on text rather than href #116

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I know that skipfish has the -X option to exclude directories and such, but I 
am running into a situation where skipfish is clicking a logout link whose href 
calls javascript (some ASP.NET thing) rather than being an actual link to a 
page.  I can't seem to get skipfish to not follow the logout link.  It would be 
nice to have the option to tell skipfish to skip any links whose text matches 
some string.  For example, give skipfish the argument "Logout" and it would 
skip any link of the form <a href="....">Logout</a>.

Original issue reported on code.google.com by AlexK...@gmail.com on 23 Apr 2011 at 7:15

GoogleCodeExporter commented 8 years ago
Skipfish doesn't really "click" javascript links, because it does not have a JS 
engine. I am almost certain that being able to exclude links based on the inner 
text will not solve your problem. There is probably some other logout URL you 
are hitting; consulting server / application logs may be useful.

Original comment by lcam...@gmail.com on 14 Jun 2011 at 5:45