imported>=海豚= |
imported>=海豚= |
第17行: |
第17行: |
| $('.wikiEditor-ui-controls').css('background-color', $('#content').css('background-color')); | | $('.wikiEditor-ui-controls').css('background-color', $('#content').css('background-color')); |
|
| |
|
| //编辑提示检查
| |
| if ($(".mw-summary-preset")[0]) {
| |
| $(".CheckNewSectionOn").hide();
| |
| } else {
| |
| $(".CheckNewSectionOff").hide();
| |
| $('.headerInputbox a[href*="preload=Template%3A权限申请%2F"], .headerInputbox a[href*="preload=Template%3A%E6%9D%83%E9%99%90%E7%94%B3%E8%AF%B7%2F"]').attr("target", "_self");
| |
| }
| |
|
| |
| if ($(".AbusefilterWarningNoHttp")[0]) {
| |
| $("#wpTextbox1").val($("#wpTextbox1").val().replace(/http:\/\/([a-z\d]+\.bilibili\.[a-z\d]+)/ig, "https://$1"));
| |
| }
| |
| //编辑请求 | | //编辑请求 |
| var prefixNumber = function(num) { | | var prefixNumber = function(num) { |