Greasy Fork is available in English.

YouTube Enchantments

Automatically likes videos of channels you're subscribed to, scrolls down on Youtube with a toggle button, and bypasses the AdBlock ban.

These are all versions of this script. Show only the versions where the code changed.

  • v0.8 2024-10-07
  • v0.8 2024-10-03
  • v0.7 2024-09-27

    Version 0.7

    Added:

    • Web Worker for background tasks to improve performance
    • Numeric input for Watch Threshold in settings dialog
    • Comprehensive comments for better code readability

    Changed:

    • Reintroduced Watch Threshold setting
    • Removed Debug option from settings
    • Optimized DOM queries and event listeners
    • Enhanced error handling for player and button interactions

    Fixed:

    • AdBlock bypass functionality improved and streamlined

    Optimized:

    • Settings dialog rendering and interaction
    • Video liking process efficiency
    • Scrolling functionality
  • v0.6 2024-07-13
  • v0.6 2024-06-22
  • v0.6 2024-06-21
  • v0.6 2024-06-21
  • v0.6 2024-06-21
  • v0.6 2024-06-08

    YouTube Enchantments version 0.6 Changelog:

    Added new behavior for the Page Up key:

    If scroll down is active, pressing Page Up will stop the scrolling as before.
    If scroll down is not active, pressing Page Up will now scroll to the top of the page (position 0, 0).

  • v0.5 2024-06-02

    YouTube Enchantments version 0.5 Changelog:

    Enhanced the AdBlock ban bypass feature:

    Improved detection of the AdBlock error message on YouTube.
    Optimized the replacement of the blocked player with an embedded iframe from youtube-nocookie.com.
    Ensured smoother video playback when AdBlock is enabled.


    Added a settings dialog accessible via the F2 key, allowing users to customize various options.
    Enhanced debugging and logging capabilities with the introduction of a Debugger class.
    Fixed an issue where the script stopped working when closing the settings dialog using the "Close" button.
    Improved code organization and readability for better maintainability.

  • v0.4 2024-05-19

    Changelog for v0.4:

    - Added a new setting autoLikeEnabled to enable or disable the auto-liking feature.

    - The auto-liking feature will be disabled if the autoLikeEnabled setting is set to false.

    - A new checkbox for the autoLikeEnabled setting will be added to the settings dialog.

  • v0.3 2024-05-19

    **Changelog for v0.2:**

    - Added a function `removeAdBlockingDialog()` to remove the ad-blocking warning dialog on YouTube.
    - The `removeAdBlockingDialog()` function is called when the script loads to remove the ad-blocking dialog if it's already present on the page.
    - The existing `MutationObserver` now calls the `removeAdBlockingDialog()` function when it detects a new `TP-YT-PAPER-DIALOG` element (which represents the ad-blocking dialog) being added to the DOM.
    - This change ensures that the ad-blocking warning dialog is removed both when the script first loads and during its execution, covering all possible scenarios where the dialog might appear.

  • v0.2 2024-05-16