کاربر:Komeil 4life/vector.js: تفاوت میان نسخه‌ها

محتوای حذف‌شده محتوای افزوده‌شده
بدون خلاصۀ ویرایش
بدون خلاصۀ ویرایش
خط ۱:
function adddeletebutton(){
dds = document.getElementById('firstHeading').innerHTML;
cs = document.getElementById('p-views');
d=cs.innerHTML;
d=d.replace('<ul>', '<ul><li><a title="Delete this page [alt-shift-d]" href="/w/index.php?title='+dds+'&amp;action=delete">\n<span>حذف</span>\n</a></li><li><a title="Protect this page [alt-shift-=]" href="/w/index.php?title='+dds+'&amp;action=protect">\n<span>محافظت</span>\n</a></li>');
cs.innerHTML=d;
}
addOnloadHook(adddeletebutton);
 
//Reftoolbar