Home    Clean Page2    Source Code2    Contact Me / Feedback


  1. Add "<script language="JavaScript" src="linkkiller2.js"></script>" to the <head></head> section of your pages.
  2. Add onDblClick="dbl = 1;" onunload=unload() onbeforeunload="unload()" onload="grabbody()" to your body tag as shown below.
  3. Copy the LinkKiller2.js file to your web server.
  4. Add the <div id=lnkkill_1>CONTENT</div> tags to your pages.
  5. Optional: Add the MicroSoft Meta-Tag <meta name="MSSmartTagsPreventParsing" content="TRUE"> to the <head></head> section of your pages.

I have set-up the JavaScript up to clean two sections of the page by default, these sections should be enclosed in DIV tags eg..

<div id=lnkkill_1>CONTENT</div>
<div id=lnkkill_2>CONTENT</div>

To add more sections or to reduce the number of sections to be cleaned simply edit the lines immedetly following the comments in the JavaScript file, look for the following comment lines

// If you have more sections of text to clean add more lines to this area

Just remember to match up the names used in the DIV tags to the names in the script. (lnkkill_1, lnkkill_2, lnkkill_3 etc...)

Example of how your pages will look after the code is installed:

<title>Yellow and Green Link Killer</title>
<meta name="MSSmartTagsPreventParsing" content="TRUE">
<script language="JavaScript" src="linkkiller.js"></script>
<body onDblClick="dbl = 1;" onunload=unload() onbeforeunload="unload()" onload="grabbody()">

Your Top Banner


<div id=lnkkill_1>
Some content that needs cleaning. </div>

<div id=lnkkill_2>
Some more content that needs cleaning.
Some Graphics or Adverts
<div id=lnkkill_3>
A third section of content that needs cleaning.
Your Bottom Banner




© Copyright 2001 TrafficG.com & EternalHits.com. All rights reserved.