Update year

This commit is contained in:
Natsumi
2026-01-12 09:49:34 +13:00
parent 2a31a1f988
commit 637201c8f7
33 changed files with 35 additions and 216 deletions

View File

@@ -1,10 +1,4 @@
// Copyright(c) 2019-2025 pypy, Natsumi and individual contributors.
// All rights reserved.
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
using CefSharp;
using CefSharp;
namespace VRCX
{

View File

@@ -1,9 +1,4 @@
// Copyright(c) 2019-2025 pypy, Natsumi and individual contributors.
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
using CefSharp;
using CefSharp;
namespace VRCX
{

View File

@@ -1,9 +1,3 @@
// Copyright(c) 2019-2025 pypy, Natsumi and individual contributors.
// All rights reserved.
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
using System.Security.Cryptography.X509Certificates;
using CefSharp;
using NLog;
@@ -13,14 +7,14 @@ namespace VRCX
public class CustomRequestHandler : IRequestHandler
{
private readonly Logger _logger = LogManager.GetCurrentClassLogger();
public bool OnBeforeBrowse(IWebBrowser chromiumWebBrowser, IBrowser browser, IFrame frame, IRequest request, bool userGesture, bool isRedirect)
{
if (Program.LaunchDebug ||
request.Url.StartsWith("file://vrcx/") ||
request.Url.StartsWith("chrome-extension://"))
return false;
_logger.Error("Blocking navigation to: {Url}", request.Url);
return true;
}

View File

@@ -1,9 +1,3 @@
// Copyright(c) 2019-2025 pypy, Natsumi and individual contributors.
// All rights reserved.
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
using System.Collections.Generic;
using CefSharp;
using CefSharp.Enums;

View File

@@ -1,9 +1,4 @@
// Copyright(c) 2019-2025 pypy, Natsumi and individual contributors.
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
using System;
using System;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;

View File

@@ -1,9 +1,3 @@
// Copyright(c) 2019-2025 pypy, Natsumi and individual contributors.
// All rights reserved.
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
using System;
using System.Diagnostics.CodeAnalysis;
using System.Drawing;
@@ -243,7 +237,7 @@ namespace VRCX
{
Instance.Browser.ShowDevTools();
}
private void TrayMenu_ForceCrash_Click(object sender, System.EventArgs e)
{
Instance.Browser.LoadUrl("chrome://crash");