משתמש:Hidro/monobook.js
מתוך ויקיפדיה, האנציקלופדיה החופשית
הערה: לאחר השמירה, עליכם לנקות את זכרון המטמון (Cache) של הדפדפן על־מנת להבחין בשינויים.
- במוזילה, פיירפוקס או ספארי, לחצו על מקש ה־Shift בעת לחיצתכם על העלה מחדש (Reload), או הקישו Ctrl+Shift+R (או Cmd+Shift+R במקינטוש של אפל).
- באינטרנט אקספלורר, לחצו על מקש ה־Ctrl בעת לחיצתכם על רענן (Refresh), או הקישו על Ctrl+F5.
- ב־Konqueror, פשוט לחצו על העלה מחדש (Reload), או הקישו על F5.
- באופרה, ייתכן שתצטרכו להשתמש בכלים (Tools) > העדפות (Preferences) כדי לנקות לחלוטין את זכרון המטמון.
/* <div style="direction: ltr;"><pre> */
/* אימות - האם באמת התכוונת לצאת מהחשבון? */
function confirmLogout(e)
{
e = (e) ? e : event;
if (!confirm("Are you sure you want to log out?"))
{
if (document.all)
{
e.returnValue = false;
}
else
{
e.preventDefault();
}
}
}
function initConfirmLogout(e)
{
e = (e) ? e : event;
if (document.all)
{
document.getElementById("pt-logout").firstChild.attachEvent("onclick", confirmLogout);
}
else
{
document.getElementById("pt-logout").firstChild.addEventListener("click", confirmLogout, true);
}
}
/* טעינת פונקציות */
addLoadEvent(initConfirmLogout);
/* </pre></div> */

