tell application "Safari" to do JavaScript "[...document.querySelectorAll('#main-header, .site-footer, .box-title, .powers')].map(el => el.remove()); [...document.getElementsByClassName('resizer')].map(l => {l.style.border = 'none'; l.style.boxShadow = 'none';l.style.height='3px'}); [...document.getElementsByClassName('editor-resizer')].map(l => {l.style.border = 'none'; l.style.background = '#1e1f23'; l.style.width='3px'}); document.body.style.paddingBottom=0; setInterval(() => {[...document.getElementsByClassName('code-wrap')].map(l => l.style.height='100%'); [...document.getElementsByClassName('box')].map(l => l.style.width='33.3%')}, 30000)" in front document