User:TheDJ/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.
//<pre><nowiki> // Adds a UTC clock to your personal tools (works) importScript('User:TheDJ/UTCclock.js'); TwinkleConfig = { userTalkPageMode : 'tab' }; if( navigator.userAgent.indexOf( 'Firefox' ) != -1 || (navigator.userAgent.indexOf('Opera') != -1 ) || (navigator.userAgent.indexOf('Safari') != -1 && navigator.userAgent.indexOf('Version/3.') != -1) ) { // twinkle (in development) importScript('User:TheDJ/twinkle.js') // furme a script by [[User:AweenieMan]] (works) importScript('User:AWeenieMan/furme.js'); } // popups (works) // importScript('User:Lupin/popups.js'); // Navigation popups from Gadget. //importStylesheet('MediaWiki:Gadget-navpop.css'); //importScript('MediaWiki:Gadget-popups.js'); // This is a private popups version with all the latest known issues fixed. incl. hacks for safari. importScript('User:TheDJ/popups.js'); //importScript( 'User:TheDJ/apipopups.js'); popupRevertSummaryPrompt=true; popupLazyDownloads=true; popupFixDabs=true; popupShowNonCommonsImages=true; popupFixRedirs=true; popupCookies=true; popupOnEditSelection=true; popupPreviewRawTemplates=true; popupPreviewKillTemplates=false; popupPreviewButton=true; popupAdminLinks=true; popupStructure='menus'; popupShortcutKeys=true; popupOnEditSelection="boxpreview"; // This is a private version of wikEd used to develop wikEd support for Safari. var wikEdSkipBrowserTest = true; importScript('User:TheDJ/wikEd dev.js'); // a port of the Commons version of HotCat.js importScript('User:TheDJ/HotCat-dev.js'); // [[User:Zocky/Picture Popups]] // CSS document.write issue. // importScript('User:Zocky/PicturePopups.js'); // Performs basic formatting changes from a tab while editing (works) importScript('Wikipedia:WikiProject_User_scripts/Scripts/Formatter'); // Adds a purge tab (works) importScript('User:Rparle/monobook.js/purgebutton'); // Section editor (works) // importScript('User:Supadawg/secedit.js'); // Quick preview (works, disable because wikEd does the same) // importScript('User:Alex_Smotrov/qpreview.js'); // Sign button (works) // importScript('Wikipedia:WikiProject User scripts/Scripts/qSig'); // [[User:Krimpet/CH2.js]] importScript('User:TheDJ/CH2.js'); // Improved diff (works - disabled because wikEd does the same) // importScript('User:Cacycle/wikEdDiff.js'); // Last.fm player (works) // importScript('User:TheDJ/lastfm.js'); // Watches an entire Category of pages (works, disabled) // importScript('User:TheDJ/catwatch.js'); // importScript('User:Ais523/catwatchdev.js'); // importScript('User:Ais523/editsection0tab.js'); // Lupin's Anti Vandal Tool (broken on Safari) //if( navigator.userAgent.indexOf( 'Firefox' ) != -1 ) importScript("User:Lupin/recent2.js"); //Testing Trueman's AVT fork // importScript( 'User:Philip_Trueman/recent2.js'); // Adds a "Random template" link to the Navigation box function addLinksInit() { return addPortletLink( 'p-navigation', '/wiki/Special:Random/Template', 'Random template', 'n-randomtemplate', 'Load a random template', 'm' ); } // [[User:Gracenotes]] rollback summary //importScript('User:Gracenotes/rollback.js') // Status switcher importScript('User:TheDJ/qui.js'); addOnloadHook( addLinksInit ); // This forces the position of the coordinates in the appropriate DOM location importScript('User:TheDJ/movecoord.js'); // load raw SVG images (because I got plenty of bandwith baby.. ) // importScript('User:TheDJ/svg.js'); importScript("User:Ilmari Karonen/edittoolstest.js"); window.testJsEdittools = true; //</pre></nowiki>

