User:Irukaza/common.js:修订间差异
跳到导航
跳到搜索
imported>=海豚= 无编辑摘要 |
imported>=海豚= 无编辑摘要 |
||
第2行: | 第2行: | ||
srch=document.getElementById("page-actions"); | srch=document.getElementById("page-actions"); | ||
srch.parentElement.insertBefore(spanobj,srch); | srch.parentElement.insertBefore(spanobj,srch); | ||
spanobj.innerHTML="<a href=\"#/talk\" id=\"toptool\">讨论<\/a> · <a href=\"//zh.moegirl.org.cn/index.php?title=\'+mw.util.wikiUrlencode(mw.config.get('wgPageName'))+\'\&action=edit\">信息<\/a> · <a href= | spanobj.innerHTML="<a href=\"#/talk\" id=\"toptool\">讨论<\/a> · <a href=\"//zh.moegirl.org.cn/index.php?title=\'+mw.util.wikiUrlencode(mw.config.get('wgPageName'))+\'\&action=edit\">信息<\/a> · <a href="' + mw.config.get('wgScript') + '?' + $.param({ title: mw.config.get('wgPageName'), action: 'info' }) +'"> 信息</a> · <a href=\"#\" id=\"toptool\">下载APP<\/a>"; |
2021年8月19日 (四) 13:07的版本
spanobj=document.createElement("span");
srch=document.getElementById("page-actions");
srch.parentElement.insertBefore(spanobj,srch);
spanobj.innerHTML="<a href=\"#/talk\" id=\"toptool\">讨论<\/a> · <a href=\"//zh.moegirl.org.cn/index.php?title=\'+mw.util.wikiUrlencode(mw.config.get('wgPageName'))+\'\&action=edit\">信息<\/a> · <a href="' + mw.config.get('wgScript') + '?' + $.param({ title: mw.config.get('wgPageName'), action: 'info' }) +'">信息</a> · <a href=\"#\" id=\"toptool\">下载APP<\/a>";