Code that you insert on this page could contain malicious content capable of compromising your account. If you import a script from another page with "importScript", "mw.loader.load", "iusc", or "lusc", take note that this causes you to dynamically load a remote script, which could be changed by others. Editors are responsible for all edits and actions they perform, including by scripts. User scripts are not centrally supported and may malfunction or become inoperable due to software changes. A guide to help you find broken scripts is available. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump. This code will be executed when previewing this page.
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
// [[User:Lupin/popups.js]] - please include this line mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js'+'&action=raw&ctype=text/javascript&dontcountme=s');popupShortcutKeys=true;// optional: enable keyboard shortcutspopupAdminLinks=true;// optional: enable admin links// -----------------------------------------------------------------------------// Übergodmode Monobook skin// (c) 2005 Sam Hocevar <sam@zoy.org>// $Id: ubergodmode.js 886 2005-05-14 23:56:48Z sam $// -----------------------------------------------------------------------------// -----------------------------------------------------------------------------// Language support// -----------------------------------------------------------------------------varblocklink='Block this user';switch(document.getElementsByTagName('html')[0].lang){case'fr':blocklink='Bloquer cet utilisateur';break;}// -----------------------------------------------------------------------------// Our nice Block functions// -----------------------------------------------------------------------------functionPerformBlock(){varl,target='';// Look for '&faketarget=XXX' in URLurl=location.pathname;l=location.search.substring(1).split('&');for(i=0;i<l.length;i++){varn=l[i].indexOf('=');if(l[i].substring(0,n)=='faketarget'){target=l[i].substring(n+1);}}if(!target)return;form=document.getElementById('blockip');if(!form)return;input=form.getElementsByTagName('input')[0];input.value=target;}// -----------------------------------------------------------------------------// Add block buttons to the page// -----------------------------------------------------------------------------functionAddBlockButtons(){varl,article='',vandal;// Add 'block' links to a diff pagel=document.getElementById('t-contributions');if(l){clone=l.cloneNode(true);l.id='t-blockuser';a=clone.getElementsByTagName('a')[0];a.href=a.href.replace(/Special:Contributions\//,'Special:Blockip/');a.href=a.href.replace(/target=/,'faketarget=');a.innerHTML=blocklink;l.parentNode.insertBefore(clone,l.nextSibling);}}//<source lang="javascript">MetadataAssessmentColor={link:"blue",FA:"#000000",A:"black",GA:"black",B:"black",start:"black",stub:"black",list:"black",dab:"black",redir:"black",none:"black"}</source>