private void Browser_Navigating(object sender, WebBrowserNavigatingEventArgs e) { string url = e.Url.OriginalString; if (GuiUtils.IsRunningOnMono() && url.StartsWith("wyciwyg")) { return; } if (url.StartsWith("about:blank")) { return; } url = url.Replace("http://", ""); url = url.TrimEnd('/'); string[] command = url.Split('/'); if (command.Length > 0) { if (command[0] == "edit") { EditMenu.PerformClick(); } } e.Cancel = true; }