exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

adkill-howto.htm

adkill-howto.htm
Posted Dec 24, 1999
Authored by SmoG | Site smog.cjb.net

How to remove ads from free webpage providers - Version 1.1.

tags | javascript
SHA-256 | c41ffc76e9e0f26b6adf4777d4259602b917ce70a899ce3599a318212d1b5f4b

adkill-howto.htm

Change Mirror Download
<!DOCTYPE HTML PUBLIC "html.dtd">
<HTML>
<HEAD><SCRIPT>function ScreenIt(url,name,parm){if(name.indexOf("Popup")!=-1) return false; return window.Xopen(url,name,'toolbar=1,location=1,directories=1,status=1,menubar=1,scrollbars=1,resizable=1');} window.Xopen=window.open;window.open=ScreenIt;</SCRIPT>
<TITLE>HOW-TO Beat the ADS on FWP (Free Webpage Providers)?</TITLE>
<META CONTENT="text/html; charset=iso-8859-1" HTTP-EQUIV="Content-Type">
<META NAME="description" CONTENT="This HOW-TO contains techniques for removing ads, frames, pop-ups from FWP (Free webpage providers)">
<LINK HREF="http://smog.cjb.net/">

</HEAD>

<BODY BGCOLOR="#FFFFFF">
<P ALIGN="center"><B><FONT FACE="Arial, Helvetica, sans-serif">HOW-TO <FONT COLOR="#000033">Beat
the ADS on FWP (Free Webpage Providers)</FONT> ?</FONT></B></P>
<P ALIGN="center"><FONT FACE="Arial, Helvetica, sans-serif"><B><A HREF="http://smog.cjb.net/html/adkill.htm">http://smog.cjb.net</A><BR>
Version 1.1</B><BR>
December 22,1999 © 1999 SmoG Alert.</FONT></P>
<HR WIDTH="50%" SIZE="2">
<P><FONT FACE="Arial, Helvetica, sans-serif"><B>INDEX :</B></FONT></P>
<BLOCKQUOTE>
<P><FONT SIZE="2" FACE="Arial, Helvetica, sans-serif"><B><A HREF="http://smogalert.tripod.com/html/adkill-howto.htm#why">Why
?</A><BR>
<A HREF="http://smogalert.tripod.com/html/adkill-howto.htm#history">History</A> <BR>
</B></FONT><FONT SIZE="2" FACE="Arial, Helvetica, sans-serif"><B><A HREF="http://smogalert.tripod.com/html/adkill-howto.htm#popups">1
- Pop-ups</A><BR>
<A HREF="http://smogalert.tripod.com/html/adkill-howto.htm#rempopups">1.1 - Removing the Pop-ups</A><BR>
<A HREF="http://smogalert.tripod.com/html/adkill-howto.htm#killpopups">1.2 - Killing pop-ups when they appear</A><BR>
<A HREF="http://smogalert.tripod.com/html/adkill-howto.htm#banners">2 - Banners</A><BR>
<A HREF="http://smogalert.tripod.com/html/adkill-howto.htm#invisible">3 - Make stuff invisible (banners, counters, buttons,
text, etc)</A><BR>
<A HREF="http://smogalert.tripod.com/html/adkill-howto.htm#frames">4 - Frames</A><BR>
<A HREF="http://smogalert.tripod.com/html/adkill-howto.htm#end">5 - Remove end</A><BR>
<A HREF="http://smogalert.tripod.com/html/adkill-howto.htm#rules">6 - Avoiding rule scanners</A><BR>
<A HREF="http://smogalert.tripod.com/html/adkill-howto.htm#reach">7 - Make sure users can reach you page</A><BR>
</B></FONT><FONT SIZE="2" FACE="Arial, Helvetica, sans-serif"><B><A HREF="http://smogalert.tripod.com/html/adkill-howto.htm#bibliography">8
- Contributions / Bibliography</A><BR>
<A HREF="http://smogalert.tripod.com/html/adkill-howto.htm#copyright">9 - Copyright</A></B></FONT></P>
</BLOCKQUOTE>
<P><FONT FACE="Arial, Helvetica, sans-serif"><B>Why ?<A NAME="why"></A></B></FONT></P>
<UL>
<LI><FONT FACE="Arial, Helvetica, sans-serif">To let amateur webmasters have
complete control of what they sites look like.</FONT></LI>
<LI><FONT FACE="Arial, Helvetica, sans-serif">I'm tired of seeing publicity
I didn't asked for and closing pop-ups that I didn't asked to see.<BR>
</FONT></LI>
<LI><FONT FACE="Arial, Helvetica, sans-serif">Having to show some advertisement
spoils good webdesign.</FONT></LI>
<FONT FACE="Arial, Helvetica, sans-serif"><BR>
</FONT>
<LI><FONT FACE="Arial, Helvetica, sans-serif">Most of the time the servers are
slow enough without ads.</FONT></LI>
<FONT FACE="Arial, Helvetica, sans-serif"><BR>
</FONT>
<LI><FONT FACE="Arial, Helvetica, sans-serif">Webmasters from sites that have
publicity don't get any $ for their publicity.</FONT></LI>
<FONT FACE="Arial, Helvetica, sans-serif"><BR>
</FONT>
<LI><FONT FACE="Arial, Helvetica, sans-serif">People are trying to offer a service
to the community and the only one that gets anything from it are the sponsors.</FONT></LI>
<FONT FACE="Arial, Helvetica, sans-serif"><BR>
</FONT>
<LI><FONT FACE="Arial, Helvetica, sans-serif">There's lots of software that
blocks ads, by using this techniques viewers don't need to use that kind of
software.</FONT></LI>
<FONT FACE="Arial, Helvetica, sans-serif"><BR>
</FONT>
</UL>
<P><FONT FACE="Arial, Helvetica, sans-serif"><B>History:<A NAME="history"></A></B></FONT></P>
<BLOCKQUOTE>
<P><FONT FACE="Arial, Helvetica, sans-serif">Version 1.1</FONT> -> <FONT FACE="Arial, Helvetica, sans-serif">Added
new popups removal technique that kills them all . </FONT></P>
</BLOCKQUOTE>
<P><FONT FACE="Arial, Helvetica, sans-serif"><B>1 - Pop-ups :<A NAME="popups"></A></B></FONT></P>
<P><FONT FACE="Arial, Helvetica, sans-serif"><B>1.1 - Removing the Pop-ups :<A NAME="rempopups"></A></B></FONT></P>
<BLOCKQUOTE>
<P><FONT FACE="Arial, Helvetica, sans-serif">This technique makes the browser
ignore the pop-up.</FONT></P>
<P><FONT FACE="Arial, Helvetica, sans-serif">The pop-up is a javascript code,
so if we surround the place where the server inserts this code with a <noscript>
or a <!-- //--> (comment) tag the pop-up will be ignored.</FONT></P>
<P><FONT FACE="Arial, Helvetica, sans-serif"><B>·</B> Look at the example for
the <!-- (comment) tag: <BR>
</FONT></P>
<BLOCKQUOTE>
<P><FONT SIZE="2" FACE="Arial, Helvetica, sans-serif"><!-- Start code //--><BR>
<NOSCRIPT><BR>
<B><!--</B> <BODY> <B>--></B> // the Decoy body tag, it can
at the beginning of the head tag too<BR>
</NOSCRIPT><BR>
<TITLE>Your Title Here</TITLE><BR>
</HEAD><BR>
<BODY> // The real body tag</FONT></P>
</BLOCKQUOTE>
<P><FONT FACE="Arial, Helvetica, sans-serif"><B>·</B> Look at the example for
the <noscript> tag:</FONT></P>
<BLOCKQUOTE>
<P><FONT SIZE="2" FACE="Arial, Helvetica, sans-serif"><!-- Start code //--><BR>
<B><NOSCRIPT></B><BR>
<BODY> // the server will insert their code right before or after
the <body> tag so any javascript will be ignored<BR>
<B></NOSCRIPT></B></FONT></P>
</BLOCKQUOTE>
<P><FONT FACE="Arial, Helvetica, sans-serif"><B>·</B> A Meta tag may be usefull
when the server uses a </noscript> before the zone where they pop-up
will be inserted, because the <noscript> technique is disabled:</FONT></P>
<BLOCKQUOTE>
<P><FONT SIZE="2" FACE="Arial, Helvetica, sans-serif"><HTML><BR>
<B><META popupssuck="</B><BR>
<HEAD><BR>
<TITLE>Your Page Title</TITLE><BR>
</HEAD><BR>
<BODY><BR>
<!-- your homepage--></FONT></P>
</BLOCKQUOTE>
<P><FONT FACE="Arial, Helvetica, sans-serif"><B>·</B> A simpler way in case
you don't need to open any windows using javascript is to include this code
in every page of the site.</FONT></P>
<BLOCKQUOTE>
<P><FONT SIZE="2" FACE="Arial, Helvetica, sans-serif"><!-- Start code //--><BR>
<SCRIPT LANGUAGE="JavaScript"><BR>
<!--<BR>
function open () {return true;} // this will redefine the open function.<BR>
//--><BR>
</SCRIPT></FONT></P>
</BLOCKQUOTE>
<P><FONT FACE="Arial, Helvetica, sans-serif"><B>·</B> The jawascript method
is used when the server inserts a </noscript> before the pop-up, this
way the <noscript> trick won't work so if I insert a "<SCRIPT
LANGUAGE="JawaScript">" (notice that jawascript can be anything,
it's only convenience is looking like javascript) will disable the rest of
the script.</FONT></P>
<BLOCKQUOTE>
<P><FONT FACE="Arial, Helvetica, sans-serif"><B><FONT SIZE="2"><SCRIPT
LANGUAGE="JawaScript"></FONT></B><FONT SIZE="2"> // just insert
this line before the place where the pop-up will be.<BR>
<!-- --><BR>
</noscript><BR>
<script language="JavaScript"></FONT></FONT></P>
</BLOCKQUOTE>
<P><FONT FACE="Arial, Helvetica, sans-serif"><B>·</B> This script by "the_omega"
allows the opening of all urls in new windows except one that contains the
word popup.html .</FONT></P>
<BLOCKQUOTE>
<P> <FONT SIZE="2" FACE="Arial, Helvetica, sans-serif"><SCRIPT><BR>
<!--<BR>
function ScreenIt(url,name,parm){<BR>
if(<B>url.indexOf("popup.html"</B>)!=-1) return false;<BR>
return window.Xopen(url,name,parm);<BR>
}<BR>
window.Xopen=window.open;<BR>
window.open=ScreenIt;<BR>
//--><BR>
</SCRIPT></FONT></P>
</BLOCKQUOTE>
<P><FONT FACE="Arial, Helvetica, sans-serif"><B>·</B> My version of the previous
script will kill any popups by checking it's name, instead of a location,
it's more accurate than the previous one and it's in my opinion the ultimate
popup killer. I even included it in the top of this document source :)) you
must check you web provider to see the name of the window their javascript
code will open, but normally is something that included "opup".</FONT></P>
<BLOCKQUOTE>
<P><FONT SIZE="2" FACE="Arial, Helvetica, sans-serif"><SCRIPT><BR>
<!--</FONT> <FONT SIZE="2" FACE="Arial, Helvetica, sans-serif"><BR>
function ScreenIt(url,name,parm)<BR>
{<BR>
if(<B>name.indexOf("opup"</B>)!=-1) return false; <BR>
return window.Xopen(url,name,'toolbar=1,location=1,directories=1,status=1,menubar=1,scrollbars=1,resizable=1');<BR>
}<BR>
window.Xopen=window.open;<BR>
window.open=ScreenIt;<BR>
//--></FONT> <FONT SIZE="2" FACE="Arial, Helvetica, sans-serif"><BR>
</SCRIPT></FONT></P>
<P>&nbsp;</P>
</BLOCKQUOTE>
<P></P>
</BLOCKQUOTE>
<P><FONT FACE="Arial, Helvetica, sans-serif"><B>1.2 - Killing pop-ups when they
appear :<A NAME="killpopups"></A></B></FONT></P>
<BLOCKQUOTE>
<P><FONT FACE="Arial, Helvetica, sans-serif"><B>·</B> When a pop-up name open
it will have a name, what this script does is open a window with that name
and closing it right after.<BR>
"w" is name of the window do open and close, this can be anything
w is just an example.<BR>
To know the "Popupname" you must look at the code the server inserts
in your page and get it there.<BR>
The window.focus() is optional, it will only make this window become active
when the popup closes. </FONT></P>
<BLOCKQUOTE>
<P><FONT SIZE="2" FACE="Arial, Helvetica, sans-serif"><!-- Start code //--><BR>
<script language="JavaScript"><BR>
w=window.open("http://smog.cjb.net","<B>Popupname</B>","");<BR>
w.window.close();<BR>
window.focus();<BR>
<!-- End code //--></FONT></P>
</BLOCKQUOTE>
<HR WIDTH="50%" SIZE="2">
</BLOCKQUOTE>
<P><FONT FACE="Arial, Helvetica, sans-serif"><B>2 - Banners :<A NAME="banners"></A></B></FONT></P>
<BLOCKQUOTE>
<P><FONT FACE="Arial, Helvetica, sans-serif"><B>·</B> If you need to remove
a banner in a place of your choice use the <A HREF="http://smogalert.tripod.com/html/adkill-howto.htm#invisible">make invisible
technique</A>, if the server inserts the code in the end of the document just
use "<A HREF="http://smogalert.tripod.com/html/adkill-howto.htm#end">remove end</A>" of document technique. You can
also replace the banner with the image you want.</FONT></P>
<P><FONT FACE="Arial, Helvetica, sans-serif"><B>·</B> If the banner is placed
automatically on the beginning of the page, the best thing to do is have a
layer filling the space occupied by the ad. This banner can contain a image
or a solid color background. </FONT></P>
<BLOCKQUOTE>
<P><FONT SIZE="2" FACE="Arial, Helvetica, sans-serif"><LAYER top="27"
name="top"><center> <BR>
<IMG SRC="http://smog.cjb.net/logo2.gif" width="490"
height="95"></center> <BR>
</LAYER></FONT></P>
</BLOCKQUOTE>
<P><FONT FACE="Arial, Helvetica, sans-serif"><B>·</B> If the banner is a shtml
code like <NOSCRIPT> <!--#geoguide--> or something like that you can
use the</NOSCRIPT></FONT></P>
<BLOCKQUOTE>
<P><FONT SIZE="2" FACE="Arial, Helvetica, sans-serif"> <NOSCRIPT><BR>
<!--#geoguide--><BR>
</NOSCRIPT></FONT></P>
</BLOCKQUOTE>
<P><FONT FACE="Arial, Helvetica, sans-serif"><B>·</B> It's possible to change
the banner to any image you want, your logo or maybe a 1x1 transparent gif
.</FONT></P>
<P><FONT FACE="Arial, Helvetica, sans-serif">Change the "src" property
of the image by refering to the image number on the page, if the banner is
on top it's number must be 0 if it's the last image on the page you must count
all the images, or in case the banner has a "name" property you
can replace the "images[0]" with the "name" value of the
image. Just insert this script after the image you want to replace.</FONT></P>
<BLOCKQUOTE>
<P><FONT SIZE="2" FACE="Arial, Helvetica, sans-serif"><script language="JavaScript"><BR>
<!-- <BR>
document.images[0].src='banners_suck.gif';<BR>
--> <BR>
</script></FONT></P>
</BLOCKQUOTE>
</BLOCKQUOTE>
<HR WIDTH="50%" SIZE="2">
<P><FONT FACE="Arial, Helvetica, sans-serif"><B>3 - Make stuff invisible (banners,
counters, buttons, text, etc) :<A NAME="invisible"></A></B></FONT></P>
<BLOCKQUOTE>
<P><FONT FACE="Arial, Helvetica, sans-serif"><B>·</B> This technique is possible
using layers, the variables don't really matter the important this is the
"visibility=hide" part.<BR>
Just add your invisible stuff to a layer like this:</FONT></P>
<BLOCKQUOTE>
<P><FONT SIZE="2" FACE="Arial, Helvetica, sans-serif"><ilayer id="invisible"
z-index="1" visibility="hide" >Your banners,counters,
text here</ilayer></FONT></P>
</BLOCKQUOTE>
<P><FONT FACE="Arial, Helvetica, sans-serif">The "Your banners,counters,
text here" will be invisible to everyone viewing your page but not for
their browsers.</FONT></P>
</BLOCKQUOTE>
<HR WIDTH="50%" SIZE="2">
<P><FONT FACE="Arial, Helvetica, sans-serif"><B>4 - Frames :</B><A NAME="frames"></A><BR>
</FONT></P>
<BLOCKQUOTE>
<P><FONT FACE="Arial, Helvetica, sans-serif"><B>·</B> This code checks for the
existence of frames, if they exist the page where you put this code becomes
the only page in the browser.</FONT></P>
<BLOCKQUOTE>
<P><FONT SIZE="2" FACE="Arial, Helvetica, sans-serif"><script language=JavaScript><BR>
if(top!=self){top.location.href=self.location.href;} <BR>
</script></FONT></P>
</BLOCKQUOTE>
<P><FONT FACE="Arial, Helvetica, sans-serif"><B>·</B> or have the first page
of your site point to a second one with this code on the body:</FONT></P>
<BLOCKQUOTE>
<P><FONT SIZE="2" FACE="Arial, Helvetica, sans-serif"><body onLoad="window.open('http://smog.cjb.net/html/index.htm','_parent')"></FONT></P>
</BLOCKQUOTE>
<P><FONT FACE="Arial, Helvetica, sans-serif">By opening in a _parent window
the browser will go to the previous window in the history, this is the one
just before the frames and open the site there.</FONT></P>
<P><FONT FACE="Arial, Helvetica, sans-serif">Sometimes the location that FWP
give you is just an alias to your real page location. They use this aliasing
method to make users load a frame, if you know where the real page is located
just make some redirector point there.</FONT></P>
<P><FONT FACE="Arial, Helvetica, sans-serif">Just look at the xoom example</FONT></P>
<BLOCKQUOTE>
<P><FONT FACE="Arial, Helvetica, sans-serif">"http://members.xoom.com/_XOOM/username/"
is your real page location and "http://members.xoom.com/username/"
is the location they use to make viewers load the adframe.</FONT></P>
</BLOCKQUOTE>
<P><FONT FACE="Arial, Helvetica, sans-serif">To discover the real location of
your site just press right mouse click on your page and look in the "info"
panel.</FONT></P>
</BLOCKQUOTE>
<HR WIDTH="50%" SIZE="2">
<P><FONT FACE="Arial, Helvetica, sans-serif"><B>5 - Remove end :<A NAME="end"></A></B></FONT></P>
<BLOCKQUOTE>
<P><FONT FACE="Arial, Helvetica, sans-serif"><B>·</B> Sometimes servers add
stuff in the end of the pages, to remove it just place <!-- or <noscript>
before the place where they're publicity is going to be, the <!-- comments
the rest of the file making it only visible when viewing the source, the <noscript>
is used if the ad comes in form of javascript, disabling it.</FONT></P>
</BLOCKQUOTE>
<HR WIDTH="50%" SIZE="2">
<P><FONT FACE="Arial, Helvetica, sans-serif"><B>6 - Avoiding rule scanners :<A NAME="rules"></A></B></FONT></P>
<BLOCKQUOTE>
<P><FONT FACE="Arial, Helvetica, sans-serif"><B>·</B> Some servers scan .htm
files for suspect code, spliting popups names is useful when escaping this
scanners.</FONT></P>
<BLOCKQUOTE>
<P><FONT SIZE="2" FACE="Arial, Helvetica, sans-serif">var Popup="po"+"pWind"+"ow";
window.onError=null; tasteful=window.open(newpage,wndname,""); </FONT></P>
</BLOCKQUOTE>
<P><FONT FACE="Arial, Helvetica, sans-serif"><B>·</B> You should also encode
your code in hexadecimal format. When it is encoded put it like this</FONT></P>
<BLOCKQUOTE>
<P><FONT SIZE="2" FACE="Arial, Helvetica, sans-serif"> <SCRIPT> <BR>
<!--<BR>
eval(unescape("your code in hex here"))<BR>
//--> <BR>
</SCRIPT></FONT> </P>
</BLOCKQUOTE>
</BLOCKQUOTE>
<HR WIDTH="50%" SIZE="2">
<P><FONT FACE="Arial, Helvetica, sans-serif"><B>7 - Make sure users can reach
you page:<A NAME="reach"></A></B></FONT></P>
<BLOCKQUOTE>
<P><FONT FACE="Arial, Helvetica, sans-serif">When/If the FWP services track
you they may delete your pages and the usual viewers won't be able to know
the next location of your site, so you better use redirectors. You can find
a list of redirectors that don't use ads on my site.</FONT></P>
<P><FONT FACE="Arial, Helvetica, sans-serif">With redirectors your site will
look like http://smog.cjb.net , where cjb.net is the name of the redirector
and smog is the name of my site.</FONT></P>
</BLOCKQUOTE>
<HR WIDTH="50%" SIZE="2">
<P><FONT FACE="Arial, Helvetica, sans-serif"><B>8 - Contributions / Bibliography
:<A NAME="bibliography"></A></B></FONT></P>
<BLOCKQUOTE>
<P><FONT FACE="Arial, Helvetica, sans-serif"><A HREF="http://www.paradigm.nu/popupsmustdie/">Popups
must die</A><BR>
<A HREF="http://cex.tsx.org/">Counterexploitation and the Free Webpage Provider</A><BR>
<A HREF="http://on.starblvd.net/the_omega/">the_omega</A> </FONT></P>
</BLOCKQUOTE>
<HR WIDTH="50%" SIZE="2">
<P ALIGN="center"><FONT FACE="Arial, Helvetica, sans-serif">This is the end, I
hope this tips help anybody make better, or at least less annoying web sites.<BR>
Anybody that wishes to contribute to this article should e-mail <A HREF="mailto:smogzer@yahoo.com">smogzer@iname.com</A></FONT></P>
<HR WIDTH="50%" SIZE="2">
<P ALIGN="center"><FONT FACE="Arial, Helvetica, sans-serif"><B><A NAME="copyright"></A>COPYRIGHT</B></FONT></P>
<P ALIGN="center"><FONT FACE="Arial, Helvetica, sans-serif">This document is Copyright
© 1999 <A HREF="http://smog.cjb.net/">Smog Alert</A> smogzer@iname.com . It may
be freely redistributed in its entirety, including the whole of this copyright
notice, but may not be changed without permission from the author. Dispensation
is granted for copying small verbatim portions for the purposes of reviews or
for quoting; in these circumstances, sections may be reproduced in the presence
of an appropriate citation but without this copyright notice. </FONT></P>
</BODY>
</HTML>
Login or Register to add favorites

File Archive:

December 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Dec 1st
    0 Files
  • 2
    Dec 2nd
    41 Files
  • 3
    Dec 3rd
    25 Files
  • 4
    Dec 4th
    0 Files
  • 5
    Dec 5th
    0 Files
  • 6
    Dec 6th
    0 Files
  • 7
    Dec 7th
    0 Files
  • 8
    Dec 8th
    0 Files
  • 9
    Dec 9th
    0 Files
  • 10
    Dec 10th
    0 Files
  • 11
    Dec 11th
    0 Files
  • 12
    Dec 12th
    0 Files
  • 13
    Dec 13th
    0 Files
  • 14
    Dec 14th
    0 Files
  • 15
    Dec 15th
    0 Files
  • 16
    Dec 16th
    0 Files
  • 17
    Dec 17th
    0 Files
  • 18
    Dec 18th
    0 Files
  • 19
    Dec 19th
    0 Files
  • 20
    Dec 20th
    0 Files
  • 21
    Dec 21st
    0 Files
  • 22
    Dec 22nd
    0 Files
  • 23
    Dec 23rd
    0 Files
  • 24
    Dec 24th
    0 Files
  • 25
    Dec 25th
    0 Files
  • 26
    Dec 26th
    0 Files
  • 27
    Dec 27th
    0 Files
  • 28
    Dec 28th
    0 Files
  • 29
    Dec 29th
    0 Files
  • 30
    Dec 30th
    0 Files
  • 31
    Dec 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close