I am still struggling to find a solution to block ads ?

  • Автор темы Автор темы Wizdeb
  • Дата начала Дата начала

Wizdeb

Client
Регистрация
17.01.2022
Сообщения
53
Реакции
1
Баллы
8
Lately i have been searching reading old posts about blocking ads but seem to find no answer
so, if anybody have a solution please help me out people were on zenno even before zenno introduced chromium browser so there must be a solution
Guys help me out..
 
No solution for CEF. I would recommend you to move to Chromium.
 
Lately i have been searching reading old posts about blocking ads but seem to find no answer
so, if anybody have a solution please help me out people were on zenno even before zenno introduced chromium browser so there must be a solution
Guys help me out..

Every ad is loaded on page doing GET/POST requests to ad server.
If You find out what is such ad server domain/s then you can block them with using Content Blocker action.
 
Yeah got it but how to work with List.
a small example
C#:
Развернуть Свернуть Копировать
var domains = new []{ "vk.com", "top-fwz1.mail.ru", "www.tns-counter.ru", "stat.radar.imgsmail.ru" };
instance.SetContentPolicy("BlockList", domains, null);
 

Кто просматривает тему: (Всего: 0, Пользователи: 0, Гости: 0)