1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Code for Cloaking CPA offer URL

Discussion in 'Cloaking and Content Generators' started by beyondrecruiters, Oct 15, 2009.

  1. beyondrecruiters

    beyondrecruiters Junior Member

    Joined:
    Sep 19, 2008
    Messages:
    145
    Likes Received:
    11
    I need some code that hides the cpa offer url in a users browser, and when they try to do a view source, it should encrypt the page as well as disable right clicking, and anything else that makes it difficult for the user who clicked your link to discover the real URL.

    Is there any open source code available somewhere that does this?

    I need to modify my current script to add such an option.
     
  2. beyondrecruiters

    beyondrecruiters Junior Member

    Joined:
    Sep 19, 2008
    Messages:
    145
    Likes Received:
    11
    I'd prefer not to have to buy a new domain every time i have to cloak a url.
     
  3. bgallotte

    bgallotte Newbie

    Joined:
    Jul 29, 2009
    Messages:
    23
    Likes Received:
    3
    Location:
    London - UK
    If it is for use in a WP Blog you can try Pretty Link Plugin.. It can do exactly what you need. They have a free and paid version..
    If it isnt a blog what you can do is to install wordpress in a subdomain or a normal folder just to use pretty link to cloak your CPA Urls on your main domain. It can be easely set up.

    You can download the free version here:

    hxxp://wordpress.org/extend/plugins/pretty-link/
     
  4. beyondrecruiters

    beyondrecruiters Junior Member

    Joined:
    Sep 19, 2008
    Messages:
    145
    Likes Received:
    11
    Thanks, but i am actually looking for some php code that does that, so i can incorporate it into my own private cloaking tool.

    If anybody has such code that does exactly what I need, I'll pay for it.

    Thanks.
     
  5. saintbernardul

    saintbernardul Junior Member

    Joined:
    May 2, 2009
    Messages:
    177
    Likes Received:
    238
    Occupation:
    Online Marketer
    Location:
    Europe
    Is no need to buy the new domains ...just use co.cc domain for free ...5 per account
     
  6. beyondrecruiters

    beyondrecruiters Junior Member

    Joined:
    Sep 19, 2008
    Messages:
    145
    Likes Received:
    11
    i am looking for a script with the features i mentioned..it should be php/javascript and do the following:

    cloak the cpa url with my own domain,
    when they try to do a view source, it should encrypt the page as well as disable right clicking,
    anything else to prevent a typical user from being able to identify the real cpa url is an added bonus.
     
  7. CSalt2

    CSalt2 Jr. VIP Jr. VIP Premium Member

    Joined:
    Feb 5, 2009
    Messages:
    753
    Likes Received:
    357
    Now aren't they still going to be able to find out your affiliate id through the cookie?
     
  8. zackster

    zackster Registered Member

    Joined:
    Jan 9, 2009
    Messages:
    66
    Likes Received:
    33
    What you could do is the following:
    Code:
    <html>
    <head>
    <script language="JavaScript"> 
    // distributed by http://hypergurl.com <!-- var popup="Sorry, right-click 
    is disabled.\n\nThis Site Copyright ©2000"; function noway(go) { if 
    (document.all) { if (event.button == 2) { alert(popup); return false; } } if (document.layers) 
    { if (go.which == 3) { alert(popup); return false; } } } if (document.layers) 
    { document.captureEvents(Event.MOUSEDOWN); } document.onmousedown=noway; // --> 
    </script>
    <script language="JavaScript1.1"> 
    // distributed by http://www,hypergurl.com <!-- var debug = true; function 
    right(e) { if (navigator.appName == 'Netscape' && (e.which == 3 || e.which 
    == 2)) return false; else if (navigator.appName == 'Microsoft Internet Explorer' 
    && (event.button == 2 || event.button == 3)) { alert('This Page is fully 
    protected!'); return false; } return true; } document.onmousedown=right; if (document.layers) 
    window.captureEvents(Event.MOUSEDOWN); window.onmousedown=right; //--></script>
    </head>
    <body ondragstart="return false" onselectstart="return false">
    <script>
    <!--
    var nm;
    nm = "aff_url.com";
    document.write('<iframe src="http://');
    document.write(nm);
    document.write('" width="100%" height="100%" onMouseOver="window.status=\'\'; return true" frameborder="0" scrolling="no">Sorry but your browser doesn\'t fully support this site.</iframe>');
    //-->
    </script>
    </body>
    </html>
    
    Change the aff_link.com to your aff link and then go to:
    Code:
    http://www.digsys.se/js_hide.html
    or
    http://www.crypo.com/eng_jse.php
    or
    http://www.crypo.com/eng_jhtm.php
    
    And encode/encrypt all the code then it gives you the javascript form of it making it harder to understand to the normal user or advertising network.


    If this helped you please give some rep. tnx
     
  9. SpamHat

    SpamHat Junior Member Premium Member

    Joined:
    Apr 27, 2009
    Messages:
    151
    Likes Received:
    67
    Location:
    UK
    What you could try is this:

    Have your links setup to call a javascript onclick.
    Have an encoded timestamp as an argument for this JS function delivered with the page.

    This javascript contains the encoded url - but it only returns this if it's called within, say 60 seconds of the original timestamp.

    Then just POST to the url from the javascript. This way it's not in the code and it's not in the browser at the other end.
     
  10. DemonAbumi

    DemonAbumi Registered Member

    Joined:
    Oct 18, 2009
    Messages:
    54
    Likes Received:
    2
    Occupation:
    Student
    Location:
    America
    Where do I place this? Can this be used for blogger? Is this a redirect code?
     
  11. badd

    badd Regular Member

    Joined:
    Jan 22, 2008
    Messages:
    360
    Likes Received:
    51
    Occupation:
    Innovator
    Location:
    Earth
    You can use this as well.

    <head>
    <meta http-equiv="Refresh" content="0;URL=http://www.yourdomain.com">
    <title>Hi</title>
    </head>
    <body>
    </body>
    </html>
     
  12. quinnie

    quinnie Registered Member

    Joined:
    Nov 1, 2009
    Messages:
    59
    Likes Received:
    23
    Cool information, I never thought of installing a wp blog in a folder then use pretty link to hide the aff link. Learning something new everyday... I prefer pretty link over meta refreshes because of the tracking! now thats a plus.