ผู้ใช้:Jutiphan/Scripts/sidebox/monobook.js

จากวิกิพีเดีย สารานุกรมเสรี

หมายเหตุ: หลังเผยแพร่ คุณอาจต้องล้างแคชเว็บเบราว์เซอร์ของคุณเพื่อดูการเปลี่ยนแปลง

  • ไฟร์ฟอกซ์ / ซาฟารี: กด Shift ค้างขณะคลิก Reload หรือกด Ctrl-F5 หรือ Ctrl-R (⌘-R บนแมค)
  • กูเกิล โครม: กด Ctrl-Shift-R (⌘-Shift-R บนแมค)
  • อินเทอร์เน็ตเอกซ์พลอเรอร์ และ Edge: กด Ctrl ค้างขณะคลิก Refresh หรือกด Ctrl-F5
  • โอเปร่า: กด Ctrl-F5
// ==============================================================
// สคริปต์จัดให้: sidebox module
// Main load function
//
// Copyright (C) 2006-2013, Jutiphan Mongkolsuthree
// Created: 18/1/2007
// Replaced: none
// ==============================================================
/* <pre><nowiki> */
// ==============================================================
// สคริปต์จัดให้: sidebox module
// Main load function
//
// Copyright (C) 2006-2013, Jutiphan Mongkolsuthree
// Created: 18/1/2007
// Replaced: none
// ==============================================================
/* <pre><nowiki> */
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('v K(){3 a=w();3 b=y();6(!b||b==\'\'){3 b=R(\'ไม่พบข้อความที่เลือก กรุณาใส่ชื่อหน้าเปลี่ยนทาง:\')}6(!b||b==\'\'){1a}q=I+L+\'?N=\'+b+\'&t=T&U=X&Y=\'+A(a);q=q.1c(\' &t\',\'&t\');D.E=q}v F(){3 a=4.m("s");6(a){a.z.Q(a)}3 b=4.u.5;3 c=b;a=4.n(\'C\');a.18="s";a.r="<B>รายชื่อลิงก์แดง</B>";3 d=0;3 e=4.n("G");9(3 i=0;i<b;++i){6(4.u[i].J=="1q"){d=d+1;3 f=4.n("M");3 l=4.u[i].O(P);f.o(l);e.o(f)}}6(d>0){3 g=4.m(\'S\');c-=g.7(\'a\').5;3 h=4.m(\'V\');6(h){c-=h.7(\'a\').5}h=4.m(\'W\');6(h){c-=h.7(\'a\').5}3 j=8(4,\'Z\',\'10\');9(3 i=0;i<j.5;i++){c-=j[i].7(\'a\').5}j=8(4,\'C\',\'11\');9(3 i=0;i<j.5;i++){c-=j[i].7(\'a\').5}j=8(4,\'12\',\'13\');9(3 i=0;i<j.5;i++){c-=j[i].7(\'a\').5}j=8(4,\'14\',\'15\');9(3 i=0;i<j.5;i++){c-=j[i].7(\'a\').5}j=8(4,\'a\',\'16\');6(j){c-=j.5}j=8(4,\'a\',\'17\');6(j){c-=j.5}3 k=(d/c)*19;a.r=a.r+"<p>บทความนี้มี "+d+" ลิงก์แดงจาก "+c+" ลิงก์ทั้งหมดในบทความ หรือคิดเป็น "+k.1b(2)+"% <x>(ตัวเลขประมาณการ หลังจากหักลิงก์เมนู/ป้าย ลิงก์เปลี่ยนทาง ลิงก์สารบัญ ลิงก์แก้ ลิงก์ภาพ ลิงก์อ้างอิง ลิงก์หมวดหมู่ ลิงก์ภาษา แต่ไม่รวมถึงลิงก์ในแม่แบบ ป้ายแสดงข้อความ หรือลิงก์ต้องการอ้างอิง)</x></p>";a.o(e);a.o(4.n(\'1d\'));g.z.1e(a,g)}1f{1g("ไม่พบลิงก์แดงในบทความที่เลือก")}4.m(\'1h-s\').1i[0].1j();1k.1l(0,0)}v 1m(){3 a=y();6(a==1n||a.5==0){a=w()}1o(1p.H+A(a))}',62,89,'|||var|document|length|if|getElementsByTagName|getElementsByClassName|for|||||||||||||getElementById|createElement|appendChild||URL|innerHTML|redLinks|action|links|function|getPname|small|getSelText|parentNode|encodeURI|h2|div|location|href|listRedLinks|ul|searchURL|wgServer|className|redire_other|wgScript|li|title|cloneNode|true|removeChild|prompt|contentSub|edit|jsaction|toc|catlinks|Redirect|target|span|editsection|pBody|sup|reference|ol|references|internal|image|id|100|return|toFixed|replace|hr|insertBefore|else|alert|mt|childNodes|blur|window|scrollTo|copyvioCheck|null|openInNewWindow|iScriptConfig|new'.split('|'),0,{}))
/* </nowiki></pre> */