ebooksgratis.com

See also ebooksgratis.com: no banners, no cookies, totally FREE.

CLASSICISTRANIERI HOME PAGE - YOUTUBE CHANNEL
Privacy Policy Cookie Policy Terms and Conditions
User:Quiddity/monobook.js - Wikipedia, the free encyclopedia

User:Quiddity/monobook.js

From Wikipedia, the free encyclopedia

If a message on your talk page led you here, please be wary of who left it. Code that you insert on this page could contain malicious content capable of compromising your account. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump. If this is a .js page, the code will be executed when previewing the page.
Note: After saving, you have to bypass your browser's cache to see the changes. In Internet Explorer and Firefox, hold down the Ctrl key and click the Refresh or Reload button. Opera users have to clear their caches through Tools→Preferences, see the instructions for Opera. Konqueror and Safari users can just click the Reload button.
// TEST dab template
importScript('User:RockMFR/disambigeditintro.js');
 
// Highlight admin names
importScript('User:Ais523 non-admin/adminrights.js');
 
 
// Change ISBN links to point to the url of your choice, instead of Special:Booksources.
// See User:Lunchboxhero/monobook.js for explanations
var magicURL = "http://www.amazon.com/exec/obidos/ASIN/MAGICNUMBER/wikipedia08-20";
importScript('User:Lunchboxhero/externISBN.js');
 
 
// highlight-redirects tab, see [[User:Dschwen/highlightredirects.js]]
document.write('<script type="text/javascript" src="' 
+ 'http://en.wikipedia.org/w/index.php?title=User:Dschwen/highlightredirects.js' 
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
 
// LastDiff tab
// See [[Wikipedia:WikiProject User scripts/Scripts/Show last diff]]
function addLastDiff()
{addPortletLink('p-cactions', 'http://en.wikipedia.org/w/index.php?title=' + wgPageName + "&diff=cur&oldid=prev", 'last', 'ca-last', 'Show most recent diff');}
addOnloadHook(addLastDiff);
 
 
// Fix the last-clicked-link, when you arrive at a disambiguation page unexpectedly
importScript('User:Magnus Manske/fixdisambig.js');
 
 
// Twinkle bits
importScript('User:AzaToth/morebits.js');
importScript('User:AzaToth/twinklefluff.js');
importScript('User:AzaToth/twinklewarn.js');
TwinkleConfig = {
        userTalkPageMode                :       'tab',
        openTalkPage                    :       [ 'agf', 'norm', 'vand' ],
        showSharedIPNotice              :       false,
        summaryAd                       :       "",
        deletionSummaryAd               :       " using [[WP:TWINKLE|TW]]",
        protectionSummaryAd             :       " using [[WP:TWINKLE|TW]]",};
 
 
// test: less edit clutter.js
// importScript('User:Magnus Manske/less edit clutter.js'); 
 
 
 
// Highlight my username.
// This script (taken from [[User:ais523/highlightmyname2.js]]) highlights all instances of the
// logged-in user's username on pages by giving them a bright background. It only checks
// bodyContent, not titles or sidebars, and doesn't change edit windows or Special:Preferences.
function highlightmyname(n,p) //node, parent node
{while(n!=null)
  {if(n.nodeType==3) //text node
    {if(n.data.toLowerCase().indexOf(wgUserName.toLowerCase())!=-1)
       {var ix=n.data.toLowerCase().indexOf(wgUserName.toLowerCase());
        var t1=ix?document.createTextNode(n.data.substr(0,ix)):null;
        var t2=document.createTextNode(n.data.substr(ix,wgUserName.length));
        var t3=ix+wgUserName.length==n.data.length?null:
          document.createTextNode(n.data.substr(ix+wgUserName.length));
        var s1=document.createElement("SPAN");
        s1.style.backgroundColor="#82D9AD";
        s1.appendChild(t2);
        var s2=document.createElement("SPAN");
        if(t1!=null) s2.appendChild(t1);
        s2.appendChild(s1);
        if(t3!=null) s2.appendChild(t3);
        p.replaceChild(s2,n);
        if(t3!=null) highlightmyname(t3,s2); //find remaining occurences in the new nodes
        n=s2.nextSibling;}
      else
        n=n.nextSibling;}
    else
    {if(n.firstChild!=null) highlightmyname(n.firstChild,n);
      n=n.nextSibling;}}}
addOnloadHook(function() {
  if(location.href.indexOf("?quiddity")==-1&&location.href.indexOf("&quiddity")==-1&&
     location.href.indexOf("?action=edit")==-1&&location.href.indexOf("?action=submit")==-1&&
     location.href.indexOf("&action=edit")==-1&&location.href.indexOf("&action=submit")==-1&&
     location.href.indexOf("&action=raw")==-1&&wgPageName!="Special:Preferences")
    highlightmyname(document.getElementById('bodyContent').firstChild,
                    document.getElementById('bodyContent'));
});


aa - ab - af - ak - als - am - an - ang - ar - arc - as - ast - av - ay - az - ba - bar - bat_smg - bcl - be - be_x_old - bg - bh - bi - bm - bn - bo - bpy - br - bs - bug - bxr - ca - cbk_zam - cdo - ce - ceb - ch - cho - chr - chy - co - cr - crh - cs - csb - cu - cv - cy - da - de - diq - dsb - dv - dz - ee - el - eml - en - eo - es - et - eu - ext - fa - ff - fi - fiu_vro - fj - fo - fr - frp - fur - fy - ga - gan - gd - gl - glk - gn - got - gu - gv - ha - hak - haw - he - hi - hif - ho - hr - hsb - ht - hu - hy - hz - ia - id - ie - ig - ii - ik - ilo - io - is - it - iu - ja - jbo - jv - ka - kaa - kab - kg - ki - kj - kk - kl - km - kn - ko - kr - ks - ksh - ku - kv - kw - ky - la - lad - lb - lbe - lg - li - lij - lmo - ln - lo - lt - lv - map_bms - mdf - mg - mh - mi - mk - ml - mn - mo - mr - mt - mus - my - myv - mzn - na - nah - nap - nds - nds_nl - ne - new - ng - nl - nn - no - nov - nrm - nv - ny - oc - om - or - os - pa - pag - pam - pap - pdc - pi - pih - pl - pms - ps - pt - qu - quality - rm - rmy - rn - ro - roa_rup - roa_tara - ru - rw - sa - sah - sc - scn - sco - sd - se - sg - sh - si - simple - sk - sl - sm - sn - so - sr - srn - ss - st - stq - su - sv - sw - szl - ta - te - tet - tg - th - ti - tk - tl - tlh - tn - to - tpi - tr - ts - tt - tum - tw - ty - udm - ug - uk - ur - uz - ve - vec - vi - vls - vo - wa - war - wo - wuu - xal - xh - yi - yo - za - zea - zh - zh_classical - zh_min_nan - zh_yue - zu -