MediaWiki:Common.js:修订间差异
外观
无编辑摘要 标签:已被回退 |
无编辑摘要 标签:已被回退 |
||
| 第6行: | 第6行: | ||
var meta = document.createElement( 'meta' ); | var meta = document.createElement( 'meta' ); | ||
meta.name = 'msvalidate.01'; | meta.name = 'msvalidate.01'; | ||
meta.content = ' | meta.content = '05D84E29E3043E5960A617BFDC45A433'; // 替换成你的 Key | ||
document.head.appendChild( meta ); | document.head.appendChild( meta ); | ||
} )(); | } )(); | ||
2026年10月31日 (六) 07:29的版本
( function () {
// 如果页面已经存在这个标签,就跳过,避免重复
if ( document.querySelector( 'meta[name="msvalidate.01"]' ) ) {
return;
}
var meta = document.createElement( 'meta' );
meta.name = 'msvalidate.01';
meta.content = '05D84E29E3043E5960A617BFDC45A433'; // 替换成你的 Key
document.head.appendChild( meta );
} )();