Jump to content
xisto Community
Sign in to follow this  
Simba49

Need Help Modifying Exporer Destroyer Script

Recommended Posts

Well, I'm using "Explorer Destroyer" on my personal website. I don't have time to study JavaScript a.t.m. So I'd be heppy if some one could make a quick fix so it allows IE 7 to access the site but blocks IE 6 and below. I'm only using Explorer Destroyer so that browser who can't view transparent .PNG's are blocked.
I would very much appriciate it, Thx.

<!--	  EXPLORER DESTROYER	  --><!--	 explorerdestroyer.com	--><!--	 LEVEL 3:  DEAD-SERIOUS	--><body onload="java script:hasIE_hideAndShow();"><script type="text/javascript"><!--var hasIE_phone_home = 1;// This function does the actual browser detectionfunction hasIE_hasIE() {  var ua = navigator.userAgent.toLowerCase();  return ((ua.indexOf('msie') != -1) && (ua.indexOf('opera') == -1) && 		  (ua.indexOf('webtv') == -1) &&		  (location.href.indexOf('seenIEPage') == -1));}function hasIE_showOnlyLayer(whichLayer){  if (document.getElementById)	{	  var style2 = document.getElementById(whichLayer);	}  else if (document.all)	{	  var style2 = document.all[whichLayer];	}  else if (document.layers)	{	  var style2 = document.layers[whichLayer];	}  var body = document.getElementsByTagName('body');  body[0].innerHTML = style2.innerHTML;}function hasIE_showLayer(whichLayer){  if (document.getElementById)	{	  var style2 = document.getElementById(whichLayer).style;	  style2.display = "block";	}  else if (document.all)	{	  var style2 = document.all[whichLayer].style;	  style2.display = "block";	}  else if (document.layers)	{	  var style2 = document.layers[whichLayer].style;	  style2.display = "block";	}}function hasIE_moveAd(adid) {  if (document.getElementById)	{	  var ad = document.getElementById('hasIE_ad');	  var adloc = document.getElementById(adid);	}  else if (document.all)	{	  var ad = document.all['hasIE_ad'];	  var adloc = document.all[adid];	}  else if (document.layers)	{	  var ad = document.layers['hasIE_ad'];	  var adloc = document.layers[adid];	}  adloc.innerHTML = ad.innerHTML;}// Hides and shows sections of the page based on whether or not it's// running in IEfunction hasIE_hideAndShow() {  if (hasIE_hasIE()) {	hasIE_showOnlyLayer("hasIE_level3");		  if (hasIE_phone_home == 1)			hasIE_phoneHome('getIE_pingimage3');  } else {	if (hasIE_phone_home == 1)	  hasIE_phoneHome('getIE_pingimage0');  }}function hasIE_phoneHome(image) {  if (document.getElementById)	{	  var img = document.getElementById(image);	}  else if (document.all)	{	  var img = document.all[image];	}  else if (document.layers)	{	  var img = document.layers[image];	}  img.setAttribute('src','http://getunder50.com/ping.php?host='+location.host);}function hasIE_ContinueWithoutFF() {	if (location.href.indexOf('?') != -1)		location.href += '&seenIEPage=1';	else		location.href += '?seenIEPage=1';}--></script><span style="position:absolute; width: 0px; height:0px; left:-1000px; top: -1000px"><img id="getIE_pingimage0"/></span><!-- LEVEL 3: SPLASH WITH NO CLICK THROUGH --> <div id="hasIE_level3" style="display: none;"><span style="position:absolute; width: 0px; height:0px; left:-1000px; top: -1000px"><img id="getIE_pingimage3"/></span><Br /><Br /><div style="padding: 20px; background-color: #ffffbb; font-family: arial; font-size: 15px; font-weight: normal; color: #111111; line-height: 17px;"><div style="width: 630px; margin: 0 auto 0 auto;"><div style="padding-left: 10px; padding-top: 0px; float: right;"><script type="text/javascript"><!--google_ad_client = "pub-2305369465507529";google_ad_width = 120;google_ad_height = 240;google_ad_format = "120x240_as_rimg";google_cpa_choice = "CAAQle6XhAIaCLrDY2MDWbaNKPG193M";google_ad_channel = "7498851205";//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div><strong>We see you're using Internet Explorer, which is not compatible with this site.  We strongly suggest downloading Firefox.  We think you'll like it better:</strong>  <br /><br />      <strong>·</strong> Firefox blocks pop-up windows.<br />      <strong>·</strong> It's more secure against viruses and spyware.<br />      <strong>·</strong> It keeps Microsoft from controlling the future of the internet.<br />      <strong>·</strong> It's better for web designers and developers.<br />      <strong>·</strong> Features like tabbed browsing make reading webpages easier.<br /><br />Click the button on the right to download Firefox.  It's free.<br /><br /><br /></div></div></div> <!-- CLOSES LEVEL 3 DISPLAY SECTION -->

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.