Changeset 147
- Timestamp:
- 01/10/07 13:13:06 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
honeyclient/branches/exp/stephenson-link_scoring/lib/HoneyClient/Agent/Driver/Browser.pm
r144 r147 1322 1322 # and really long text would be weird or abnormal to the human 1323 1323 # web surfer. 1324 if ($text !~ /img /i &&1324 if ($text !~ /img /i && 1325 1325 length($text) > $min_text_length && 1326 1326 length($text) < $max_text_length) { … … 1331 1331 # We score the size proportional to a 1024 X 768 display 1332 1332 # Image bonus 1333 if ($text =~ /img =/i) {1333 if ($text =~ /img /i) { 1334 1334 $score += $image_bonus; 1335 1335 }
