How can I make a javascript file only work on a single domain. I'll compress this file and when somebody tries to use it by copying my web site or just the javascript file, it won't work and give alert.
Here is an example. I downloaded all files but when try to view it gives an alert that says I need to buy it (what exactly I'm going to do :)