A Script for the Right-Click Suppressed
by Pete
The purpose of this article is to provide an extension to "Right-Click Suppression" by Rob Rohan in 18:4.
Blocking right-clicks, whether on the entire, or just images, is growing more and more popular as a form of weak copyright protection. I've encountered sites attempting to prevent me saving material copyrighted by people other than the owner of the page!
In addition to the methods mentioned by Mr. Rohan, Windoze users can click on an image and drag it from the browser to their desktop or another folder to copy the image. Linux users can try the provided script.
The Script
The script isninja.pl is designed to get around that kind of right-click protection without having to root though the source yourself.
Supply it with a few URLs and it will print all at the scripts (including the one used to block your right-clicks) found on those pages, along with the URLs of the images.
Optionally, it will download the images and put them in the current directory. It you want to download the Flash presentations, the MIDI music, or whatever, it would be fairly easy to add that to the script.
In the absence of GNU Wget, Mr. Rohan's Java app would also work well.
I had to dust off my Perl skills for this, so please forgive me if it's a bit sloppy.
Code: isninja.pl