{"id":20536615,"url":"https://github.com/tomoneill/youtube-comment-filter-script","last_synced_at":"2026-05-09T05:33:07.350Z","repository":{"id":190250632,"uuid":"63496486","full_name":"TomONeill/youtube-comment-filter-script","owner":"TomONeill","description":"A userscript for Greasemonkey and Tampermonkey to clean out stupid comments like \"first\" and \"I'm early\"","archived":false,"fork":false,"pushed_at":"2019-10-13T16:03:43.000Z","size":143,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-07T13:45:40.108Z","etag":null,"topics":["greasemonkey-script","tampermonkey-script","userscript","youtube"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TomONeill.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.txt","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2016-07-16T18:17:12.000Z","updated_at":"2020-06-03T17:46:46.000Z","dependencies_parsed_at":"2023-08-23T20:56:38.806Z","dependency_job_id":null,"html_url":"https://github.com/TomONeill/youtube-comment-filter-script","commit_stats":null,"previous_names":["tomoneill/youtube-comment-filter-script"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TomONeill/youtube-comment-filter-script","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TomONeill%2Fyoutube-comment-filter-script","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TomONeill%2Fyoutube-comment-filter-script/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TomONeill%2Fyoutube-comment-filter-script/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TomONeill%2Fyoutube-comment-filter-script/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TomONeill","download_url":"https://codeload.github.com/TomONeill/youtube-comment-filter-script/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TomONeill%2Fyoutube-comment-filter-script/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32808453,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"online","status_checked_at":"2026-05-09T02:00:06.633Z","response_time":123,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["greasemonkey-script","tampermonkey-script","userscript","youtube"],"created_at":"2024-11-16T00:37:18.008Z","updated_at":"2026-05-09T05:33:07.322Z","avatar_url":"https://github.com/TomONeill.png","language":"JavaScript","funding_links":["https://www.paypal.me/TomONeill"],"categories":[],"sub_categories":[],"readme":"# YouTube Comment Filter Script\nScript that filters unwanted comments.\n\u003cBR/\u003e\nEnjoy.\n\u003cBR/\u003e\u003cBR/\u003e\nVersion \u003cstrong\u003e2.4\u003c/strong\u003e\n\n\u003cA HREF=\"https://github.com/TomONeill/youtube-comment-filter-script/raw/master/yt-comment-filter-latest.user.js\"\u003eINSTALL\u003c/A\u003e\n\n# Screenshots\n\u003cIMG SRC=\"https://raw.githubusercontent.com/TomONeill/youtube-comment-filter-script/master/screenshots/preview.png\" width=\"600\" height=\"100\" /\u003e\n\u003cBR /\u003e\n\u003cIMG SRC=\"https://raw.githubusercontent.com/TomONeill/youtube-comment-filter-script/master/screenshots/preview_2.png\" width=\"450\" height=\"200\" /\u003e\n\n# Description\nThis repository includes a userscript for Greasemonkey and Tampermonkey that tries to find and remove stupid comments like \"first\" and \"I'm early\".\n\n# How it works\nThe script does a very simple job by comparing each comment with hardcoded commonly used comments (or commonly used word combinations). It checks every now and then (configurable in the code) for new comments (which means that when you scroll down it will look for comments which weren't there before or after clicking the \"Load more comments\" button) and filters the annoying ones out.\n\n# Turn off certain 'rules'\nYou can simply turn some of the rules off if you don't like what they are doing. For example if you don't want \u003ci\u003efirst\u003c/i\u003e comments to be filtered out, simply click the script and find (somewhere above) \u003ci\u003eREMOVE_FIRST\u003c/i\u003e. Change true to false and you are good to go :)\nAvailable rules with their default values (everything true by default):\n\n\tconst MIN_COMMENT_LENGTH = 5;          // Removes any comment that has less than # characters\n\tconst MIN_COMMENT_WORDS = 2;           // Removes any comment that has less than # words\n\tconst MIN_COMMENT_WORDS_FILTER = 3;    // Removes any comment that has less than # characters words in combination with any (non-aggressive) filter\n    \n    const REMOVE_FIRST = true;             // Removes any comment with suspected combinations of \"first\"\n    const REMOVE_EARLY = true;             // Removes any comment with suspected combinations of \"early\"\n    const REMOVE_EARLY_AGGRESSIVE = true;  // Removes any comment with \"early\" without looking at MIN_COMMENT_WORDS_FILTER\n    const REMOVE_CRINGE_AGGRESSIVE = true; // Removes any comment with \"cringe\" without looking at MIN_COMMENT_WORDS_FILTER\n    const REMOVE_SELF_LIKES = true;        // Removes any comment which has suspicion of asking for likes\n    const REMOVE_SELF_PROMO = true;        // Removes any comment which has suspicion of asking for subscribers\n    const REMOVE_ATTENTION_SEEKERS = true; // Removes any comment which has suspicion of seeking attention/is unrelated to the video\n\t\n\tconst FLAIR_INSTEAD_OF_REMOVE = true;   // Instead of removing comments, show a \"spam\" flair\n\n*New*:\nAbility to block users by their url (right click on user name and select \"Copy url\", paste it in this list within quotes)\n\t\n\tconst BLOCKED_USER_URLS = [\n\t\t// EXAMPLE: \"https://www.youtube.com/channel/abcdefghijklmnop\"\n\t\t\"\"\n\t];\n\t\n# Changelog\n\u003cA HREF=\"https://raw.githubusercontent.com/TomONeill/youtube-comment-filter-script/master/changelog.txt\"\u003eView changelog\u003c/A\u003e\n\n# Donate\nIf you like my work so much you feel like doing something nice for me, a complete stranger of the internet, you can.\u003cBR /\u003e\n\u003cA HREF=\"https://www.paypal.me/TomONeill\"\u003eDonate here\u003c/A\u003e.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomoneill%2Fyoutube-comment-filter-script","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftomoneill%2Fyoutube-comment-filter-script","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomoneill%2Fyoutube-comment-filter-script/lists"}