Posts

Showing posts from May, 2020

How to pre-install adblock to the cefsharp project

Image
http://old-support.getadblock.com/discussions/questions/79056-how-to-pre-install-adblock-to-our-cefsharp-project This article is created for those who ask for a solution questioned in the linked page above. I have to say I receive many e mails from around the world so that I will explain the answer acording to my knowledge from these days (... year 2016) So there is no an easy way to install extensions to CEF. Google make extension apis by its own way. It is built on chromium branch but Google Chrome made many developments specially for its browser.  Ofcourse you can build your extension manager on chromium project. So for this case better to explore this link first.  In this link you ll see my work about installing adblock by myself. It worked but not as I expected in chrome of google. I kindly shared for you to save some time... So as a sum up; to have a custom ad blocking system; we put a filter between a method from in chromium wrapper CEF. We used a simple way;   CefReturnValue IR