{"id":14988913,"url":"https://github.com/nulldev/yt-anti-anti-adblock","last_synced_at":"2026-03-02T21:37:21.865Z","repository":{"id":203868557,"uuid":"706681585","full_name":"NullDev/YT-Anti-Anti-Adblock","owner":"NullDev","description":"Simplistic user-script to remove YouTube's annoying \"Ad blockers are not allowed on YouTube\" popup.","archived":false,"fork":false,"pushed_at":"2024-11-30T03:43:03.000Z","size":217,"stargazers_count":61,"open_issues_count":11,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-10T16:50:25.018Z","etag":null,"topics":["anti-anti-adblock","greasemonkey","hacktoberfest","javascript","nulldev","tampermonkey","userscript","youtube"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NullDev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-18T12:28:12.000Z","updated_at":"2025-03-05T00:11:38.000Z","dependencies_parsed_at":"2023-11-21T19:48:09.580Z","dependency_job_id":null,"html_url":"https://github.com/NullDev/YT-Anti-Anti-Adblock","commit_stats":{"total_commits":74,"total_committers":2,"mean_commits":37.0,"dds":"0.43243243243243246","last_synced_commit":"899fa9ca3ee329248aa6c3c50a8c6801c42183b5"},"previous_names":["nulldev/yt-anti-anti-adblock"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NullDev%2FYT-Anti-Anti-Adblock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NullDev%2FYT-Anti-Anti-Adblock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NullDev%2FYT-Anti-Anti-Adblock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NullDev%2FYT-Anti-Anti-Adblock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NullDev","download_url":"https://codeload.github.com/NullDev/YT-Anti-Anti-Adblock/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244066189,"owners_count":20392406,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["anti-anti-adblock","greasemonkey","hacktoberfest","javascript","nulldev","tampermonkey","userscript","youtube"],"created_at":"2024-09-24T14:17:25.109Z","updated_at":"2026-03-02T21:37:21.849Z","avatar_url":"https://github.com/NullDev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# YT Anti-Anti-Adblock\n\n[![Greasy Fork](https://img.shields.io/greasyfork/dt/478457?label=Installs)](https://greasyfork.org/en/scripts/478457-youtube-anti-anti-adblock)\n[![Tampermonkey / Violentmonkey](https://img.shields.io/badge/Tampermonkey%20/%20Violentmonkey-✓-brightgreen.svg)](https://www.tampermonkey.net)\n[![Greasemonkey](https://img.shields.io/badge/Greasemonkey-✓-brightgreen.svg)](https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/)\n[![GitHub closed issues](https://img.shields.io/github/issues-closed-raw/NullDev/YT-Anti-Anti-Adblock?logo=Cachet\u0026label=Closed+Issues)](https://github.com/NullDev/YT-Anti-Anti-Adblock/issues?q=is%3Aissue+is%3Aclosed)\n[![Version](https://img.shields.io/greasyfork/v/478457?label=Version)](https://greasyfork.org/en/scripts/478457-youtube-anti-anti-adblock/versions)\n[![Greasy Fork Rating](https://img.shields.io/greasyfork/rating-count/478457?label=Rating)](https://greasyfork.org/en/scripts/478457-youtube-anti-anti-adblock/feedback)\n\n\u003cp align=\"center\"\u003e\u003ca href=\"https://raw.githubusercontent.com/NullDev/YT-Anti-Anti-Adblock/master/yt-anti-anti-adblock.user.js\"\u003e\u003cimg height=\"200\" width=\"auto\" src=\"/icon.png\" /\u003e\u003c/a\u003e\u003c/p\u003e\n\u003cp align=\"center\"\u003e\u003cb\u003eSimplistic user-script to remove YouTube's \"Adblockers are not allowed\" popup.\u003c/b\u003e\u003c/p\u003e\n\u003chr\u003e\n\n# :warning: IMPORTANT\n\nThis script DOES work for me as of September 2025. \u003cbr\u003e\n**HOWEVER**, there are currently a lot of [unresolved issues](https://github.com/NullDev/YT-Anti-Anti-Adblock/issues) and I cannot reproduce them. \u003cbr\u003e\n\n**I WOULD GREATLY APPRECIATE HELP AND COLLABORATIORS ON THIS PROJECT!**\n\n\u003csmall\u003eContext: For me, the script uses the iFrame method only, which works fine for me.\u003c/small\u003e\n\n\u003chr\u003e\n\n## :question: What does it do?\n\nIt automatically closes the anti-adblock popups and un-pauses (or loads) the video for you. \u003cbr\u003e\nHopefully even fast enough so that you don't even notice 😸\n\n- It removes the closable \"Ad blockers are not allowed on YouTube\" popup.\n- It removes the closable three-strikes popup.\n- And it removes the **non-closable** \"Ad blockers violate YouTube's Terms of Service\".\n- It also supports playlists and timestamps and stuff.\n- Oh and the script auto updates. Which is neat. I guess.\n\n**Note:** This is _not_ a replacement for your Ad-Blocker.\n\n\u003chr\u003e\n\n## ✔️ Compatibility\n\nThis script has been tested and is compatible with the following extensions and userscripts: \n- [AdBlockPlus](https://chrome.google.com/webstore/detail/adblock-plus-free-ad-bloc/cfhdojbkjhnklbpkdaibdccddilifddb)\n- [uBlock Origin](https://chrome.google.com/webstore/detail/ublock-origin/cjpalhdlnbpafiamejdnhcphjbkeiagm)\n- [minerBlock](https://chrome.google.com/webstore/detail/minerblock/emikbbbebcdfohonlaifafnoanocnebl)\n- [Return YouTube Dislike](https://chrome.google.com/webstore/detail/return-youtube-dislike/gebbhagfogifgggkldgodflihgfeippi)\n- [Sponsor block for YouTube](https://chrome.google.com/webstore/detail/sponsorblock-for-youtube/mnjggcdmjocbbbhaepdhchncahnbgone)\n- [YouTube Playlist Search](https://inspect.video/playlist-search)\n- [Enhancer for YT](https://chromewebstore.google.com/detail/enhancer-for-youtube/ponfpcnoihfmfllpaingbgckeeldkhle)\n- ... others will most likely work as well, but have not been tested. Please [report any issue](https://github.com/NullDev/YT-Anti-Anti-Adblock/issues/new/choose) you encounter.\n\n\u003chr\u003e\n\n## :question: Why not use xyz?\n\nExisting solutions either didn't work (e.g. a semi transparent window was still there and scrolling was disabled) or they were overkill (e.g. a complete youtube-only adblocker) or they only killed one type of popup.\n\nHence: ✨ YouTube Anti-Anti-Adblock ✨\n\n\u003chr\u003e\n\n## :satellite: Installation\n\n1. **Install Tampermonkey for your browser**:\n   - [Tampermonkey for Chrome](https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo)\n   - [Tampermonkey for Firefox](https://addons.mozilla.org/en-US/firefox/addon/tampermonkey/) or [Greasemonkey for Firefox](https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/)\n   - [Tampermonkey for Edge](https://microsoftedge.microsoft.com/addons/detail/tampermonkey/iikmkjmpaadaobahmlepeloendndfphd)\n   - [Tampermonkey for Opera/OperaGX](https://addons.opera.com/en-gb/extensions/details/tampermonkey-beta/)\n\n   Note: [ViolentMonkey](https://violentmonkey.github.io/) works too!\n\n2. **Install the script**: \u003cbr\u003e\u003cbr\u003e\n[![Click to install](https://img.shields.io/badge/Click%20to%20install-37a779?style=for-the-badge)](https://github.com/NullDev/YT-Anti-Anti-Adblock/raw/master/yt-anti-anti-adblock.user.js)\n\n    \u003csub\u003eIf the button doesn't work for some reason: [click here](https://raw.githubusercontent.com/NullDev/YT-Anti-Anti-Adblock/master/yt-anti-anti-adblock.user.js).\u003c/sub\u003e\n\n### 🍴 You can also find the script on [Greasy Fork](https://greasyfork.org/en/scripts/478457-youtube-anti-anti-adblock)!\n\n\u003chr\u003e\n\n## :diamond_shape_with_a_dot_inside: Feature requests \u0026 Issues\n\nFeature request or discovered a bug? Please [open an Issue](https://github.com/NullDev/YT-Anti-Anti-Adblock/issues/new/choose) here on GitHub.\n\n\u003chr\u003e\n\n## :octocat: Contributors\n\n\u003ca href=\"https://github.com/NullDev/YT-Anti-Anti-Adblock/graphs/contributors\"\u003e\n  \u003cimg src=\"https://contrib.rocks/image?repo=NullDev/YT-Anti-Anti-Adblock\" /\u003e\n\u003c/a\u003e\n\n\u003csub\u003eMade with [contrib.rocks](https://contrib.rocks).\u003c/sub\u003e\n\n\u003chr\u003e\n\n## 💻 Development\n\nIf you're interested in helping out (thanks!): \n- Clone the repository: `git clone https://github.com/NullDev/YT-Anti-Anti-Adblock.git`\n- Open it in your favourite IDE\n- Install the dependencies for linting with `npm i`\n- [Link the script in Tampermonkey](https://www.tampermonkey.net/faq.php?locale=en#Q402)\n\nBasically, in your Tampermonkey dashboard you create a new script that looks like this: \n\n```js\n// ==UserScript==\n// @name           YouTube Anti-Anti-Adblock\n// @name:de        YouTube Anti-Anti-Adblock\n// @namespace      yt-anti-anti-adblock\n// @version        1.2.2\n// @description    Removes all the \"ad blockers are not allowed on youtube\" popups.\n// @description:de Entfernt alle \"Werbeblocker sind auf YouTube nicht erlaubt\" popups.\n// @author         NullDev\n// @copyright      Copyright (c) 2023 NullDev\n// @license        MIT\n// @match          *://*.youtube.com/*\n// @homepageURL    https://github.com/NullDev/YT-Anti-Anti-Adblock\n// @supportURL     https://github.com/NullDev/YT-Anti-Anti-Adblock/issues/new/choose\n// @icon           https://raw.githubusercontent.com/NullDev/YT-Anti-Anti-Adblock/master/icon.png\n// @grant          none\n// @run-at         document-idle\n// @require        file://C:/Users/XXX/PATH/TO/REPOSITORY/YT-Anti-Anti-Adblock/yt-anti-anti-adblock.user.js\n// ==/UserScript==\n```\n\nPay attention to the `// @require` line and edit the path accordingly.\n- Windows: `file://C:/.../...` \n- Linux: `file:///.../...`\n\n**Note:** Make sure you _DO NOT_ provide a `@updateURL` and `@downloadURL` field!\n\nThen make sure the Tampermonkey extension [has permissions for file paths](https://www.tampermonkey.net/faq.php?locale=en#Q204). \u003cbr\u003e\nAnd finally, just code in your IDE and Tampermonkey will autoupdate it. (You need to reload YouTube though)\n\nNow all thats left to do is grab an [open issue](https://github.com/NullDev/YT-Anti-Anti-Adblock/issues) and start coding. 😸\n\n\u003chr\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnulldev%2Fyt-anti-anti-adblock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnulldev%2Fyt-anti-anti-adblock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnulldev%2Fyt-anti-anti-adblock/lists"}