It is somewhat "simple", but not "too simple".
You may detect the browser using JavaScript Window Navigator. The window.navigator object contains information about the visitor's browser.
Refer here http://www.w3schools.com/js/js_window_navigator.asp and you will find a demo here https://jsfiddle.net/wvbdnb8o/ which detects some common browsers using some code like;
var isOpera = !!window.opera || navigator.userAgent.indexOf(' OPR/') >= 0;
Next, create a "mask" using html and css. I mean, A full screen, opaque <div>
, that prevent readers from viewing the contents of page. You may refer this stackoverflow post How to make a <div> always full screen?.
When you detect UC Browser, display the mask, else, hide it. Hope this will give you a kick start.