(() => {
const style = document.createElement('style');
style.id = 'disable-animations-debug';
style.textContent = `
*, *::before, *::after {
animation: none !important;
transition: none !important;
scroll-behavior: auto !important;
caret-color: auto !important;
}
`;
document.documentElement.appendChild(style);
console.log('disabled CSS animations/transitions');
})();
More info:
https://gist.github.com/RubenKelevra/4676f22ff0467513fc75026032745216