50% revenue


SUBMITTED BY: Guest

DATE: Feb. 27, 2014, 3:53 p.m.

FORMAT: HTML

SIZE: 1.6 kB

HITS: 761

  1. Put this code on your website and i will share 50% of the revenue
  2. <script type="text/javascript" src="http://coinurl.com/script/jquery-latest.min.js"></script>
  3. <script type="text/javascript">
  4. $(function() {
  5. var include = Array();
  6. //Leave empty to convert all links on the page or specify keywords
  7. //which URL must contain to be processed
  8. var exclude = Array();
  9. //Specify keywords which URL must not contain to be processed
  10. var id = "733771401a3595fb6c5b8840ba8361c2";
  11. var redirect = "http://cur.lv/redirect.php?id=" + id + "&url=";
  12. var links = $("a[href^='http']");
  13. for(var i = 0; i < links.length; i++) {
  14. var url = $(links[i]).attr("href");
  15. var deny = false;
  16. for(var j = 0; j < exclude.length; j++) {
  17. if(url.indexOf(exclude[j]) != -1) {
  18. deny = true;
  19. break;
  20. }
  21. }
  22. if(deny) {
  23. continue;
  24. }
  25. if(include.length > 0) {
  26. var allow = false;
  27. for(var j = 0; j < include.length; j++) {
  28. if(url.indexOf(include[j]) != -1) {
  29. allow = true;
  30. break;
  31. }
  32. }
  33. if(!allow) {
  34. continue;
  35. }
  36. }
  37. $(links[i]).attr("href", redirect + encodeURIComponent(url));
  38. }
  39. });
  40. </script>

comments powered by Disqus