MediaWiki:Gadget-libBottomRightCorner.js
注意:在发布之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。
- Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5或Ctrl-R(Mac为⌘-R)
- Google Chrome:按Ctrl-Shift-R(Mac为⌘-Shift-R)
- Internet Explorer或Edge:按住Ctrl的同时单击刷新,或按Ctrl-F5
- Opera:按 Ctrl-F5。
/* <pre> */ /** * ------------------------------------------------------------------------- * !!! DON'T MODIFY THIS PAGE MANUALLY, YOUR CHANGES WILL BE OVERWRITTEN !!! * ------------------------------------------------------------------------- */ var _addText = '{{GHIACode|page=GHIA:MoegirlPediaInterfaceCodes/blob/master/src/gadgets/libBottomRightCorner/MediaWiki:Gadget-libBottomRightCorner.js|user=[[U:AnnAngela]]|longId=4ee5b47352efe72dd9f86d9b72d6bec27fe7a4f5|shortId=4ee5b47|message=more cleanup}}'; "use strict"; $(function () { var body = document.body; var bottomRightCorner = $("<div>").attr("id", "bottomRightCorner"); bottomRightCorner.appendTo(body); window.insertToBottomRightCorner = function (text) { return $("<div>").text(text).appendTo(bottomRightCorner); }; }); /* </pre> */