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 07/10/2024
  • v0.8 03/10/2024
  • v0.7 27/09/2024

    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 13/07/2024
  • v0.6 22/06/2024
  • v0.6 21/06/2024
  • v0.6 21/06/2024
  • v0.6 21/06/2024
  • v0.6 08/06/2024

    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 02/06/2024

    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 19/05/2024

    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 19/05/2024

    **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 16/05/2024