internal static void DisablePlugin(bool showErrorBox = true) { if (showErrorBox) { Logger.Error($"Plugin \"{PLUGIN_NAME}\" will be disabled", null, true); } IsPluginDisabled = true; Logger.SetMode(Logger.Mode.DISABLED); _linksHighlighter?.Dispose(); UserInputHandler.Disable(); NavigationHandler.Disable(); }