Skip to content

Commit

Permalink
adjust cef options
Browse files Browse the repository at this point in the history
  • Loading branch information
pypy committed Nov 18, 2019
1 parent 88f9217 commit 69d7549
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ public static void Main()
{
var settings = new CefSettings
{
IgnoreCertificateErrors = true,
CachePath = "cache",
PersistUserPreferences = true,
PersistSessionCookies = true,
WindowlessRenderingEnabled = true
};
settings.CefCommandLineArgs.Add("ignore-certificate-errors", "1");
settings.CefCommandLineArgs.Add("disable-web-security", "1");
settings.CefCommandLineArgs.Add("no-proxy-server", "1");
// settings.CefCommandLineArgs.Add("no-proxy-server", "1");
settings.CefCommandLineArgs.Add("disable-plugins-discovery", "1");
settings.CefCommandLineArgs.Add("disable-extensions", "1");
settings.CefCommandLineArgs.Add("disable-pdf-extension", "1");
Expand Down

0 comments on commit 69d7549

Please sign in to comment.