(// Edit via Wikiplus) |
小无编辑摘要 标签:已被回退 |
||
第1行: | 第1行: | ||
mw.loader.load('//youshou.wiki/index.php?title=User:Zorua Fox/JWB.js/load.js&action=raw&ctype=text/javascript'); |
mw.loader.load('//youshou.wiki/index.php?title=User:Zorua Fox/JWB.js/load.js&action=raw&ctype=text/javascript'); |
||
$(function() { |
|||
var list = $('a[href]') |
|||
.not($('span.mw-editsection a')) |
|||
.not($('#p-views a')) |
|||
.not($('#p-cactions a')) |
|||
.not($('a[href^="#"]')) |
|||
.not($('#mw-editform-cancel a')); |
|||
for (var i = 0; i < list.length; i++) { |
|||
list[i].target = '_blank'; |
|||
} |
|||
}); |
2024年3月7日 (四) 19:56的版本
mw.loader.load('//youshou.wiki/index.php?title=User:Zorua Fox/JWB.js/load.js&action=raw&ctype=text/javascript');
$(function() {
var list = $('a[href]')
.not($('span.mw-editsection a'))
.not($('#p-views a'))
.not($('#p-cactions a'))
.not($('a[href^="#"]'))
.not($('#mw-editform-cancel a'));
for (var i = 0; i < list.length; i++) {
list[i].target = '_blank';
}
});