YouTube Premium Lite² (擋廣告) [Beta 測試版]

是否曾渴望擁有 Premium,卻又覺得正版太過美好?別擔心,這個腳本會將那魯蛇般的普通標誌替換為 Premium 圖示,還能順便擋掉廣告,讓你和你的朋友們誤以為你比實際上更有錢。目前仍在測試階段,因此部分功能可能會不穩定或不完整,請多見諒。

這裡只顯示彼此間有代碼差異的版本。 顯示所有版本。

  • v0.2.3 2025-09-22

    Remove console spam. Oops.

  • v0.2.2 2025-09-22

    Fix midroll ad-skips resetting playback progress.

  • v0.2.1 2025-09-20
  • v0.2.1 2025-09-19

    Testing if faking visibility state could stabilize YouTube's ad serving logic in certain specific cases that would normally cause ad to be served in an infinite loop.
    [m] Minor bug fix.

  • v0.2.0 2025-09-19

    Updated to more reliable events to listen to.
    Updated the ad detection system to look at YouTube player's classList. Seems to be more reliable and should support midroll ads automatically, but may be less robust against YouTube updates.

  • v0.1.1 2025-09-14

    Oops. Added a weakmap to prevent event listener explosion.

  • v0.1.0 2025-09-14

    Improved stability and reliability. Updated event listeners.
    Removed ad check locking logic.
    Changed how the YouTube API is fetched.

  • v0.0.6.1 2025-09-13

    Removed console spam. No actual code change.

  • v0.0.6 2025-09-05

    Removed GM API dependency.
    Improved YouTube homepage layout calculation.

  • v0.0.5 2025-08-28

    Shorts video players got updated player id of shorts-player from YouTube. Updated script to match.

  • v0.0.4 2025-08-26

    Fixed compatibility with ScriptCat. (Added an extra timeupdate event listener to slow down the script ad check. This seems to have fixed the infinite looping bug for ScriptCat.)
    Fixed YouTube Shorts comment area being hidden incorrectly.

  • v0.0.3 2025-08-25

    Fixed the visually unappealing homepage layout caused by blocking ad renderer blocks. YouTube's aggressive UI refreshing seems to work in my favor here as it automatically restyles its own css to match my alterations, but this also makes the script more sensitive to official UI updates.

    • This like this script has very occasional compatibility issues with ScriptCat that causes the video player to be infinitely reset, but the issue is too inconsistent so it will be ignored for now. (I have been trying to provide compatibility with ScriptCat as people transition to M3 but so far it has proven unreliable and slightly feature incomplete, even though it does have some very useful features.)
  • v0.0.2 2025-07-07

    Added experimental midroll ad blocking. Unknown if this is yet 100% reliable.
    Improved adblocking speed and more reliability. (event listener things)
    Improved adblocking styling on the home page.

  • v0.0.1 2025-07-02

QingJ © 2025

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