document.addEventListener('DOMContentLoaded', function() { var path = document.location.pathname; if (path.match(/(2558142|2558416|2583482|2574465|2579190|2558418)$/)) { document.body.style.display = 'none'; getCountry().then(function(countryName) { if (countryName !== 'United Kingdom') { document.location.href = '/404'; return; } document.body.style.display = 'block'; }); } });