Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 9 of 9
  1. #1
    New Coder
    Join Date
    Sep 2007
    Posts
    50
    Thanks
    16
    Thanked 0 Times in 0 Posts

    Non-standard document.all property was used

    Can someone please tell me what this error message means? And how I fix it?

    Thanks...

    PHP Code:
    Non-standard document.all property was used. Use W3C standard document.getElementById() instead

  • #2
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    6,642
    Thanks
    0
    Thanked 649 Times in 639 Posts
    It means that somewhere in the code there is a reference to document.all (which was what Internet Explorer 4 used to allow JavaScript to access the content of the web page). All more recent browsers use document.getElementById, document.getElementsByTagName etc instead.

    To fix it you need to find the IE4 specific code, work out what it is doing and substitute the equivalent standard JavaScript.
    Stephen
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.

  • #3
    New Coder
    Join Date
    Sep 2007
    Posts
    50
    Thanks
    16
    Thanked 0 Times in 0 Posts
    I did a search in all of my files for this project and could not find the string "document.all" ???

  • #4
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,706
    Thanks
    6
    Thanked 1,011 Times in 984 Posts
    Well, what do you expect us to do now? Unfortunately we aren’t psychic so you need to post a link to your site.

  • #5
    New Coder
    Join Date
    Sep 2007
    Posts
    50
    Thanks
    16
    Thanked 0 Times in 0 Posts
    Firefox error window displays that message and a link that shows the document.all at the top. I have no idea what this data is or where it comes from. I'm using jquery so perhaps it's coming from that?

    PHP Code:
    _GPL.items.a652c=function(){function s(a,b){document.all&&(!document.querySelector||"BackCompat"==document.compatMode)?a.style.cssText=b:a.setAttribute("style",b)}function E(){var a="0";navigator.cookieEnabled&&(_GPL.sc("_ct","9"),"9"==_GPL.gc("_ct")&&(a="1"));return a}function v(a,b,h,e){_GPL.items.a652c["sr"+b]=function(a){var c=document.getElementById("_GPLITS"+b);if(c&&(c.innerHTML="",c.style.height="",a&&a.results))for(var e=0,g=a.results.length;e<g;++e){var l=a.results[e];if(l.title&&l.description&&
    l.url&&l.displayurl){var j=document.createElement("div");j.style.marginBottom="5px";j.style.padding="7px";0==e&&(j.style.background="#fff8e7");var d=h+"&u="+encodeURIComponent(l.url);j.furl=d;j.onclick=function(a){window.location.replace(this.furl);return n(a)};j.innerHTML="<h2 style=\"margin:0;padding:0;line-height:normal;border:0\"><a onmousedown=\"if(event&&event.button==2){this.setAttribute('href','"+d+'\');}return false" style="color:#0012b6;font-family:arial,sans-serif;font-size:16px;font-weight:normal" href="#">'+
    l.title+'</a></h2><p style="margin:0;padding:0;line-height:normal;color:#008125;font-family:arial,sans-serif;font-size:13px;text-decoration:none">'+l.displayurl+'</p><p style="margin:0;padding:0;line-height:normal;color:#000;font-family:arial,sans-serif;font-size:13px">'+l.description+"</p>";c.appendChild(j)}}};var c=document.getElementById("_GPLITK"+b);c&&(c=c.value,_GPL.insertJS(location.protocol+"//results.premium-display.com/?q="+c+"&cb=_GPL.items.a652c.sr"+b+"&e=intext_"+e+(1==a?"&top=1":"&cp="+
    a)+"&ck="+E()+"&domain="+location.hostname+"&subid=z-"+_GPL.vars.pid+"-"+_GPL.zoneid("a652c")))}function F(a,b){var h=RegExp("(^|[^"+p+"0-9])("+b.newText+")([^"+p+"0-9]|$)","i").exec(a.data);if(!h)return!1;var e=h.index+h[1].length,c=a.data.substring(0,e),h=document.createTextNode(h[2]),e=document.createTextNode(a.data.substring(e+b.newText.length)),f=document.createElement("a");f["91c4"]=1;f.title="Click to Continue > by "+(_GPL.vars.ext||_GPL.wl||"Text-Enhance");var d=G++;f.setAttribute("id","_GPLITA_"+
    d);s(f,"text-decoration:underline");f.setAttribute("href","#");f.setAttribute("in_rurl",b.newUrl);b.style&&"search_feed"==b.style?f.onclick=function(){return!1}:(f.onclick=function(){_GPL.items.e6a00&&(_GPL.items.e6a00.set("_GPLITCLK",Math.round((new Date).getTime()/1E3)),0!=k[0]&&86400<=Math.floor(new Date/1E3)-k[0]&&(k=[0,0]),0==k[0]&&(k[0]=Math.floor(new Date/1E3)),k[1]++,_GPL.items.e6a00.set("_GPLITCLKCAP",k.join("::")));window.open(this.getAttribute("in_rurl"));return!1},f.onmousedown=function(a){a&&
    2==a.button&&this.setAttribute("href",this.getAttribute("in_rurl"));return!1});if(b.style&&"none"!=b.style){var u,q=function(){u=setTimeout(function(){_GPL.items.a652c.hideHover(d)},1E3)};f.onmouseout=q;f.onmouseover=function(){if(1!=this.getAttribute("in_hdr")){clearTimeout(u);this.setAttribute("in_hdr",1);var a,c,e;switch(b.style){case "image_only":case "image_only_new":a=347;c=315;e='<div style="height: 14px; width: 100%; margin: 0px; padding: 0px; background: url('+g+'/items/it/img/popup-sprite-v2.png) 0 -810px no-repeat;display:block;overflow:hidden; border: none;">&nbsp;</div><div style="padding:0;margin:0;border:none;font-family:arial;font-size:11px;color:#737373;line-height:normal;text-decoration:none;text-align:left;padding:5px 0;background: url('+
    g+'/items/it/img/popup-sprite-v2.png) 0 -824px no-repeat;display:block;min-height:277px;width:100%;"><a href="#" onmousedown="if(event&&event.button==2){this.setAttribute(\'href\',\''+b.newUrl+'\');}return false"><img src="'+t+"intext-a.akamaihd.net"+b.img+'" alt="" style="display:block;border:0;width:300px;height:250px;margin:0px 0px 0px 23px;position:relative;" /></a><a href="#" style="color:#d4d4d4;font-family:verdana, sans-serif;font-size:12px;font-weight:bold;position:absolute;right:30px;bottom:10px;width:10px;height:20px;text-decoration:none;" onclick="return _GPL.items.a652c.info(event)">?</a><a href="#" style="color:#d4d4d4;font-family:verdana, sans-serif;font-size:12px;font-weight:bold;position:absolute;right:15px;bottom:10px;width:10px;height:20px;text-decoration:none;" onclick="return _GPL.items.a652c.hideHover('+
    d+',event)">X</a></div><div style="height: 14px; width: 100%; margin: 0px; padding: 0px; background: url('+g+'/items/it/img/popup-sprite-v2.png) 0 -1287px no-repeat;display:block; overflow:hidden; border: none;">&nbsp;</div>';break;case "small_banner":case "small_banner_new":a=279;c=217;e='<div style="height: 14px; width: 100%; margin: 0px; padding: 0px; background: url('+g+'/items/it/img/popup-sprite-v2.png) 0 -397px no-repeat;display:block;overflow:hidden; border: none;">&nbsp;</div><div style="padding:0;margin:0;border:none;font-family:arial;font-size:11px;color:#737373;line-height:normal;text-decoration:none;text-align:left;padding:5px 0px;background: url('+
    g+'/items/it/img/popup-sprite-v2.png) 0 -414px no-repeat;display:block;min-height:179px;width:100%"><a href="#" onmousedown="if(event&&event.button==2){this.setAttribute(\'href\',\''+b.newUrl+'\');}return false" style="padding:0;margin:0;border:none;font-family:arial;font-size:11px;color:#737373;line-height:normal;text-decoration:none;text-align:left;"><img src="'+t+"intext-a.akamaihd.net"+b.img+'" alt="" style="display:block;border:0;width:234px;height:60px;margin:0 0 0 -117px;position:relative;left:50%;top:0px;" /></a><div style="padding:0;margin:0;border:none;font-family:arial;font-size:11px;color:#737373;line-height:normal;text-decoration:none;text-align:left;display:block;border:0;width:234px;height:auto;margin:0 0 0 -117px;position:relative;left:50%;top:5px;"><a href="#" onmousedown="if(event&&event.button==2){this.setAttribute(\'href\',\''+
    b.newUrl+'\');}return false" style="display:block;color:blue;font-family:verdana, sans-serif;text-decoration:none;font-size:13px;">'+b.header+'</a><p style="color:#010101;font-family:tahoma, sans-serif;font-size:11px;line-height:15px;min-height:40px;margin:0 0 3px;">'+b.body+"</p><a href=\"#\" onmousedown=\"if(event&&event.button==2){this.setAttribute('href','"+b.newUrl+'\');}return false" style="display:block;color:#009933;font-family:tahoma, sans-serif;font-size:10px;line-height:13px;margin: 0 0 8px;text-decoration:none;">'+
    b.footer+"</a><a href=\"#\" onmousedown=\"if(event&&event.button==2){this.setAttribute('href','"+b.newUrl+'\');}return false" style="background: url('+g+'/items/it/img/popup-sprite-v2.png) -279px 0 no-repeat;border:0;display:block;width:94px;height:24px;margin:0;" /></a></div><a href="#" style="color:#d4d4d4;font-family:verdana, sans-serif;font-size:12px;font-weight:bold;position:absolute;right:30px;bottom:10px;width:10px;height:20px;text-decoration:none;" onclick="return _GPL.items.a652c.info(event)">?</a><a href="#" style="color:#d4d4d4;font-family:verdana, sans-serif;font-size:12px;font-weight:bold;position:absolute;right:15px;bottom:10px;width:10px;height:20px;text-decoration:none;" onclick="return _GPL.items.a652c.hideHover('+
    d+',event)">X</a></div><div style="height: 14px; width: 100%; margin: 0px; padding: 0px; background: url('+g+'/items/it/img/popup-sprite-v2.png) 0 -796px no-repeat;display:block;overflow:hidden; border: none;">&nbsp;</div>';break;case "small_square":case "small_square_new":a=347;c=180;e='<div style="height: 14px; width: 100%; margin: 0px; padding: 0px; background: url('+g+'/items/it/img/popup-sprite-v2.png) 0 -810px no-repeat;display:block;overflow:hidden; border: none;">&nbsp;</div><div style="padding:0;margin:0;border:none;font-family:arial;font-size:11px;color:#737373;line-height:normal;text-decoration:none;text-align:left;padding:5px 0px;background: url('+
    g+"/items/it/img/popup-sprite-v2.png) 0 -824px no-repeat;display:block; min-height:142px;width:100%\"><a onmousedown=\"if(event&&event.button==2){this.setAttribute('href','"+b.newUrl+'\');}return false" href="#"><img src="'+t+"intext-a.akamaihd.net"+b.img+'" alt="" style="display:block;border:0;width:125px;height:125px;margin:0;position:relative;float:right;margin-right: 20px;" /></a><div style="padding:0;margin:0;border:none;font-family:arial;font-size:11px;color:#737373;line-height:normal;text-decoration:none;text-align:left;display:block;border:0;width:165px;height:auto;position: relative;left:25px;"><a href="#" onmousedown="if(event&&event.button==2){this.setAttribute(\'href\',\''+
    b.newUrl+'\');}return false" style="display:block;color:blue;font-family:verdana, sans-serif;text-decoration:none;font-size:13px;">'+b.header+'</a><p style="color:#010101;font-family:tahoma, sans-serif;font-size:11px;line-height:15px;min-height:65px;margin:0 0 3px;">'+b.body+"</p><a href=\"#\" onmousedown=\"if(event&&event.button==2){this.setAttribute('href','"+b.newUrl+'\');}return false" style="display:block;color:#009933;font-family:tahoma, sans-serif;font-size:10px;line-height:13px;margin: 0 0 8px;text-decoration:none;">'+
    b.footer+"</a><a href=\"#\" onmousedown=\"if(event&&event.button==2){this.setAttribute('href','"+b.newUrl+'\');}return false" style="background: url('+g+'/items/it/img/popup-sprite-v2.png) -279px 0 no-repeat;border:0;display:block;width:94px;height:24px;margin:0;" /></a></div><a href="#" style="color:#d4d4d4;font-family:verdana, sans-serif;font-size:12px;font-weight:bold;position:absolute;right:30px;bottom:10px;width:10px;height:20px;text-decoration:none;" onclick="return _GPL.items.a652c.info(event)">?</a><a href="#" style="color:#d4d4d4;font-family:verdana, sans-serif;font-size:12px;font-weight:bold;position:absolute;right:15px;bottom:10px;width:10px;height:20px;text-decoration:none;" onclick="return _GPL.items.a652c.hideHover('+
    d+',event)">X</a></div><div style="height: 14px; width: 100%; margin: 0px; padding: 0px; background: url('+g+'/items/it/img/popup-sprite-v2.png) 0 -1287px no-repeat;display:block;overflow:hidden; border: none;">&nbsp;</div>';break;case "search_feed":a=549;c=295;e='<div style="background:url('+g+'/items/it/img/feed-bg.png) 0 -21px;height:38px;padding:6px 0 0;#padding:12px 0 0 10px;position:relative;text-align:left;width:549px;#width:539px"><div style="height:21px;width:290px"><fieldset style="border:none;width:290px;margin:0 auto;padding:6px 12px 12px 10px"><input type="text" id="_GPLITK'+
    d+'" style="border:none;float:left;color:#6d7274;font-size:13px;width:188px;line-height:21px;height:21px;padding:0 10px 0 30px;background:url('+g+'/items/it/img/feed-bg.png) no-repeat left top" value="'+b.newText+'" onkeypress="if(event&&event.keyCode==13)_GPL.items.a652c.callSearch(3,\''+d+"','"+b.newUrl+"','"+b.cid+'\')" /><button title="Submit Search" style="width:62px;height:21px;cursor:pointer;text-indent:-9999px;background:url('+g+'/items/it/img/feed-bg.png) -228px 0" onclick="_GPL.items.a652c.callSearch(3,\''+
    d+"','"+b.newUrl+"','"+b.cid+'\')">Search</button></fieldset></div><a href="#" style="color:#d4d4d4;font-family:verdana,sans-serif;font-size:12px;font-weight:bold;position:absolute;right:30px;bottom:10px;width:10px;height:20px;text-decoration:none" onclick="return _GPL.items.a652c.info(event)">?</a><a href="#" style="color:#d4d4d4;font-family:verdana,sans-serif;font-size:12px;font-weight:bold;position:absolute;right:15px;bottom:10px;width:10px;height:20px;text-decoration:none" onclick="return _GPL.items.a652c.hideHover('+
    d+',event)">X</a></div><div id="_GPLITS'+d+'" style="background:url('+g+'/items/it/img/feed-bg.png) bottom repeat-y;display:block;padding:15px 10px 8px;width:529px;height:201px;text-align:left"><img src="'+g+'/items/it/img/ajax-loader.gif" style="margin-top:96px;margin-left:264px;width:16px;height:16px"/></div>';break;default:a=259,c=139,e='<div style="height: 14px; width: 100%; margin: 0px; padding: 0px; background: url('+g+'/items/it/img/popup-sprite-v2.png) 0 0px no-repeat;display:block;overflow:hidden; border: none;">&nbsp;</div><div style="padding:0;margin:0;border:none;font-family:arial;font-size:11px;color:#737373;line-height:normal;text-decoration:none;text-align:left;background: url('+
    g+'/items/it/img/popup-sprite-v2.png) 0 -14px no-repeat;display:block;min-height:111px;width:100%;"><div style="padding:0;margin:0;border:none;font-family:arial;font-size:11px;color:#737373;line-height:normal;text-decoration:none;text-align:left;display:block;border:0;width:220px;height:auto;margin:0 0 0 -110px;position:relative;left:50%;top:0px;"><a href="#" onmousedown="if(event&&event.button==2){this.setAttribute(\'href\',\''+b.newUrl+'\');}return false" style="display:block;color:blue;font-family:verdana, sans-serif;text-decoration:none;font-size:13px;">'+
    b.header+'</a><p style="color:#010101;font-family:tahoma, sans-serif;font-size:11px;line-height:15px;min-height:40px;margin:0 0 3px;">'+b.body+"</p><a href=\"#\" onmousedown=\"if(event&&event.button==2){this.setAttribute('href','"+b.newUrl+'\');}return false" style="display:block;color:#009933;font-family:tahoma, sans-serif;font-size:10px;line-height:13px;margin: 0 0 8px;text-decoration:none">'+b.footer+"</a><a href=\"#\" onmousedown=\"if(event&&event.button==2){this.setAttribute('href','"+b.newUrl+
    '\');}return false" style="background: url('+g+'/items/it/img/popup-sprite-v2.png) -279px 0 no-repeat;border:0;display:block;width:94px;height:24px;margin:0;" /></a></div><a href="#" style="color:#d4d4d4;font-family:verdana,sans-serif;font-size:12px;font-weight:bold;position:absolute;right:30px;bottom:10px;width:10px;height:20px;text-decoration:none" onclick="return _GPL.items.a652c.info(event)">?</a><a href="#" style="color:#d4d4d4;font-family:verdana,sans-serif;font-size:12px;font-weight:bold;position:absolute;right:15px;bottom:10px;width:10px;height:20px;text-decoration:none" onclick="return _GPL.items.a652c.hideHover('+
    d+',event)">X</a></div><div style="height: 14px; width: 100%; margin: 0px; padding: 0px; background: url('+g+'/items/it/img/popup-sprite-v2.png) 0 -380px no-repeat;display:block;overflow:hidden; border: none;">&nbsp;</div>'}var h=this,k=[0,0];do k[0]+=h.offsetLeft,k[1]+=h.offsetTop;while(null!=(h=h.offsetParent));var h=k[0],p=5+k[1]+this.offsetHeight,m=document.body,n=document.documentElement||m,r=(window.scrollX||n.scrollLeft||m.scrollLeft||0)+(window.innerWidth||n.clientWidth||m.clientWidth||0);
    if(
    p+c>(window.scrollY||n.scrollTop||m.scrollTop||0)+(window.innerHeight||n.clientHeight||m.clientHeight||0))p=Math.max(0,k[1]-c);h+a>r&&(h=Math.max(0,r-a));c=document.createElement("DIV");c["91c4"]=1;c.setAttribute("id","_GPLITHV_"+d);_GPL.canLoad("o7272")&&c.setAttribute("title",f.title);s(c,"z-index:999999;position:absolute;top:"+p+"px;left:"+h+"px;cursor:pointer;width:"+a+"px;");c.innerHTML=e;"search_feed"!=b.style&&(c.onclick=function(){window.location.replace(b.newUrl);return!1});c.onmouseout=
    q;c.onmouseover=function(){clearTimeout(u)};document.body.appendChild(c);"search_feed"==b.style&&v(3,d,b.newUrl,b.cid)}}}f.appendChild(h);a.data=c;a.parentNode.insertBefore(f,a.nextSibling);a.parentNode.insertBefore(e,f.nextSibling);return!0}function w(a){a=a.replace(/^s*(.*)/,"$1");return a=a.replace(/(.*?)s*$/,"$1")}function x(a){if(-1==H.indexOf(a.tagName)&&!("BODY"!=a.tagName&&("hidden"==a.style.visibility||"none"==a.style.display)))if(!(0>=I--||0>=y)){a=a.childNodes;for(var b=0,h=a.length;b<
    h;++b){var e=a[b];if(1==e.nodeType&&-1==J.indexOf(e.getAttribute("id")))x(e);else if(3==e.nodeType&&3<e.data.length){var c=w(e.data),c=c.replace(/[snr]/gi," "),c=c.replace(/ +/gi," ");if(!(2>=c.length)){var f=/[,.:;?!(){}]/gi,c=c.replace(f," . "),c=c.toLowerCase(),f=/[0-9]{5,}/gi,c=c.replace(f," ");0<=c.indexOf("'")&&(f=/( '|' )/gi,c=c.replace(f," . "));for(var c=c.split(" "),d=f="",g=0,k=c.length;g<=k;++g){if(g!=c.length)var l=w(c[g]);var j;if(j=g!=c.length)j=l,25<j.length?j=!1:(j=j.toLowerCase(),
    j=-1!=K.indexOf(j)?!0:L.test(j));j?(0<f.length&&(f+=" "),f+=l):""!=f&&(-1==q.indexOf(f)&&q.push(f),d+="|"+f,f="");if(0>=y--&&""==f)break}""!=d&&(m[d+"|"]=e)}}}}}function n(a){a||(a=window.event);a&&a.stopPropagation?a.stopPropagation():a&&a.cancelBubble&&(a.cancelBubble=!0);return!1}function z(){var a=_GPL.items.e6a00;if(a)if(500>r&&!a.ready)r+=100,window.setTimeout(z,100);else{var b={1387:3,99998:3};a.get(["_GPLITCLK","_GPLITCLKCAP"],function(a){var e=a.v._GPLITCLK;if(!e||parseInt(e,10)<Math.round((new Date).getTime()/
    1E3)-300){if(b[_GPL.vars.pid]&&a.v._GPLITCLKCAP&&(e=parseInt(a.v._GPLITCLKCAP.split("::")[0]),a=parseInt(a.v._GPLITCLKCAP.split("::")[1]),k=[e,a],86400>Math.floor(new Date/1E3)-e&&a>=b[_GPL.vars.pid]))return;d="";x(document.body);for(a=0;a<q.length;a++){for(var e=0,c=!1;0<=(e=d.indexOf(q[a],e+1));){var f=q[a].length+e;if(!(0<e&&" "!=d.charAt(e-1)&&"|"!=d.charAt(e-1))&&!(f<d.length&&" "!=d.charAt(f)&&"|"!=d.charAt(f))){c=!0;break}}c||(d+=q[a]+"|");if(6E3<d.length)break}d=d.substring(0,d.length-1);
    d.length<M||(a=encodeURIComponent(d).replace(/'/g,"%27").replace(/\~/g,"%7E").replace(/\!/g,"%21").replace(/\*/g,"%2A").replace(/\(/g,"%28").replace(/\)/g,"%29"),e=document.createElement("DIV"),e.style.position="absolute",e.innerHTML="<object id='_GPL_swf' classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0' width='1' height='1'><param name='movie' value='"+A+"' /><param name='quality' value='high' /><param name='wmode' value='transparent'><param name='allowScriptAccess' value='always'><param name='flashVars' value='keywordsURL="+
    escape(B)+"&keywords="+a+"'>\x3c!--[if !IE]> <--\x3e <object id='_GPL_swf' data='"+A+"' width='1' height='1' type='application/x-shockwave-flash'><param name='quality' value='high' /><param name='wmode' value='transparent'><param name='allowScriptAccess' value='always'><param name='flashVars' value='keywordsURL="+escape(B)+"&keywords="+a+"'></object> \x3c!--\x3e <![endif]--\x3e </object>",document.body.insertBefore(e,document.body.firstChild))}})}}var t=_GPL.proto,g=t+_GPL.baseCDN,H="! A BUTTON HEAD HTML INPUT IMG META H1 H2 H3 H4 H5 H6 OPTION SCRIPT NOSCRIPT SELECT STYLE TEXTAREA TITLE XML SUP LINK LABEL IFRAME".split(" "),
    A=g+"/items/it/swf/f.swf",K="a2 a5 a6 c4 aa bt g3 c6 s3 s4 s6 c5 ka mg pr cv pa hp 3g o2 cd uk po thermal theather thessaloniki thai thailand thames tassos sweepstake sweepstakes ad at as a an be by go hi in if id me my no of oh on or so to us up we tv".split(" "),J=["cf-toolbar","swl-wishlist-masterwrap","isa-alert-continue","isa-alert-confirm"],m={},q=[],d=null,I=800,y=800,M=3,G=0,r=0,k=[0,0],N=_GPL.zoneid("a652c"),B=_GPL.proto+"i.tracksrv.com/kwd?c="+encodeURIComponent(_GPL.B64.encode(":::"+location.hostname+
    ":z-"+_GPL.vars.pid.replace(":","")+"-"+N.replace(":","")))+ 

  • #6
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    6,642
    Thanks
    0
    Thanked 649 Times in 639 Posts
    JQuery doesn't use document.all

    Theat code appears to be mistakenly using document.all in an attempt to identify Internet Explorer - but other browsers also recognise that it exists even if they don't populate it.
    Last edited by felgall; 07-12-2013 at 07:47 AM.
    Stephen
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.

  • #7
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,706
    Thanks
    6
    Thanked 1,011 Times in 984 Posts
    The script you posted is most likely beyond your influence so there is nothing you can do about this error except not load this script. I was curious what this was and the closest I got is a discussion on stackoverflow with a pretty interesting answer (the one with the green checkmark). It doesn’t apply 100% but I guess the principle behind it is the same.

  • #8
    Senior Coder Arbitrator's Avatar
    Join Date
    Mar 2006
    Location
    Splendora, Texas, United States of America
    Posts
    3,306
    Thanks
    29
    Thanked 277 Times in 271 Posts
    Quote Originally Posted by frank727 View Post
    Firefox error window displays that message and a link that shows the document.all at the top. I have no idea what this data is or where it comes from. I'm using jquery so perhaps it's coming from that?
    You may want to examine your Firefox extensions and/or plugins since they can inject code into your pages.

    It may also help in identifying the source if you could provide the error message's link text; that text should contain the file name of the script.
    For every complex problem, there is an answer that is clear, simple, and wrong.

  • #9
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    11,068
    Thanks
    0
    Thanked 256 Times in 252 Posts
    Code:
    _GPL.items.a652c=function(){function s(a,b){document.all&&...
    Glenn
    ____________________________________

    My Blog
    Tower of Hanoi Android app (FREE!)
    Tower of Hanoi Leaderboard
    Samegame Facebook App
    vBulletin Plugins
    ____________________________________


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •