A script to remove YouTube ads, including static ads and video ads, without interfering with the network and ensuring safety.
A UserScript to remove YouTube ads. Supports both desktop and mobile platforms.
For desktop, it's recommended to use Tampermonkey for installation. For Android, use the Via browser for installation; iOS users can try on their own.
The script is also available on GitHub.
YouTube's handling of users varies; if the script does not work for you, it may not be suitable for your situation.