
Reblogged by slightlyoff@toot.cafe ("Alex Russell"):
mayank@front-end.social ("Mayank") wrote:
the biggest quality-of-life change i've made as a daily @github user is write a tiny userscript to remove their client-side navigation (turbo):
```
document.body.dataset.turbo = 'false';
[...document.querySelectorAll('a[data-turbo-frame]')].forEach(link => {
delete link.dataset.turboFrame;
});
```sometimes i temporarily disable this script to see how bad things are, and every time it's worse than the previous time. stale state, duplicated content, broken CSS, and just general sluggishness