User:KurwaAntics/global.js

// AjaxBatchDelete delay // batchDeleteDelay = 750;

// Import script files // importArticles({   type: "script",    articles: [        "w:c:dev:View_Source/code.js",        "w:c:dev:DisplayClock/code.js",        "w:c:dev:ReferencePopups/code.js",        "w:c:dev:FindAndReplace/code.js",        "w:c:dev:RevealAnonIP/usercode.js",        "w:c:dev:SkinSwitchButton/code.js",        "w:c:dev:FixSourcePages/code.js"    ] }); /* $(".WikiHeader div.buttons").css("width", "100%"); $(".WikiHeader div.buttons span a:hover").css("text-decoration", "underline"); $(".WikiHeader div.buttons span a:active").css("text-decoration", "underline");

$("nav.wikia-menu-button:nth-child(2)").hide; $(".wikia-button.comments.secondary").hide; $(".wikia-menu-button.contribute.secondary").hide; var x; if( window.location.href.indexOf('?') >= 0){ x = "&"; } else { x = "?"; } $(".WikiHeader div.buttons").append(   '  '+    // Edit whole page    'Edit'+    ' | '+    // View Source    'View source'+    ' | '+    // History    'View history'+    ' | '+    // Rename    'Move'+    ' | '+    // Talk / Comments    'Talk'+    ' | '+    // Protect    'Protect'+ ' | '+   // Protect 'Change protection'+ ' | '+   // Delete 'Delete'+ ' | '+   // Wiki navigation 'Edit wiki navigation</a>'+ ' '    ); $(".header-column.header-title").append( //Edit the section before TOC '<img src="data:image/gif;base64,R0lGODlhAQABAIABAAAAAP///yH5BAEAAAEALAAAAAABAAEAQAICTAEAOw%3D%3D" class="sprite edit-pencil">Edit</a>' ); if( $(".wikia-button.comments.secondary").attr("href")===undefined){ $(".talk-comments").hide; } if( $("#ca-edit").attr("href")===undefined){ $(".editpage").hide; } if( $("#ca-protect").attr("href")===undefined){ $(".protect").hide; } if( $("#ca-unprotect").attr("href")===undefined){ $(".unprotect").hide; } if( $("#ca-delete").attr("href")===undefined){ $(".delete").hide; } if( $("a[data-id=wikinavedit]").attr("href")===undefined){ $(".wikinavedit").hide; }

$(".page-User_Yhynerson1 .mw-content-ltr.mw-content-text, .page-用戶_Yhynerson1 .mw-content-ltr.mw-content-text").prepend(' ')