User:SamuelBF/monobook.js

// Get all paragraph elements on the page var paragraphs = document.getElementsByTagName("p"); var references = document.getElementByTagName("sup");

// Get the first image element var firstImage = document.getElementsByTagName("img")[0];

// Add the class "hidden" to hide the element references.classList.add("hidden");

// To show the element again, remove the class //element.classList.remove("hidden");