From d82b2c8d52b95fd3f58635de71d076a8dcb8fd89 Mon Sep 17 00:00:00 2001 From: Sarthak Date: Sat, 12 Oct 2024 15:04:40 +0530 Subject: [PATCH 1/2] Added new blocking rules --- background.js | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/background.js b/background.js index 5c8888d..9726813 100644 --- a/background.js +++ b/background.js @@ -215,7 +215,19 @@ function updateAdBlocker() { priority: 1, action: { type: 'block' }, condition: { urlFilter: 'appnexus.com', resourceTypes: ['script', 'image', 'xmlhttprequest'] } - } + }, + { + id: 39, + priority: 1, + action: { type: 'block' }, + condition: { urlFilter: 'lp.mgid.com', resourceTypes: ['script', 'image', 'xmlhttprequest'] } + }, + { + id: 40, + priority: 1, + action: { type: 'block' }, + condition: { urlFilter: 'propellerads.com', resourceTypes: ['script', 'image', 'xmlhttprequest'] } + } // You can continue adding more blocking rules here... From a2bed47e29cd4780c6af093d0b42c9f9bf72b20e Mon Sep 17 00:00:00 2001 From: Sarthak Date: Sat, 12 Oct 2024 17:06:36 +0530 Subject: [PATCH 2/2] added more blocking rules --- background.js | 36 ++++++++++++++++++++++++++++++------ 1 file changed, 30 insertions(+), 6 deletions(-) diff --git a/background.js b/background.js index 9726813..a0a456c 100644 --- a/background.js +++ b/background.js @@ -183,7 +183,7 @@ function updateAdBlocker() { priority: 1, action: { type: 'block' }, condition: { urlFilter: 'adroll.com', resourceTypes: ['script', 'image', 'xmlhttprequest'] } - } + }, { id: 34, @@ -223,11 +223,35 @@ function updateAdBlocker() { condition: { urlFilter: 'lp.mgid.com', resourceTypes: ['script', 'image', 'xmlhttprequest'] } }, { - id: 40, - priority: 1, - action: { type: 'block' }, - condition: { urlFilter: 'propellerads.com', resourceTypes: ['script', 'image', 'xmlhttprequest'] } - } + id: 40, + priority: 1, + action: { type: 'block' }, + condition: { urlFilter: 'propellerads.com', resourceTypes: ['script', 'image', 'xmlhttprequest'] } + }, + { + id: 41, + priority: 1, + action: { type: 'block' }, + condition: { urlFilter: 'www.searchenginejournal.com', resourceTypes: ['script', 'image', 'xmlhttprequest'] } + }, + { + id: 42, + priority: 1, + action: { type: 'block' }, + condition: { urlFilter: 'https://raptive.com/', resourceTypes: ['script', 'image', 'xmlhttprequest'] } + }, + { + id: 43, + priority: 1, + action: { type: 'block' }, + condition: { urlFilter: 'https://adcash.com/', resourceTypes: ['script', 'image', 'xmlhttprequest'] } + }, + { + id: 44, + priority: 1, + action: { type: 'block' }, + condition: { urlFilter: 'adsterra.com', resourceTypes: ['script', 'image', 'xmlhttprequest'] } + } // You can continue adding more blocking rules here...