Feedback/Suggestions Let us know what you like about Maxima.org, its forums, or let us know what suggestions you may have! DO NOT POST YOUR CAR QUESTIONS HERE.

popup ad; not cool

Thread Tools
 
Search this Thread
 
Old 05-06-2011, 05:26 PM
  #1  
Jesus was a Zombie.
Thread Starter
iTrader: (7)
 
BenStoked's Avatar
 
Join Date: Aug 2007
Location: OKC, OK
Posts: 3,965
popup ad; not cool

here's the source:
Code:
<html>
    <style>
        body { margin: 0; }
    </style>
    <body>
    </body>
</html>
<script>
var InsightExpress={};InsightExpress.LogText='';InsightExpress.Log=function(s,s2){if(!InsightExpress.LogText)InsightExpress.LogText='';InsightExpress.LogText+=s+(s2?' = '+s2:'')+'\n'};InsightExpress.Dump=function(el){if(el==null) return'NULL';var s='';for(var key in el) if(el[key])s+=key+'='+el[key]+', ';return s;};InsightExpress.Extend=function(subclass,superclass,args){function Dummy(){};if(superclass) Dummy.prototype=superclass.prototype;subclass.prototype=new Dummy();subclass.prototype.constructor=subclass;if(superclass){subclass.superclass=superclass;subclass.superproto=superclass.prototype;};InsightExpress.Implement(subclass,args);};InsightExpress.Implement=function(c,proto){for(var i in proto){c.prototype[i]=proto[i];}};InsightExpress.AddProps=function(c,proto){for(var i in proto){if(typeof proto[i]!='function')c[i]=proto[i];}};InsightExpress.ForEach=function(array,func){for(var i=0;i<array.length;++i){func.call(array[i],i);}};InsightExpress.AddEvent=function(obj,evType,fn){if(obj.addEventListener){obj.addEventListener(evType,fn,false);return true;}else if(obj.attachEvent){var r=obj.attachEvent("on"+evType,fn);return r;}else{return false;}};InsightExpress.OnLoad=function(){if(InsightExpress.onload){InsightExpress.Log("Calling onload()");InsightExpress.onload();InsightExpress.onload=null;} else {setTimeout(arguments.callee,500)}};InsightExpress.Loaded=false;InsightExpress.ready=function(){if(InsightExpress.Loaded)return;InsightExpress.Loaded=true;InsightExpress.Log("Loaded");InsightExpress.Log("Referrer",document.referrer||'<none>');try{InsightExpress.Log("Top Location",InsightExpress.TopDoc.location||'<none>');InsightExpress.Log("Location",document.location||'<none>');}catch(e){};InsightExpress.Log("InIFrame",InsightExpress.InIFrame||'false');InsightExpress.Log("SupportsLocalStorage",InsightExpress.SupportsLocalStorage);InsightExpress.OnLoad();};if(document.readyState==="complete"){InsightExpress.ready();} else{if(document.addEventListener){document.addEventListener("DOMContentLoaded",function(){document.removeEventListener("DOMContentLoaded",arguments.callee,false);InsightExpress.ready();},false);}else if(document.attachEvent){document.attachEvent("onreadystatechange",function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",arguments.callee);InsightExpress.ready();}});if(document.documentElement.doScroll&&window==window.top)(function(){if(InsightExpress.isReady)return;try{document.documentElement.doScroll("left");}catch(error){setTimeout(arguments.callee,0);return;};InsightExpress.ready();})();};InsightExpress.AddEvent(window,"load",InsightExpress.ready);};InsightExpress.AltDown=false;InsightExpress.KeyUp=function(e){InsightExpress.AltDown=false;};InsightExpress.KeyDown=function(e){e=e||window.event;var code=e.keyCode||e.which;if(code==18) InsightExpress.AltDown=true;else if(code==101&&InsightExpress.AltDown) alert(InsightExpress.LogText+"\n"+(InsightExpress.Analytics?InsightExpress.Analytics.ParamString():''));else if(code==102&&InsightExpress.AltDown) InsightExpress.OnLoad();else if(code==105) InsightExpress.ClearLocalStorage();};try{InsightExpress.SupportsLocalStorage=(typeof window.localStorage!='undefined')&&window.localStorage!=null;InsightExpress.SupportsGlobalStorage=(typeof window.globalStorage!='undefined')&&window.globalStorage!=null;;}catch(err){};InsightExpress.InIFrame=false;InsightExpress.ClearLocalStorage=function(){if(!InsightExpress.SupportsLocalStorage) return;for(var i=0;i<window.localStorage.length;i++) if(/^IXAI/.test(window.localStorage.key(i))) window.localStorage.removeItem(window.localStorage.key(i));};try{InsightExpress.TopDoc=top.document;}catch(err){InsightExpress.TopDoc=document;InsightExpress.InIFrame=true;};if(InsightExpress.TopDoc){InsightExpress.AddEvent(InsightExpress.TopDoc,'keydown',function(e){InsightExpress.KeyDown(e);});InsightExpress.AddEvent(InsightExpress.TopDoc,'keyup',function(e){InsightExpress.KeyUp(e);});};InsightExpress.getElementsByClassName=function(oElm,strTagName,strClassName){var arrElements=(strTagName=="*"&&oElm.all)?oElm.all:oElm.getElementsByTagName(strTagName);var arrReturnElements=new Array();strClassName=strClassName.replace(/\-/g,"\\-");var oRegExp=new RegExp("(^|\\s)"+strClassName+"(\\s|$)");var oElement;for(var i=0;i<arrElements.length;i++){oElement=arrElements[i];if(oRegExp.test(oElement.className)){arrReturnElements.push(oElement);}};return(arrReturnElements)};InsightExpress.Protocol='http://';try{InsightExpress.Protocol=parent.location.protocol+'//';}catch(e){};InsightExpress.Cookies={};InsightExpress.Cookies.ReadCookie=function(cookieName){var theCookie=""+document.cookie;var ind=theCookie.indexOf(cookieName);if(ind==-1||cookieName=="")return"";var ind1=theCookie.indexOf(';',ind);if(ind1==-1)ind1=theCookie.length;return unescape(theCookie.substring(ind+cookieName.length+1,ind1));};InsightExpress.Cookies.SetCookie=function(cookieName,cookieValue,nDays){var today=new Date();var expire=new Date();if(nDays==null||nDays==0)nDays=1;expire.setTime(today.getTime()+3600000*24*nDays);document.cookie=cookieName+"="+escape(cookieValue)+";expires="+expire.toGMTString();};InsightExpress.Cookies.Enabled=function(){var testValue=Math.floor(1000*Math.random());InsightExpress.Cookies.SetCookie('AICookieTest',testValue);var b=(testValue==InsightExpress.Cookies.ReadCookie('AICookieTest'));var ua=navigator.userAgent;if(ua&&(ua.indexOf('iPad')>=0||ua.indexOf('iPod')>=0)) b=true;InsightExpress.Log('Cookies Enabled',b);return b;};InsightExpress.Browser={};InsightExpress.Browser.GetWidth=function(){try{if(InsightExpress.Browser.TopMostParent().innerWidth) return InsightExpress.Browser.TopMostParent().innerWidth;}catch(e){};try{if(top.document.documentElement&&top.document.documentElement.clientWidth) return top.document.documentElement.clientWidth;}catch(e){};try{return InsightExpress.TopDoc.body.clientWidth;}catch(e){};return-1;};InsightExpress.Browser.GetHeight=function(){try{if(InsightExpress.Browser.TopMostParent().innerHeight) return InsightExpress.Browser.TopMostParent().innerHeight;}catch(e){};try{if(top.document.documentElement&&top.document.documentElement.clientHeight) return top.document.documentElement.clientHeight;}catch(e){};try{return InsightExpress.TopDoc.body.clientHeight;}catch(e){};return-1;};InsightExpress.Browser.TopMostParent=function(){var myParent=parent;while(myParent.parent!=null&&myParent.parent!=myParent) myParent=myParent.parent;return myParent;};InsightExpress.Browser.TopMostBody=function(){var b=InsightExpress.Browser.TopMostParent();return(document.compatMode!="BackCompat")?b.document.documentElement:b.document.body;};InsightExpress.CurrentInvite=null;InsightExpress.Invite=function(Settings){if(arguments.length>0) this.init(Settings);};InsightExpress.Invite.prototype.init=function(Settings){this.Settings=Settings;};InsightExpress.Invite.ShouldShow=function(invite){var allow=true;if(invite&&invite.Settings.Disallow&&invite.Settings.Disallow.UserAgents){InsightExpress.ForEach(invite.Settings.Disallow.UserAgents,function(){var re=new RegExp(this,'i');if(re.test(navigator.userAgent)){InsightExpress.Log('User agent blocked: '+this);allow=false;}});};if(document.referrer&&invite&&invite.Settings.Disallow&&invite.Settings.Disallow.Referrers){InsightExpress.ForEach(invite.Settings.Disallow.Referrers,function(){var re=new RegExp(this,'i');if(re.test(document.referrer)){InsightExpress.Log('Referrer blocked: '+this);allow=false;}});};if(InsightExpress.TopDoc&&invite&&invite.Settings.Disallow&&invite.Settings.Disallow.Locations){InsightExpress.ForEach(invite.Settings.Disallow.Locations,function(){var re=new RegExp(this,'i');if(re.test(InsightExpress.TopDoc.location)){InsightExpress.Log('Location blocked: '+this);allow=false;}});};if(invite&&invite.Settings.Disallow&&invite.Settings.Disallow.QueryString){InsightExpress.ForEach(invite.Settings.Disallow.QueryString,function(){if(location.search.toLowerCase().indexOf(this.toLowerCase())>=0){InsightExpress.Log('QueryString  blocked: '+this);allow=false;}});};if(invite&&invite.Settings.Disallow&&invite.Settings.Disallow.Variables){InsightExpress.ForEach(invite.Settings.Disallow.Variables,function(){if(window[this]){InsightExpress.Log('Variable blocked: '+this);allow=false;}});};if(invite&&invite.Settings&&invite.Settings.Disallow&&invite.Settings.Disallow.SafeGuard&&typeof(window.inviteAllowedSafeGuard)=="function"){if(!inviteAllowedSafeGuard()){InsightExpress.Log('SafeGuard blocked');allow=false;}};if(invite&&invite.Settings&&invite.Settings.Disallow&&invite.Settings.Disallow.REMO){if(typeof(window.sitePerformedInvite)=='function'&&window.sitePerformedInvite()){InsightExpress.Log('REMO blocked');allow=false;}};if(InsightExpress.SupportsLocalStorage&&invite&&invite.Settings&&invite.Settings.CampaignID){if(window.localStorage.getItem('IXAIInvited'+invite.Settings.CampaignID)=='true'){InsightExpress.Log('localStorage blocked');allow=false;}};if(invite&&invite.Settings&&invite.Settings.debug) allow=true;return allow;};InsightExpress.Invite.DidShow=function(invite){if(typeof(window.siteInvited)=='function') siteInvited('IX');if(InsightExpress.SupportsLocalStorage&&invite&&invite.Settings&&invite.Settings.CampaignID) window.localStorage.setItem('IXAIInvited'+invite.Settings.CampaignID,true);if(invite.Settings.Type!='Popup'&&!invite.Settings.OnDomainExit){setTimeout(function(){InsightExpress.InviteImage=new Image();InsightExpress.InviteImage.src=InsightExpress.Protocol+InsightExpress.DomainName+InsightExpress.Path+'showInvite.aspx?ImageOnly=true&bannerID='+invite.Settings.BannerID+"&esi=true";},1000);}};InsightExpress.PopUpInvite=function(Settings){if(arguments.length>0) this.init(Settings);this.win=null;this.OnShown=null,this.OnHide=null;this.ShowTweens=[],this.HideTweens=[];this.Accepted=false;};InsightExpress.PopUpInvite.prototype=new InsightExpress.Invite();InsightExpress.PopUpInvite.prototype.constructor=InsightExpress.Invite;InsightExpress.PopUpInvite.superclass=InsightExpress.Invite.prototype;InsightExpress.PopUpInvite.prototype.init=function(Settings){InsightExpress.PopUpInvite.superclass.init.call(this,Settings);this.Settings.Animate=false;};InsightExpress.PopUpInvite.prototype.Show=function(second){InsightExpress.Log("Show called");var me=this;if(!second&&this.Settings.OnExit){InsightExpress.AddEvent(window,'unload',function(){me.Show(true);});InsightExpress.Log("Added onexit handler");return;} else if(!second&&this.Settings.OnDomainExit){var _ixx,_ixy;if(window.screenTop){_ixx=window.screenLeft;_ixy=window.screenTop;}else{_ixx=window.screenX;_ixy=window.screenY;};try{var exitChecker=window.open('about:blank','exitChecker','width=200,height=200,scrollbars=no,left='+_ixx+',top='+_ixy);if(exitChecker){exitChecker.document.write(InsightExpress.PopUpInvite.DomainExit.Content);exitChecker._Settings=this.Settings;exitChecker._Settings.DomainName=InsightExpress.DomainName;exitChecker.blur();if(navigator.userAgent.toLowerCase().indexOf('chrome')>-1){setTimeout(function(){window.blur();},100);}}}catch(e){InsightExpress.Log("Error= "+InsightExpress.Dump(e));if(exitChecker) exitChecker.close();};return;};var center='';if(this.Settings.Centered&&this.Settings.Centered.Vertical) center+=',top='+((screen.height/2)-(parseInt(this.Settings.Height)/2));else if(this.Settings.Location&&this.Settings.Location.Top) center+=',top='+this.Settings.Location.Top;if(this.Settings.Centered&&this.Settings.Centered.Horizontal) center+=',left='+((screen.width/2)-(parseInt(this.Settings.Width)/2));else if(this.Settings.Location&&this.Settings.Location.Left) center+=',left='+this.Settings.Location.Left;var fn=function(){var s='';if(InsightExpress.Analytics) s=InsightExpress.Analytics.ParamString();me.win=window.open('http://'+InsightExpress.DomainName+InsightExpress.Path+'invites/GetContent.aspx?'+s+'&'+InsightExpress.QueryString,'ix_accept','width='+me.Settings.Width+',height='+me.Settings.Height+center+(me.Settings.PopupSettings?','+me.Settings.PopupSettings:''));if(me.win){if(me.Settings.PopUnder){me.win.blur();if(navigator.userAgent.toLowerCase().indexOf('chrome')>-1){setTimeout(function(){window.blur();},100);}}};if(InsightExpress.ClickAction) document.location=InsightExpress.ClickAction;};if(second) fn();else setTimeout(fn,1000);InsightExpress.Log("Show completed");};InsightExpress.PopUpInvite.prototype.ShowContent=function(){var div=document.createElement('DIV');if(this.Settings.Flash){InsightExpress.Log('Invite type','Flash');var so=new SWFObject(this.Settings.Flash,"mymovie","100%","100%","8","");so.addParam("wmode","transparent");if(this.Settings.FlashVars){for(var key in this.Settings.FlashVars) so.addVariable(key,this.Settings.FlashVars[key]);};InsightExpress.Log('Flash created');so.write(div);InsightExpress.Log('Flash appended');} else div.innerHTML=this.Settings.Html;this.el=div;InsightExpress.AddProps(div.style,this.Settings.Style);document.body.appendChild(div);InsightExpress.Log("ShowContent completed");this.Shown();};InsightExpress.PopUpInvite.prototype.Shown=function(){InsightExpress.Log("Shown called");var me=this;if(this.Settings.HideDelay) setTimeout(function(){me.Hide();},this.Settings.HideDelay);if(this.OnShown) this.OnShown();InsightExpress.ForEach(InsightExpress.getElementsByClassName(this.el,'*','closeLink'),function(){this.onclick=function(){me.Hide();return false;}});InsightExpress.ForEach(InsightExpress.getElementsByClassName(this.el,'*','maybeLaterLink'),function(){this.onclick=function(){me.Hide();return false;}});InsightExpress.ForEach(InsightExpress.getElementsByClassName(this.el,'*','acceptLink'),function(){this.href=me.Settings.AcceptUrl;if(!me.Settings.ReuseWindow)this.target='_blank';this.onclick=function(){me.Accept(this);return true;}});InsightExpress.ForEach(InsightExpress.getElementsByClassName(this.el,'*','privacyLink'),function(){this.href=me.Settings.PrivacyUrl;this.target='_blank';});InsightExpress.ForEach(InsightExpress.getElementsByClassName(this.el,'*','faqLink'),function(){this.href=me.Settings.FaqUrl;this.target='_blank';});InsightExpress.Log("Shown completed");};InsightExpress.PopUpInvite.prototype.Accept=function(lnk){InsightExpress.Log("Accept called");var me=this;this.Accepted=true;if(this.el&&!document.all) this.el.innerHTML='<h1 style="text-align:center;">Loading...</h1>';if(!me.Settings.ReuseWindow) setTimeout(function(){me.Hide(true);},500);else if(me.Settings.Resize) window.resizeTo(me.Settings.Resize.Width,me.Settings.Resize.Height);return true;};InsightExpress.PopUpInvite.prototype.Hide=function(forceHide){if(!forceHide&&(this.Hiding||this.Accepted))return;this.Hiding=true;InsightExpress.Log("Hide called");window.close();InsightExpress.Log("Hide completed");};InsightExpress.PopUpInvite.prototype.Hid=function(){if(this.OnHide) this.OnHide();InsightExpress.Log("Hidden");}
InsightExpress.DomainName = 'core.insightexpressai.com';InsightExpress.onload = function()
{
    var invite=new InsightExpress.PopUpInvite({"Disallow":{"SafeGuard":false,"REMO":false},"Type":"Popup","Width":"334","Height":"334","AcceptUrl":"http://core.insightexpressai.com/adserver/acceptInvite.aspx?BannerID=174830&referrer=ad.doubleclick.net&adiqs=_browsersize%3d728x90%26_iniframe%3dtrue%26_adlocation%3d0x0%26_adsize%3d728x90%26_abovethefold%3dtrue%26_timeinview%3d212%26esi%3dtrue%26bannerID%3d174830%26referer%3dad.doubleclick.net%26siteID%3dN6092.8763.VIBRANTMEDIAINC%26placementID%3d57949443%26creativeID%3d41316593&","Html":"<img src=\"http://images.insightexpressai.com/adserver/images/exclamation-invite-png8.png\" border=0 UseMap=\"#IXMAP\"><map name=\"IXMAP\"><area shape=\"rect\" coords=\"194,214,295,311\" class=\"acceptLink\" href=\"#\"><area shape=\"rect\" coords=\"22,246,110,274\" class=\"closeLink\" href=\"#\"><area shape=\"rect\" coords=\"117,248,174,272\" href=\"http://www.opinion-central.com/faq1.asp\" target=\"_blank\"><area shape=\"rect\" coords=\"28,22,75,43\" class=\"closeLink\" href=\"#\"></map>","OnExit":true,"OnDomainExit":false,"Animate":false,"ID":724,"QueryString":"_browsersize=728x90&_iniframe=true&_adlocation=0x0&_adsize=728x90&_abovethefold=true&_timeinview=212&esi=true&bannerID=174830&referer=ad.doubleclick.net&siteID=N6092.8763.VIBRANTMEDIAINC&placementID=57949443&creativeID=41316593","BannerID":174830,"CampaignID":2528});
	InsightExpress.CurrentInvite=invite;
	
    invite.ShowContent();
    var img = new Image();
    img.src = 'http://' + InsightExpress.DomainName + '/adserver/showInvite.aspx?ImageOnly=true&bannerID=' + invite.Settings.BannerID + "&esi=true";
}

</script>
BenStoked is offline  
Old 05-07-2011, 10:12 PM
  #2  
Ad·min·is·tra·tor
iTrader: (14)
 
DanNY's Avatar
 
Join Date: Aug 2000
Posts: 17,725
thanks...i'll shoot over to IB to have them block it.
DanNY is offline  
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
tarun900
4th Generation Maxima (1995-1999)
19
12-20-2021 06:57 PM
magiconthetire
Audio and Electronics
2
10-26-2015 09:03 PM
BobTX10
8th Generation Maxima (2016-)
14
10-07-2015 08:43 AM
Maximeltman
4th Generation Maxima (1995-1999)
2
09-28-2015 07:19 PM



Quick Reply: popup ad; not cool



All times are GMT -7. The time now is 08:52 AM.