User:Heartlesspokemon/common.js

var openSansFont = document.createElement('link'); openSansFont.setAttribute('rel','stylesheet'); openSansFont.setAttribute('href','https://fonts.googleapis.com/css2?family=Open+Sans&display=swap'); var bodyElement = document.querySelector('body'); bodyElement.appendChild(openSansFont);