This script allows you to short all links you have on your site. You can use it in two modes: Include domains or Exclude domains.
Include domains
You can choose the domains that will earn money for you. When you use it, no other links will be shortened. To do it, you have to write domains you want in to form.
For example: youtube.com, facebook.com, google.pl
Now, when someone clicks any sort of Youtube link on your site, they will see an intermediate page and after that they'll be taken to the destination URL.
But when they click any link to twitter, they will go straight to Twitter (no ads) because that domain isn’t on the list.
You don’t have to shorten every link, and if you want, parts of your link don’t have to be shortened either. It is all up to you.
Exclude domains
That script can shorten every link on your site besides the domains from the list. Just write in the form all domains you don’t want to shorten. It’s most commonly used to exclude your own domain. Like so:
For example: blog.com
Now, when someone clicks on your subpage, they won’t see any ads.
So, you can do it in two ways. First one includes ads with just a few chosen domains, while the second will shorten everything except the listed domains.