æ±ææºã¯ McAfee SiteAdvisor ã ã£ã!!
Mozex 1.9.5 が動かないã®ã Make Link 3.0.2 が動かないã®ããMcAfee SiteAdvisor ã Array ã¯ã©ã¹*1ãæ±æãã¦ããã®ãåå ã ã£ãã
McAfee SiteAdvisor ã¯ãèµ·åããã㨠https://sadownload.mcafee.com/products/sa/firefox/search.dat ããã¦ã³ãã¼ãããã®ã ããå®ã¯ãã®ä¸èº«ã¯ JavaScript ã¹ã¯ãªããã§ãããã eval ãããã¨ã§ã¹ã¯ãªãããæ¡å¼µãã¦ããã
ãããããã® search.dat ã¯ã°ãã¼ãã«ç©ºéãæ±æãã¾ãã£ã¦ãããä¸ã§ã Mozex ã Make Link ãåããªãåå ã«ãªã£ã¦ããã®ãã次ã®é¨åã ã
Array.prototype.inArray = function (value) { var i; for (i=0; i < this.length; i++) { if (this[i] === value) { return true; } } return false; };
ããã«ãããfor...in å½ä»¤ã®çµæãå¤ãã£ã¦ãã¾ãã
ä¾
ary = new Array(); ary["apple"] = 100; ary["orange"] = 120; for (var i in ary) { alert(ary[i]); }
å®è¡çµæ
100 120 function (value) { var i; for (i=0; i < this.length; i++) { if (this[i] === value) { return true; } } return false; }
ã¾ã£ãããå°ã£ãããã ã (ï½Ï´â¯)
ã¨ãã訳ã§ãMcAfee SiteAdvisor 㯠ãã¤ã(/--)/ ââ ããã
*1:JavaScript ã§ã¯ããªãã¸ã§ã¯ãã¨è¡¨ç¾ããã®ãæ£ããï¼