Unlocks rewind for YouTube live streams with disabled DVR
< Feedback on YTBetter - Enable Rewind/DVR
Hello! Sure, I added one more sentence to the description and attached an image. Here it is.
If you're wondering how the code works, I also had to spend some time reading MDN documentation to understand it, lol. I don't have much ES6 experience.
Basically it looks for the property "playerResponse" in every Object on the YouTube page and then forces DVR to be enabled when the property is found. This technique is used quite often for userscripts, as it turns out. I thought that maybe it can affect browser performance (since it searches in every object), but didn't notice any difference myself on my semi-old PC.
The "Symbol.for" part is needed to prevent compatibility issues with other scripts that also modify playerResponse. It was smart for the original author to put it there.
Thank you very much for all explanations, it's very interesting ;-)
Effectively, it's a very great script :-)
And then to finish, it works very well.
Hello,
It's possible to have a more detailed description, because it looks really useful but I'm wondering how more precisely please ?
Thank you in advance.