Example #1
0
 void Events_BookmarkPage(intelloTech.ProScript.WebElementEventArgs e)
 {
     addtoBookmarksMenu(e.URL, e.Title);
     StreamWriter tr;
     tr = File.AppendText("bookmarks.txt");
     tr.WriteLine(e.Title);
     tr.WriteLine(e.URL);
     tr.Close();
 }
Example #2
0
 void Events_MsgBox(intelloTech.ProScript.MsgBoxEventArgs e)
 {
     MessageBox.Show(e.Text, e.Title);
 }
Example #3
0
 void Events_ClearCache(intelloTech.ProScript.BasicEventArgs e)
 {
     Debug.WriteLine("A plugin wanted to clear the cache. That's unsupported in this version of Daedalus.");
 }
Example #4
0
 void Events_ChangeSource(intelloTech.ProScript.SourceEventArgs e)
 {
     
         //JS method
         //gwb.RunJS(@"document.write('"+e.NewSource+"');");
         //Body-only method
         gwb.Document.Body.InnerHtml = e.NewSource;
 }
Example #5
0
 void Events_ClearHistory(intelloTech.ProScript.BasicEventArgs e)
 {
     deleteHistory();
 }
Example #6
0
 void Events_CloseWindow(intelloTech.ProScript.BasicEventArgs e)
 {
     this.Close();
 }
Example #7
0
 void Events_OpenDownloads(intelloTech.ProScript.BasicEventArgs e)
 {
     Skybound.Gecko.ChromeDialog dialog = new Skybound.Gecko.ChromeDialog();
     dialog.Name = "DownloadsForm";
     dialog.Show();
     dialog.WebBrowser.Navigate("chrome://mozapps/content/downloads/downloads.xul");
 }
Example #8
0
 void Events_OpenOptions(intelloTech.ProScript.BasicEventArgs e)
 {
     try
     {
         Form2 fma = new Form2();
         fma.Show();
     }
     catch { }
 }
Example #9
0
 void Events_ViewSource(intelloTech.ProScript.URLElementEventArgs e)
 {
     gwb.ViewSource();
 }