event.clipboardData.setData('text/html', newText.replace(/&/g, '&').replace(/</g, '<').replace(/>/g, '>'))
event.preventDefault()
})
+
+/**
+ * Scroll the page to honour the fixed navbar when linked to an anchor
+ * @return {Undefined}
+ */
+function shiftWindow () { if (window.location.hash) window.scrollBy(0, -50) };
+window.addEventListener('hashchange', shiftWindow)
+window.onload = shiftWindow