Jump to content

User:Elvey/monobook.js

From Wikipedia, the free encyclopedia
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.
//Don't load twinke here per https://en.wikipedia.org/wiki/Wikipedia:Twinkle#Is_Twinkle_loading_unreliably.3F
//importScript('User:AzaToth/twinkle.js');


//BEGIN attempt to fix black-on-black in wikEd with dark-on-light Gadget:
//All customizations must be placed before the wikEd installation block.
/*var wikEdFrameCSS = {};
wikEdFrameCSS['.wikEdLinkName'] = 'color: #00a000; font-weight: bold;';

Try to set:		'.wikEdFrameBodySyntax .wikEdHeading':   'color: #000; font-weight: bold;',
			'.wikEdFrameBodySyntax .wikEdHeadingWP': 'color: #000; font-weight: bold;',
			'.wikEdFrameBodyNewbee .wikEdHeading':   'color: #000; font-weight: bold; font-size: larger; line-height: 1.7;',
			'.wikEdFrameBodyNewbee .wikEdHeadingWP': 'color: #000; font-weight: bold; font-size: larger; line-height: 1.7; background-color: #e8e8e8;',
// colors
			'.wikEdColorsLight':  'color: black;',
			'.wikEdColorsDark':   'color: white;',
*/
//Created by Elvey:
var wikEdFrameBodySyntax = {};
wikEdFrameBodySyntax['.wikEdHeading'] = 'color: #f0f; font-weight: bold;';
wikEdFrameBodySyntax['.wikEdHeadingWP'] = 'color: #f0f; font-weight: bold;';
var wikEdFrameBodyNewbee = {};
wikEdFrameBodyNewbee['.wikEdHeading'] = 'color: #f0f; font-weight: bold;';
wikEdFrameBodyNewbee['.wikEdHeadingWP'] = 'color: #f0f; font-weight: bold;';

//Buggy?   Not any more, but still ineffective.  I mean yes...
var wikEdFrameCSS = {};
wikEdFrameCSS['.wikEdColorsLight'] = 'color: pink;';

wikEdFrameCSS['.wikEdColorsDark'] = 'color: pink;';

// //var wikEdInter = 'color: pink;';
wikEdFrameCSS['.wikEdInter'] = 'color: pink;';
var wikEdFrameInner = {};
wikEdFrameInner['.wikEdColorsLight'] = 'color: pink;';

wikEdFrameInner['.wikEdColorsDark'] = 'color: pink;';
wikEdFrameInner['.wikEdFrameInner'] = 'color: pink;';
wikEdFrameInner['.wikEdFrameInner'] = 'text: pink;';
wikEdFrameInner['.wikEdFrameInner'] = 'foreground: pink;';

// //var wikEdInter = 'color: pink;';
wikEdFrameInner['.wikEdInter'] = 'color: pink;';

//Can we at least change something!???
/*This should be changeable:!!!
			'.wikEdURL':          '',
			'.wikEdURLName':      'color: #00e; font-weight: bold;',
			'.wikEdURLTarget':    'color: #00e;',
			'.wikEdURLText':      'color: #00e; font-weight: bold;',
*/
//var wikEdFrameCSS = {};
wikEdFrameCSS['.wikEdURLName'] = 'color: yellow; font-weight: bold;';
wikEdFrameCSS['.wikEdURLText'] = 'color: orange; font-weight: bold;'; 
//name or text?


//END attempt to fix black-on-black in wikEd



// install [[Wikipedia:User:Cacycle/wikEd]] in-browser text editor (new version)
//document.write('<script type="text/javascript" src="'
//+ 'https://en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js'
//+ '&action=raw&ctype=text/javascript"></' + 'script>');

//Note: wikEd (above) can now be enabled in Preferences..Gadgets.  But currently using this and just disabled the other, for testing.

/*need to click the disable button in wikEd to use refToolbar*/

//WikiHoursLimit['.BannedHours'] = '0 4 8 12 16 20';

//Try to set differently.
var WikiHoursLimit = {};
WikiHoursLimit['.BannedHours'] = '0 4 8 15 16';

// install [[Wikipedia:User:Elvey/WikiHoursLimit]] WikiBreak enforcer - limits the hours a user can log in.

//Commented out; haven't really used for ages.  Use Bish.
/*
document.write('<script type="text/javascript" src="'
+ 'https://en.wikipedia.org/w/index.php?title=User:Elvey/WikiHoursLimit.js'
+ '&action=raw&ctype=text/javascript"></' + 'script>');
*/




//importScript('User:Mr.Z-man/refToolbar.js');

// [[User:Lupin/popups.js]]
// wait for RAM to return.   
//importScript('User:Lupin/popups.js');
//Information: You are importing User:Lupin/popups.js into your common.js or <skin>.js! This script is unmaintained. Please remove this inclusion and enable the Navigation popups Gadget in the preferences of your account instead.

//Gadget isn't working.  Trying this:
//importScript('User:Elvey/popups.js');

//Free Use Rationales; requres twinkle.
//TRIMFAT  importScript('User:AWeenieMan/furme.js');


// See [[WP:Friendly]]
//TRIMFAT  importScript('User:Ioeth/friendly.js');

// See https://en.wikipedia.org/wiki/Wikipedia_talk:WikiProject_User_scripts#New_version_of_hidePane.js  Why?  My .css from Lemmiwinks2 should like it. 
// Yikes!  This makes all the menus invisible!  They're still there up at the top, but damn!  Wacky.  They're probably only invisible due to light-on-dark.  This didn't seem to help anyway. 
// 2015: still problematic; not as bad tho; still leaving disabled.
// importScript('User:Gerbrant/hidePane.js');

/**
 * HAPPI gadget
 * 
 * This gadget is part of a research study being conducted by the
 * GroupLens Research lab at the University of Minnesota.  Please see
 * the consent form at https://wikipedia.grouplens.org/HAPPI/consent. 
 * If you have questions/comments/suggestions, please direct them to
 * User:EpochFail.
 **/
//SLOW.  importScript("User:EpochFail/HAPPI.js")

//importScript('User:Smith609/toolbox.js');