MediaWiki:Common.js

提供: Yourpedia
2019年6月5日 (水) 18:18時点における揖保川の水兵さん (トーク | 投稿記録)による版

移動: 案内検索

注意: 保存後、変更を確認するにはブラウザーのキャッシュを消去する必要がある場合があります。

  • Firefox / Safari: Shift を押しながら 再読み込み をクリックするか、Ctrl-F5 または Ctrl-R を押してください (Mac では ⌘-R)
  • Google Chrome: Ctrl-Shift-R を押してください (Mac では ⌘-Shift-R)
  • Internet Explorer: Ctrl を押しながら 最新の情報に更新 をクリックするか、Ctrl-F5 を押してください
  • Opera: ツール → 設定 からキャッシュをクリアしてください。
/* Any JavaScript here will be loaded for all users on every page load. */

var isViewingMainPage = (/^メインページ(\/..)? - Yourpedia$/.test(document.title));
if (isViewingMainPage) {
  document.write('<style type="text/css">/*<![CDATA[*/ #lastmod, #siteSub, h1.firstHeading { display: none !important; } #content { padding-top: 1em; }/*]]>*/</style>');
}

mw.loader.load( '/index.php?title=MediaWiki:Common.js/ParserFunctions.js‎&action=raw&ctype=text/javascript' );

//END