How to restrict a site in Cefsharp? #3680
Answered
by
amaitland
Aravind-pro
asked this question in
Q&A
-
I would like to block some sites in my browser . Please help me |
Beta Was this translation helpful? Give feedback.
Answered by
amaitland
Jul 9, 2021
Replies: 1 comment
-
You can use The example at https://github.com/cefsharp/CefSharp/wiki/General-Usage#protocol-execution has the basic pattern you can follow. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Aravind-pro
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use
http://cefsharp.github.io/api/91.1.x/html/M_CefSharp_IRequestHandler_OnBeforeBrowse.htm
The example at https://github.com/cefsharp/CefSharp/wiki/General-Usage#protocol-execution has the basic pattern you can follow.