2 using System.Text.RegularExpressions;
3 using bytex64.WebThing;
5 public class DefaultPage : WebThingPlugin {
6 public override void Init(WebThing wt) {
7 if (Config.Arguments.Length > 0) {
8 foreach (string arg in Config.Arguments)
10 } else if (Config.Options.ContainsKey("DefaultPage")) {
11 string[] pages = Regex.Split(Config.Options["DefaultPage"], @"\s+");
12 foreach (string page in pages)
15 wt.OpenUriTab("http://dominionofawesome.com/");