Add YouTube Video Progress

Adds a progress bars (or dots) at bottom of video, a progress text which includes video quality and subtitle indicators, and a chapter title box on the YouTube video page.

< 腳本Add YouTube Video Progress的回應

評論:正評 - 腳本一切正常

§
發表於:2024-08-01

Updated to newest version, but it doesn't work now. In my Chrome console, it says:
"Uncaught TypeError: Failed to set the 'innerHTML' property on 'Element': This document requires 'TrustedHTML' assignment."
Any idea how to fix this?

jcunews作者
§
發表於:2024-08-02

I can not reproduce that problem in my Chromium.

Disable the script, reload the page, then recheck the console.

§
發表於:2024-08-06

I can confirm that the script is no longer working, using Opera with Tampermonkey. Getting the same errors as nevlin in the console.

§
發表於:2024-08-06

I can not reproduce that problem in my Chromium.

Disable the script, reload the page, then recheck the console.

Disabled/enabled script & issue still persists. Same when I disabled/enabled TamperMonkey extension.
Also found out it's happening with another one of your other userscripts I installed (Mark Watched Youtube Videos).

Not sure if it helps, but I attached screenshots of the errors in Chrome console and the location in the script where the error occurred:

jcunews作者
§
發表於:2024-08-07

This seems to be Tampermonkey specific problem. There's a UserScript which supposedly fixes that. So, you might want to try that and report back.

https://gf.qytechs.cn/en/scripts/433051-trusted-types-helper

jcunews作者
§
發表於:2024-08-07

This seems to be Tampermonkey specific problem. There's a UserScript which supposedly fixes that. So, you might want to try that and report back.

https://gf.qytechs.cn/en/scripts/433051-trusted-types-helper

Scratch that. It won't work in this case. I'll think of something else.

jcunews作者
§
發表於:2024-08-07

Turns out that, it's due to the new one-sided anti-content-control "trusted" CSP policy (sic). The script has been updated for that. Other affected scripts will follow.

§
發表於:2024-08-07

Awesome! It's working again!
Huge props to you for not only being so quick to respond to feedback, but also for implementing a fix in such a short time.

§
發表於:2024-08-07

Working for me again too. Thanks.

發表回覆

登入以回復

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址