(function () { const storageKey = 'is-next-click'; try { const consoleLog = (...args) => { const searchParams = new URLSearchParams(window.location.search); if (searchParams.has('__DEBUG__')) { console.log(...args); } } window.addEventListener('pagereveal', (e) => { if (!navigation.activation.from) return; if (e.viewTransition) { consoleLog('transitioning view') const isNextClick = sessionStorage.getItem(storageKey) === 'true'; if (isNextClick) { consoleLog('transitioning next click') sessionStorage.removeItem(storageKey); } else { consoleLog('skipping transition') e.viewTransition.skipTransition(); } } }); } catch { // do nothing - being parsed on server } })();

Stay up to date with notifications from The Independent

Notifications can be managed in browser preferences.

ISIS

Thank you for ing

Please refresh the page or navigate to another page on the site to be automatically logged inPlease refresh your browser to be logged in