youtube icon indicating copy to clipboard operation
youtube copied to clipboard

💡 Performance: content scripts inject 8 CSS + 7 JS into every YouTube iframe at document_start (`all_frames: true`)

Open chirag127 opened this issue 5 months ago • 4 comments

@-

chirag127 avatar Jul 01 '26 03:07 chirag127

I'm experiencing the same problem — ImproveTube's extra buttons and UI only appear after refreshing the page.

TheManInTheWall avatar Jul 02 '26 10:07 TheManInTheWall

hi @chirag127 the browsers may hold these in ram. Otherwise we can save some IOPs. We may load big / future JS features, like user scripts, conditionally (and big CSS too if any. (For the themes we could apply the background color instantly, but load the rest conditionally. Yet the themes css is verbose, could just be shortned a lot too.)

ImprovedTube2 avatar Jul 03 '26 18:07 ImprovedTube2

hi @TheManInTheWall, @hkzo worked on this https://github.com/code-charity/youtube/pulls?q=is%3Apr++author%3Ahkzo and the change is live in the Stores by Google and Mozilla

ImprovedTube2 avatar Jul 03 '26 18:07 ImprovedTube2

hi @TheManInTheWall, @hkzo worked on this https://github.com/code-charity/youtube/pulls?q=is%3Apr++author%3Ahkzo and the change is live in the Stores by Google and Mozilla

Yes it is fixed. Thank you

TheManInTheWall avatar Jul 03 '26 18:07 TheManInTheWall