משתמש:מתכנת/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) | ||
{ | { | ||
| שורה 14: | שורה 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");