Open doma-itachi opened 2 years ago
Although I cannot be helpful in resolving performance issues, I want to make some suggestion. Personally, I often open YouTube videos in a new tab, so I searched, found this extension below.
I tried this extension, after adding a redirect rule, it works perfectly. (perhaps not use-friendly for non-programmer) So I think using redirect maybe a good direction.
Hello, thanks a lot for building this, I have attempted to address some of these in #6 , please check it out
"Hide shorts video" is very unstable and has performance issues.
problem
loading loop It keeps doing a loading loop when most of the listings are shorts because of a simple process (if the href contains "short", clear it)
performance issues
solution
loading loop The way removeShortVideo() is handled should be changed.
performance issues Currently, we use mutationObserver to execute removeShortVideo() each time the DOM is updated. We should use a different method of execution (e.g. event listener).
But I don't know how to do this, so if someone could do it for me, that would be great.