PDA

View Full Version : [CLOSED] Force a external Page to open in a Window



Peter.Treier
Jun 13, 2013, 7:49 AM
Good Morning

I need to present an external Page to the user. The page should open in a Window.
I tried to use your example http://examples2.ext.net/#/Window/Basic/Load_External_Website/ but the Site doesn't open in the Window.

I tried it with this Url : http://www.tares.ch

Any Idea how I can force the Page to open in the Window ?

Peter

Daniil
Jun 13, 2013, 10:02 AM
Hi Peter,



I tried it with this Url : http://www.tares.ch


This page contains the following (you can see it in Page Sources):

<script type="text/javascript">
if (window!=top) {
top.location.replace('/tares/login/loginFormFiller.do;jsessionid=LQkXR5VJ53kV2JyY39pg hxxMln4knsjCd26dnjhKHxt4hlbkrJfn!470350788');
}
</script>

So, it forces redirecting of the parent (top) page.

It might be possible to prevent redirecting, but I guess that site prevents loading into an iframe.