var doc = this.WebBrowser.Document.DomDocument as IHTMLDocument2;
var win = doc.parentWindow as IHTMLWindow2;

string jscode = @"

  //这里写JS代码

 ";

win.execScript(jscode, "javascript");

 

  

 

相关文章:

  • 2021-06-12
  • 2022-12-23
  • 2021-12-28
  • 2022-12-23
  • 2021-05-24
  • 2022-12-23
  • 2021-12-26
猜你喜欢
  • 2022-12-23
  • 2021-11-09
  • 2022-12-23
  • 2021-12-04
  • 2022-12-23
  • 2021-10-25
  • 2022-12-23
相关资源
相似解决方案