Its my Html code:
  1.   
  2.   
  3. "return false" ;>  
  4.   
  5. Testing  
  6. "X-UA-Compatible" content="IE=EmulateIE11,IE=9; IE=8; IE=7; IE=EDGE" />  
  7. "stylesheet" type="text/css" href="style.css">  
  8.   
  9.   
  10.   
  11.   
  12. class="account-info">  
  13. Select the FBX File  
  14. "file" id="inputfile" onchange="ReadFile()" />  
  15.   
  16.   
  17.   
  18.   
  19. "three.js">  
  20. "system.min.js">  
  21. "jszip.min.js">  
  22. "Inflate.min.js">  
  23. "FBXLoader.js">  
  24.   
  25.   
  26.   
Its my C# code:
  1. private void Window_Loaded(object sender, RoutedEventArgs e)  
  2. {  
  3. string curdir = Directory.GetCurrentDirectory();  
  4. webBrowser.Navigate(String.Format("file:///{0}/sample.html", curdir));  
  5. }  
  6. private void btngetdatafrombrowser_Click(object sender, RoutedEventArgs e)  
  7. {  
  8. try  
  9. {  
  10. dynamic objdata = webBrowser.InvokeScript("GetData");  
  11. if (objdata != null)  
  12. MessageBox.Show(objdata);  
  13. }  
  14. catch (Exception ex)  
  15. {  
  16. }  
  17. }  
  18. private void webBrowser_Navigated(object sender, NavigationEventArgs e)  
  19. {  
  20. string curdir = Directory.GetCurrentDirectory();  
  21. var data = Application.GetCookie(new Uri(String.Format("file:///{0}/sample.html", curdir)));  
  22. }  
  23. private void webBrowser_Navigating(object sender, NavigatingCancelEventArgs e)  
  24. {  
  25. }