משתמש:מתכנת/common.js: הבדלים בין גרסאות בדף
קפיצה לניווט
קפיצה לחיפוש
אין תקציר עריכה |
אין תקציר עריכה |
||
| (גרסת ביניים אחת של אותו משתמש אינה מוצגת) | |||
| שורה 3: | שורה 3: | ||
if (acoh[i].classList[0] != "external") {acoh[i].href += "?uselang=en";}; | if (acoh[i].classList[0] != "external") {acoh[i].href += "?uselang=en";}; | ||
} */ | } */ | ||
/* | |||
if (document.getElementById("enpage") != null) | if (document.getElementById("enpage") != null) | ||
{ | { | ||
var acoh = document.getElementById("bodyContent").getElementsByTagName("a"); | |||
for (i = 2; i < acoh.length; i++) | for (i = 2; i < acoh.length; i++) | ||
{ | { | ||
| שורה 13: | שורה 15: | ||
} | } | ||
} | } | ||
*/ | |||
alert("a"); | |||
גרסה אחרונה מ־10:38, 4 בינואר 2019
/* var i;
for (i = 2; i < acoh.length; i++) {
if (acoh[i].classList[0] != "external") {acoh[i].href += "?uselang=en";};
} */
/*
if (document.getElementById("enpage") != null)
{
var acoh = document.getElementById("bodyContent").getElementsByTagName("a");
for (i = 2; i < acoh.length; i++)
{
if (acoh[i].classList[0] != "external")
{
acoh[i].href += "?uselang=en";
}
}
}
*/
alert("a");