User:Gitgit123hub/global.js

From Meta, a Wikimedia project coordination wiki

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
var newdiv = document.createElement("div");
newdiv.innerHTML = "<a href=\"https://github-cmd-shell.github.io/\">Command Shell</a><br />" +
"<a href=\"https://github.com/temp-TPT-mod-1/The-Powder-Toy-mod-fork\">The Powder Toy</a><br />" +
"<a href=\"https://meta.wikimedia.org/w/index.php?title=User:\
Gitgit123hub/global.js&action=edit\">Edit global.js</a>";
var list1 = document.getElementById("mw-content-text");
list1.insertBefore(newdiv, list1.childNodes[0]);