I'm giving away a small freeware utility that generates javascript encapsulated pages for hiding affiliate links. It's not foolproof, but it is better than nothing.
Bernard, I download the tool and used it for one web site. It appears to work very nicely. Why does it prompt you for the web page name? I don't see where it makes any use of it?
It uses that input for the <title> tag on the output page. You should use the same title tag as the target page of the affiliate link.