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=\"/特殊:链入页面/+'mw.util.wikiUrlencode(mw.config.get('wgPageName'))'\" id=\"toptool\">相关<\/a> · <a href=\"#\" id=\"toptool\">下载APP<\/a>"; | 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.util.wikiUrlencode(mw.config.get(\'wgPageName\'))\'\" id=\"toptool\">相关<\/a> · <a href=\"#\" id=\"toptool\">下载APP<\/a>"; |
2021年8月19日 (四) 10:46的版本
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.util.wikiUrlencode(mw.config.get(\'wgPageName\'))\'\" id=\"toptool\">相关<\/a> · <a href=\"#\" id=\"toptool\">下载APP<\/a>";