From c216053c4d9949496f26ef33d77d41313cbe3617 Mon Sep 17 00:00:00 2001 From: Stevoisiak Date: Thu, 17 Sep 2026 16:17:55 -0400 Subject: [PATCH] Add Adblock Filter List UDL (light & dark) Adds User Defined Languages for Adblock Filter List files (light mode and dark mode). This file format contains a list of filters for Adblockers such as uBlock Origin, AdGuard, and Adblock Plus. These are typically saved as .txt files, hence why no file extension was specified in the UDLs. Formatted colors are based on the colors GitHub uses to highlight Adblock files. Descriptions of Adblock file format: * [AdGuard: How to create your own ad filters](https://adguard.com/kb/general/ad-filtering/create-own-filters/) * [Adblock Plus: How to write filters](https://help.adblockplus.org/adblock-plus-help-center/how-to-write-filters) * [uBlock Origin: Static filter syntax](https://github.com/gorhill/ublock/wiki/static-filter-syntax) Example files: * https://github.com/Stevoisiak/Stevos-AI-Blocklist/blob/main/GenAI-Blocklist.txt * https://github.com/easylist/easylist/blob/master/easylist/easylist_specific_hide.txt * https://github.com/DandelionSprout/adfilt/blob/master/I%20Don't%20Want%20to%20Download%20Your%20Browser.txt --- ...Adblock-Filter-List-Dark-by-Stevoisiak.xml | 65 +++++++++++++++++++ ...dblock-Filter-List-Light-by-Stevoisiak.xml | 65 +++++++++++++++++++ udl-list.json | 18 +++++ 3 files changed, 148 insertions(+) create mode 100644 UDLs/Adblock-Filter-List-Dark-by-Stevoisiak.xml create mode 100644 UDLs/Adblock-Filter-List-Light-by-Stevoisiak.xml diff --git a/UDLs/Adblock-Filter-List-Dark-by-Stevoisiak.xml b/UDLs/Adblock-Filter-List-Dark-by-Stevoisiak.xml new file mode 100644 index 0000000..0e3656d --- /dev/null +++ b/UDLs/Adblock-Filter-List-Dark-by-Stevoisiak.xml @@ -0,0 +1,65 @@ + + + + + + + + + 00! 01 02 03 04 + + + + + + + + > + ~ * | + + + + + + + + + + + js + + + + + + + + 00## 00#@# 00#?# 01\ 02 03( 04 05) 06[ 07 08] 09 10 11 12|| 12@@|| 13 14 15$ 16 17 18= 19 20 21((EOL)) 22 23 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/UDLs/Adblock-Filter-List-Light-by-Stevoisiak.xml b/UDLs/Adblock-Filter-List-Light-by-Stevoisiak.xml new file mode 100644 index 0000000..dc2b442 --- /dev/null +++ b/UDLs/Adblock-Filter-List-Light-by-Stevoisiak.xml @@ -0,0 +1,65 @@ + + + + + + + + + 00! 01 02 03 04 + + + + + + + + > + ~ * | + + + + + + + + + + + js + + + + + + + + 00## 00#@# 00#?# 01\ 02 03( 04 05) 06[ 07 08] 09 10 11 12|| 12@@|| 13 14 15$ 16 17 18= 19 20 21((EOL)) 22 23 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/udl-list.json b/udl-list.json index fab60c0..10263ee 100644 --- a/udl-list.json +++ b/udl-list.json @@ -103,6 +103,24 @@ "autoCompletion": "Ada (202x)", "autoCompletionAuthor": "generate_ac.py" }, + { + "id-name": "Adblock-Filter-List-Dark-by-Stevoisiak", + "display-name": "Adblock Filter List (Dark)", + "version": "2025-09-17", + "repository": "https://raw.githubusercontent.com/Stevoisiak/Adblock-UDL-for-NotepadPlusPlus/refs/heads/main/Adblock-Filter-List-Dark.udl.xml", + "description": "Adblock filter list UDL", + "author": "Stevoisiak", + "homepage": "https://github.com/Stevoisiak" + }, + { + "id-name": "Adblock-Filter-List-Light-by-Stevoisiak", + "display-name": "Adblock Filter List (Light)", + "version": "2025-09-17", + "repository": "https://raw.githubusercontent.com/Stevoisiak/Adblock-UDL-for-NotepadPlusPlus/refs/heads/main/Adblock-Filter-List-Light.udl.xml", + "description": "Adblock filter list UDL", + "author": "Stevoisiak", + "homepage": "https://github.com/Stevoisiak" + }, { "id-name": "AgenaUDL", "display-name": "Agena",