提供: Japanese Scratch-Wiki
注意: 保存後、変更を確認するにはブラウザーのキャッシュを消去する必要がある場合があります。
- Firefox / Safari: Shift を押しながら 再読み込み をクリックするか、Ctrl-F5 または Ctrl-R を押してください (Mac では ⌘-R)
- Google Chrome: Ctrl-Shift-R を押してください (Mac では ⌘-Shift-R)
- Internet Explorer / Microsoft Edge: Ctrl を押しながら 最新の情報に更新 をクリックするか、Ctrl-F5 を押してください
- Opera: Ctrl-F5を押してください
/* このスクリプトはCC0です。 使用する場合は自己責任で使用してください。 */ document.querySelector("#navigation > div > ul > li.link.explore > ul").insertAdjacentHTML("beforeend","<li><a href='https://ja.scratch-wiki.info/wiki/メインページ'><span>ホームへ戻る</span></a></li>"); document.querySelector("#navigation > div > ul > li.link.create > ul").insertAdjacentHTML("beforeend","<li><a href='https://ja.scratch-wiki.info/wiki/Japanese_Scratch-Wiki:作成すべき100の記事'><span>作成すべき100の記事</span></a></li><li><a href='https://ja.scratch-wiki.info/wiki/カテゴリ:3.0アップデートによる大規模変更予定ページ'><span>3.0アップデートによる大規模変更予定ページ</span></a></li><li><a href='https://ja.scratch-wiki.info/wiki/カテゴリ:スタブ'><span>スタブ</span></a></li>"); ["tips","discuss","about"].forEach(function(i){ document.getElementsByClassName(i)[0].style.display = "none"; }); if(mw.config.get("wgAction") === "edit"){ ["feet","footer"].forEach(function(i){ document.getElementById(i).style.display = "none"; }); document.querySelector("#view .left").style.display = "none"; document.querySelector("#view .right").style.margin = "0px"; document.querySelector("#view .right").style.width = "100%"; document.querySelector("#view > div > div").style.width = "80%"; document.getElementById("wikiPreview").style.width = "800px"; document.getElementById("wpSummary").addEventListener("focus",function(){ this.select(); }); if(!document.getElementById("wpSummary").value)document.getElementById("wpSummary").value = "/* */"; }