I am trying to script a document to exclude images on link depths above 1. I am clueless with Java, but thought I'd give it a try.
Quote:
document.onimagelink = function(link) {
if (link.depth => 1) {
link.exclude = true;
}
};
|
This is what I tried. It crashed, saying "Error: Exception reading script file null: syntax error (<embedded> #2)" What am I doing wrong?
Thanks in advance.