حذف بنرهاي تبليغاتي بعضي از سايتهاي رايگان

ACTIVE

Active Member
با سلام اسكريپتها رو راستيدتش خودم تست نكردم ولي 50مگز رو گذاشتم كارنكرد { و اين برميگرده به مسايل تحصيلي و سطح سواد :wink: }
کد:
[align=left]REMOVING BANNERS
By Abhisek Datta
http://hackersclub.up.to
[email][email protected][/email]



So you have a website hosted in any of those free web space providing company like Tripod, Focusindia, Geocities, Virtualave etc. but the banner really irritates you and acts as an odd object in your site’s interface layout. In this manual I am going to figure out some kewl methods of removing those banners, the code of which is inserted by the server when you upload your pages to the server by means of FTP or HTTP file transfer. 

When you upload your pages to the web server of a free web hosting company which will put a banner ad or a popup window in your site as a part of signup contract which you have agreed during signing up for your account, what happens is that the server automatically inserts some prewritten HTML or JavaScript code into particular part of your HTML file which is responsible for the display of those banners.

Before explaining the methods I’ll use to remove the banners inserted by the server I must say that the programmers of those company changes their code for display of banner after regular interval so the methods which I will describe today may not be applicable after a month or so. But today all the methods are working and effective.

Focusindia [http://www.focusindia.com]

Just Add the tag <noframes> before ending body.. ie </body>

Peoples who dont know HTML.. open ur HTML page in notepad and search for </body> ... 
after u find it just add <noframes> before </body>

Your HTML coding will look like this
<html>
<head>
<title>kkk</title>
<script></script>
</head>
<body>

your webpage coding goes here..

<noframes> <!-- This is where you should add -->
</body>
</html>


Virtualave [http://www.virtualave.net]

After <Head> tag ( and after <meta> tags or <style> tags if any) before any other Java Script add this piece of code :

<script language="javasCript> <!-- Encrypting the word Java Script to bypass Java Script Filters-->
function open(){}
</script>


<script language="javasCript> <!-- Encrypting the word Java Script to bypass Java Script Filters.. C is the ASCII for c -->
function popWin(){}
</script>

note: this method is not fullproof.. I do respect the programmers of Virtualave for their exceptional banner insertion coding..


Tripod [http://www.tripod.com]

After <Head> tag ( and after <title>, <meta> tags or <style> tags if any) before any other Java Script add this piece of code :

<script language="javasCript> <!-- Encrypting the word Java Script to bypass Java Script Filters-->
function ShowTripodPopup(){}
</script>

<script language="javasCript> <!-- Encrypting the word Java Script to bypass Java Script Filters-->
function open(){}
</script>

PROHOSTING [http://free.prohosting.com]

first add <killbanner> tag after <head> in your html coding..

put this piece of code after <head> and <killbanner> (and ofcourse <title> or <style> tag if any) tag before any other script.. 

<script language="javasCript> <!-- Encrypting the word Java Script to bypass Java Script Filters-->
function open(){}
</script>

your coding will look like this:

<html>
<head>
<title> Sorry guys.. ur coding aint upto the mark </title>
<killbanner>
<style> <!—your style codings -- > </style>
<script language="javasCript> <!-- Encrypting the word Java Script to bypass Java Script Filters-->
function open(){}
</script>
</head>
<body>

<!—Your HTML coding goes here -- >

</body>
</html>
HTML programmers note: you must be wondering what kind of tag <killbanner> is.. never hear about it.. is it a tag included in some new version of HTML. You must be thinking like this.. right guys.. well nothing to think.. its not at all a HTML tag.. the free.prohosting.com server is designed to scan the HTML coding of your uploaded pages and if it find the <killbanner> tag then it will insert coding for popup windows else it will insert coding for a banner at the top of your site..


NETFIRMS [http://www.netfirms.com]

This site is quite smart. What they do is insert <iframe> tag for banner insertion just after <body> tag in our HTML code so what I have done is enclosed the <body> tag by <noframes></noframes> tag so that the <iframe> tag inserted by the server just after body don’t work..

Take a look at the coding below..

<html>
<head>
<title> Faking Netfirms </title>
</head>
<noframes>
<body>

<!—Server code will come here.. as a result of <noframes> tag it wont work -- >

</noframes>

<!-- YOUR ACTUAL HTML CODING GOES HERE -->

<b> 
welcome to Hackersclub 
<a href=”http://hackersclub.up.to”>http://hackersclub.up.to</a>
</b>

</body>
</html>

FREESERVERS AND 50 MEGS [http://www.freeservers.com http://www.50megs.com]

First log in to your 50megs or freeservers account and from the customize banner option select popup banner.  Now the banner wont be displayed in your page but it will be displayed in popup window..

Now the trick comes..almost the same as most other websites.. same lame server code insertion.. 

Put this piece of code after <head> (after <title> and <style> if you have) before any other <script>

<script language="javasCript> <!-- Encrypting the word Java Script to bypass Java Script Filters-->
function open(){}
</script>

Note: Freeservers and 50megs regularly changes their banner insertion method and coding. When I have checked their site this method was fully working. Now if it doesn’t work please let me know about it so that I can write some new code to trick them..




Note one thing, you website will definitely be cancelled if your hosting company caught you red handed.. I mean if they find out that you are bypassing the banner insertion code..

Tips for Web Programmers : Always begin you banner insertion code with the following end tags so that the tricks mentioned above doesn’t work..
</script>
</frame>
</iframe>
</applet>
</noframes>
</object>
</noscript>

Finally I have come to the end of another HC article.
Though there are many other webhosting companies which offers free web space and in turn puts a odd banner or irritating pop up window in your website, but I think I have covered most of the commonly used web hosting companies. If you want this kind of trick for any other site then write me and let me know about it.


Abhisek Datta
[email][email protected][/email]
http://hackersclub.up.to

To be a member of Hackersclub and receive regular update notification of HC along with small snippets written by me and other members of HC just send a blank mail to [email][email protected][/email]

Note you can also publish your articles on HC[/align]
 

جدیدترین ارسال ها

بالا