From d088585e68e12cca8c69e53e9c3dd1639d391a69 Mon Sep 17 00:00:00 2001 From: wanhose Date: Tue, 15 Oct 2024 09:42:40 +0000 Subject: [PATCH] Add Exclusion list file format --- Exclusion-list-file-format.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 Exclusion-list-file-format.md diff --git a/Exclusion-list-file-format.md b/Exclusion-list-file-format.md new file mode 100644 index 0000000..5479114 --- /dev/null +++ b/Exclusion-list-file-format.md @@ -0,0 +1,32 @@ +The `.cdm` file is used to store domain exclusions for the Cookie Dialog Monster extension. This file should follow a specific format to ensure proper functionality. + +## Blank lines + +The file must not contain any **blank lines**. + +## Domain lines + +Each line should contain a single domain in the following formats: + +- For URLs like `https://another.example.com`, use `another.example.com` +- For URLs like `https://example.com`, use `example.com` +- For URLs like `https://www.example.com`, use `example.com` + +## No spaces + +Ensure there are **no spaces** before, between or after the domain name. + +## Valid `.cdm` file example + +``` +example-1.com +example-2.com +example-3.com +example-4.com +example-5.com +another.example-1.com +another.example-2.com +another.example-3.com +another.example-4.com +another.example-5.com +``` \ No newline at end of file