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)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
// Define toolbox tray container
var mwWrapper = document.getElementById("mw-wrapper");
var toolboxTrayContainer = document.createElement("div");
var toolboxTrayButton = document.createElement("button");
var toolboxTrayButtonInner = document.createElement("div");
var toolboxTray = document.createElement("div");
toolboxTrayContainer.id = "toolboxTrayContainer";
toolboxTrayButton.id = "toolboxTrayButton";
toolboxTrayButtonInner.id = "toolboxTrayButtonInner";
toolboxTrayButton.setAttribute('onclick','toggleToolboxTray()');
toolboxTray.id = "toolboxTray";
toolboxTrayButtonInner.textContent = "<";
mwWrapper.append(toolboxTrayContainer);
toolboxTrayContainer.append(toolboxTrayButton);
toolboxTrayButton.append(toolboxTrayButtonInner);
toolboxTrayContainer.append(toolboxTray);
// Define links
var TTRecentChangesContainer = document.createElement("a");
var TTRecentChangesIcon = document.createElement("div");
var TTRecentChangesText = document.createElement("div");
var TTMyContributionsContainer = document.createElement("a");
var TTMyContributionsIcon = document.createElement("div");
var TTMyContributionsText = document.createElement("div");
var TTSpecialPagesContainer = document.createElement("a");
var TTSpecialPagesIcon = document.createElement("div");
var TTSpecialPagesText = document.createElement("div");
TTRecentChangesContainer.className = "toolbox-container";
TTRecentChangesIcon.className = "toolbox-icon";
TTRecentChangesText.className = "toolbox-text";
TTMyContributionsContainer.className = "toolbox-container";
TTMyContributionsIcon.className = "toolbox-icon";
TTMyContributionsText.className = "toolbox-text";
TTSpecialPagesContainer.className = "toolbox-container";
TTSpecialPagesIcon.className = "toolbox-icon";
TTSpecialPagesText.className = "toolbox-text";
TTRecentChangesContainer.setAttribute('href','https://howto.skywiki.org/wiki/Special:RecentChanges');
TTRecentChangesIcon.textContent = "schedule";
TTRecentChangesText.textContent = "Recent changes";
TTMyContributionsContainer.setAttribute('href','https://howto.skywiki.org/wiki/Special:MyContributions');
TTMyContributionsIcon.textContent = "history";
TTMyContributionsText.textContent = "My contribs";
TTSpecialPagesContainer.setAttribute('href','https://howto.skywiki.org/wiki/Special:SpecialPages');
TTSpecialPagesIcon.textContent = "description";
TTSpecialPagesText.textContent = "Special pages";
toolboxTray.append(TTRecentChangesContainer);
TTRecentChangesContainer.append(TTRecentChangesIcon);
TTRecentChangesContainer.append(TTRecentChangesText);
toolboxTray.append(TTMyContributionsContainer);
TTMyContributionsContainer.append(TTMyContributionsIcon);
TTMyContributionsContainer.append(TTMyContributionsText);
toolboxTray.append(TTSpecialPagesContainer);
TTSpecialPagesContainer.append(TTSpecialPagesIcon);
TTSpecialPagesContainer.append(TTSpecialPagesText);