function onload() { if (!localStorage.getItem('chromeAccepted')) { redirect() } else { return } } acceptDisclaimer() { sessionStorage.removeItem( 'chromeAccepted'); } function redirect() { const chromium = /Chrome|Chromium|OPR|Opera|Edge|UC|QQ|Brave/.test( navigator.userAgent ); const disclaimer = `