跳转到内容

欢迎来到MCServerWiki!如果您是第一次来到这里,请点击:创建账户

MediaWiki:Common.js:修订间差异

来自MCServerWiki
QWERTY 52 38
QWERTY 52 38留言 | 贡献 (// Edit via Wikiplus)
PexEric
PexEric留言 | 贡献
 
(未显示2个用户的4个中间版本)
第1行: 第1行:
/* 这里的任何JavaScript将为所有用户在每次页面载入时加载。 */
mw.loader.load('https://wikiplus-app.com/Main.js')
// load user css and js
// load user css and js
username = document.getElementById("pt-userpage").a.innerHtml
username = document.getElementById("pt-userpage").a.innerHtml
alert(username) // test
alert(username) // test

2022年5月5日 (四) 12:42的最新版本

// load user css and js
username = document.getElementById("pt-userpage").a.innerHtml
alert(username) // test