User:Yukiseaside/vector.js

// importScript("User:Yukiseaside/coord.js");

// UI customize (function($){	$(function{ $('(sub)SandboxCSSJS').insertAfter("#pt-userpage"); $('#pt-optin-leave, #pt-optin-feedback, .mw-tos-summary, #editpage-copywarn, #editpage-copywarn2, #p-navigation, #n-aboutsite, #n-contact, #n-sitesupport, #recentchangesblock, #jswarning, #userinvalidcssjstitle, #pt-prefswitch-link-on, #pt-prefswitch-link-anon').remove; $("#searchform").attr("target","_blank"); $("#p-lang .interwiki-zh-yue").clone.prependTo("#p-lang ul").css("font-weight","bold"); $("#p-lang .interwiki-zh").clone.prependTo("#p-lang ul").css("font-weight","bold"); }); })(window.jQuery);

// style safety (function($){	$(function{ $("div").each(function{			if ( ( ($(this).css("position") == "fixed") || ($(this).css("position") == "absolute") ) && (parseInt( $(this).css("z-index") ) >= 10) && (parseInt( $(this).css("width") ) >= 50) && (parseInt( $(this).css("height") ) >= 50) && ($(this).css("visibility") != "hidden") && ($(this).css("display" != "none") ) ) {				$(' ').insertAfter("#jump-to-nav");				$(this).appendTo("#styleSafety");				$(" ").appendTo("#styleSafety");				$(this).css("position","inherit");			}		}); }); })(window.jQuery);

/* lite */ (function($){	$(function{ $('#p-personal').css('right','2em'); $(' <img width="15" height="11" src="http://bits.wikimedia.org/skins-1.5/common/images/magnify-clip.png" alt="Toggle lite" /> ').appendTo('body').toggle(function{			$('#content').css("margin-left","0");			$('body>div:not(#content, #toggleLite)').hide;		},function{			$('#content').css("margin-left","10em");			$('body>div:not(#content, #toggleLite)').show;		}); }); })(window.jQuery);

/* go commons */ (function($){	$(function{ if ($('.sharedUploadNotice tr td p b a').length ) window.location.href = $('.sharedUploadNotice tr td p b a').attr('href'); }); })(window.jQuery);

/* // (function($){ $(function{

}); })(window.jQuery);