Ceremony64 / Autorefresh Standings & Scroll to it

// ==UserScript==
// @name        Autorefresh Standings & Scroll to it
// @namespace   matchplayevents.scrolltostandings
// @description Pinball 4 Ever
// @include     https://matchplay.events/live/*/standings
// @version     1
// @grant       none
// ==/UserScript==

var element = document.querySelector(".box");
var offset = element.offsetTop
var padding = window.getComputedStyle(element, null).getPropertyValue('padding-top').replace(/[^0-9]/g,'') * 1;

window.scrollTo(0,offset+padding)

setTimeout(function(){location.reload()}, 60 * 1000);