⬆️ I'm refreshing the page. Notice the feed being instantly changed by github-clean-feed, but the Trending link appearing after the first paint.
document.querySelector is not that CPU-intensive, so running it on every frame until domready is not that much to ask. Perhaps it can be an option. Either way I hope to see the change in RefinedGH
I used element-ready for https://github.com/sindresorhus/refined-github/pull/441 but it's not fast enough. Here's a comparison with the simple rAF-based solution I used in
github-clean-feed
and how that compares with element-ready'ssetInterval
⬆️ I'm refreshing the page. Notice the feed being instantly changed by
github-clean-feed
, but the Trending link appearing after the first paint.document.querySelector
is not that CPU-intensive, so running it on every frame until domready is not that much to ask. Perhaps it can be an option. Either way I hope to see the change in RefinedGH