if (href.split[0] != this_page.split[0]) {
leave it be
} else if (href.split[1] != this_page.split[1]) {
leave it be
} else {
remove it

pardon my pseudo-code.

Scott said on November 18, 2004

Other than the potential issue that Gabriel mentioned, this looks like an excellent tool. I'll be implementing it when everything's sorted.

Sorry, comments are closed for this post. If you have any further questions or comments, feel free to send them to me directly.