不让 JavaScript 错误显示出来,设置属性 ScriptErrorsSuppressed 为 false(默认值就是 false,所以其实不用设置)。
不让右键菜单显示出来,设置属性 IsWebBrowserContextMenuEnabled 为 false。
不让滚动条显示出来,设置属性 ScrollBarsEnabled 为 false。
不让接受拖拽,设置属性 AllowWebBrowserDrop 为 false,否则多个 WebBrowser 时,WebBrowser A 中的内容可被拖到 WebBrowser B 中去。
不让使用快捷键(比如 F5),设置属性 WebBrowserShortcutsEnabled 为 false。