Black Hat Forum Black Hat SEO The only backlink provider with unlimited projects/links per day!
Go Back   Black Hat Forum Black Hat SEO > Black Hat SEO > Cloaking and Content Generators

Cloaking and Content Generators Discuss Cloaking, Doorway pages and Automatic content generators for search engine optimization

TouTube views   BLOG SEO
Search
 
E Serve BPO

LiveChatAgent



Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-02-2012, 10:00 AM
Newbies
 
Join Date: Dec 2011
Posts: 11
Thanks: 6
Thanked 4 Times in 3 Posts
Reputation: 10
iTrader: (0)
Post Client-side link cloaking script (newbies)

Here is a little test script I just wrote and should work to cloak links client-side, i wanted to share with you guys, specially newbies

This shows a normal link (internal link) to the user when hovering, but when he clicks it takes them to other link (internal or external, aff. link for example)

Note: I haven't tested it very much, but should work in all major browsers
Note also: you should also cloak server-side since google Will see this and f*** you

Code:
<html>
<head><title>Cloak test</title>

<script type="text/javascript">

var CLOAKED_LINK = "your-evil-script.html"; //change this value to your link

function cloakIt(event) {
   event.returnValue = false;
   if(event.preventDefault) event.preventDefault();
   window.location.href = CLOAKED_LINK;
   return false;
}
</script>

</head>
<body>

<a href="./friendly.html" onclick="cloakIt(event)" >Soccer</a>

</body>
</html>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to b4br 514h For This Useful Post:
YoutubeSlanger (01-04-2012)
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Server Side Cloaking & Redirecting The Scarlet Pimp Cloaking and Content Generators 0 06-03-2008 11:47 PM

BlackHole


Web Hosting
Copyright © 2005 - 2012 BlackHatWorld.com All rights reserved.