File indexing completed on 2025-01-19 04:47:00
0001 /* 0002 SPDX-FileCopyrightText: 2023-2024 Laurent Montel <montel.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #include "adblocklistsutil.h" 0008 0009 QStringList AdblockListsUtil::adblockFilterNamesDefaultList() 0010 { 0011 return {QStringLiteral("uBlock filters"), 0012 QStringLiteral("uBlock filters – Privacy"), 0013 QStringLiteral("uBlock filters – Resource abuse"), 0014 QStringLiteral("uBlock filters – Unbreak"), 0015 QStringLiteral("EasyPrivacy"), 0016 QStringLiteral("Easylist"), 0017 QStringLiteral("AdGuard Annoyances"), 0018 QStringLiteral("Adblock Warning Removal List")}; 0019 } 0020 0021 QList<QUrl> AdblockListsUtil::adblockFilterUrlsDefaultList() 0022 { 0023 return {QUrl(QStringLiteral("https://raw.githubusercontent.com/uBlockOrigin/uAssets/master/filters/filters.txt")), 0024 QUrl(QStringLiteral("https://raw.githubusercontent.com/uBlockOrigin/uAssets/master/filters/privacy.txt")), 0025 QUrl(QStringLiteral("https://raw.githubusercontent.com/uBlockOrigin/uAssets/master/filters/resource-abuse.txt")), 0026 QUrl(QStringLiteral("https://raw.githubusercontent.com/uBlockOrigin/uAssets/master/filters/unbreak.txt")), 0027 QUrl(QStringLiteral("https://easylist.to/easylist/easyprivacy.txt")), 0028 QUrl(QStringLiteral("https://easylist.to/easylist/easylist.txt")), 0029 QUrl(QStringLiteral("https://filters.adtidy.org/extension/ublock/filters/14.txt")), 0030 QUrl(QStringLiteral("https://easylist-downloads.adblockplus.org/antiadblockfilters.txt"))}; 0031 }