开发者

Embed a browser in a asp.net web-based tool

开发者 https://www.devze.com 2023-02-18 04:32 出处:网络
[Note: I have modified my original post to provide some clarifications - m.e.] Does anyone know of a way to embed a web browser within a web page, e.g. through a Java applet or similar mechanism? I h

[Note: I have modified my original post to provide some clarifications - m.e.]

Does anyone know of a way to embed a web browser within a web page, e.g. through a Java applet or similar mechanism? I have reviewed the discussion on various solutions for embedding a browser in a Java application. However, this will not work for our web-based tool, which is built on an asp.net framework. Using a Java applet is our current idea, but if you have other suggestions to addr开发者_如何学Pythoness this issue, please post those as well!

This is to be used in a web-based tool that guides middle school, high school, and college students to read websites critically. The tool provides a set of guiding questions and other information along with a data-entry box surrounding the actual 3rd party web-page being viewed. The purpose of our tool is to allow teachers to choose websites for students to view and analyze - or allow students to choose the sites themselves. We (/the tool) do not control what sites or types of media are chosen.

We are currently loading the web-page in an IFrame, but that technique is limited in several ways. It does not provide full control for browser-like features we would like to provide, and is very sensitive to changes in both third party web-sites and to browser versions used by students. The most difficult issue we have pertains to anti-hijacking mechanisms used on the third-party sites. For good reasons, they use mechanisms that make them impossible to load into an iFrame -- that is, when you try to load the page into the iFrame, it will take over the entire browser window. Not only will the page not load WITHIN our frame, it will actually make our application "disappear", thereby making it impossible for students to use these sites within our tool, and potentially also causing students to lose their work.

The tool, which has take several years to develop, is currently web-based for a variety of reasons based on the needs of our users. I would appreciate any advice or insights the community may have!

Thanks.


If you have web application (ASP.NET page as you described), use web-based solutions, i.e. IFrame, etc.

Web browser controls anyway is a desktop solution.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号