Search the web
Sign In
New User? Sign Up
delphi-webbrowser · Delphi: Using IE's WebBrowser
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Make EmbeddedWB totally "passive"   Message List  
Reply | Forward Message #10237 of 10267 |
Re: Make EmbeddedWB totally "passive"

Hello.
It's possible to prevent the webbrowser from navigation
but i dont know if it's possible to prevent javascript code inside the
page to change the content of the document. example

var dv = document.createElement('div');
document.body.appendChild(dv);


to cancel navigation put cancel:=true in the onbeforenavigateevent.
it will simply cancel any navigation


--- In delphi-webbrowser@yahoogroups.com, "fedzim" <fedzim@...> wrote:
>
> Maybe this question has been asked already, but I can't find a
> solution anywhere. If someone can help I'll be very grateful.
>
> I need to make EmbeddedWB totally "passive", that means:
> 1) I load a web page into it and
> 1.1) if the user clicks a link it doesn't go nowhere
> 1.2) if there is a meta-refresh tag it ignores it
> 1.3) if a javascript changes the document.href, it is ignored
>
> I need a way to display a web page and the user must have NO active
> interaction with it, just select and copy text in it, but NO
> navigation at all.
>
> Is it possible? How do I achieve such result?
> THANKS IN ADVANCE!
>





Mon Nov 3, 2008 4:20 pm

cedmart1_fr
Offline Offline
Send Email Send Email

Forward
Message #10237 of 10267 |
Expand Messages Author Sort by Date

Maybe this question has been asked already, but I can't find a solution anywhere. If someone can help I'll be very grateful. I need to make EmbeddedWB totally...
fedzim
Offline Send Email
Mar 26, 2008
2:53 pm

Hello. It's possible to prevent the webbrowser from navigation but i dont know if it's possible to prevent javascript code inside the page to change the...
cedmart1_fr
Offline Send Email
Nov 3, 2008
10:06 pm

there is a freeware component that can match ur requirement it is called HTMLlayout. have a look. http://www.terrainformatica.com/...
cedmart1_fr
Offline Send Email
Nov 3, 2008
10:20 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help