How to make CEF only handle a custom scheme

Do not post support requests, bug reports or feature requests. Discuss CEF here. Non-CEF related discussion goes in General Discussion!

How to make CEF only handle a custom scheme

Postby lihe » Sat Aug 25, 2012 12:55 am

i want user can only navigate url like test://www.web.com/index.html , and all site is in hard disk.if user use http:// or file:// ,then change url to test://.....

I redirect http:// and file:// in OnBeforeResourceLoad function, is it enough?
lihe
Newbie
 
Posts: 1
Joined: Sat Aug 25, 2012 12:46 am

Re: How to make CEF only handle a custom scheme

Postby magreenblatt » Fri Aug 31, 2012 2:58 pm

Not all request paths go through OnBeforeResourceLoad. For example, requests originating from a plugin like Flash may still touch the internet.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm


Return to CEF Discussion

Who is online

Users browsing this forum: No registered users and 139 guests