Autor Beitrag
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Sa 08.10.05 21:18 
Hallo !
Ich würde gerne bei einem TWebbrowser die URL die bei onBeforeNavigate aufgerufen wird umschreiben.
Also Konkret:
Die Seite die ich aufrufen will sind IFrames postiert. Ich möchte gerne die URL die in diesen Iframes aufgerufen wird umschreiben, dass darin etwas anderes geladen wird.
Wie kann ich also den HTML Quelltext nach dem dorthin-navgieren umändern, bevor die Seite weitergeladen wird ?

Danke
Matze

_________________
In the beginning was the word.
And the word was content-type: text/plain.
Prinz_Inside
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 29



BeitragVerfasst: Sa 08.10.05 22:03 
ich würd das anders angehn:

du machst aus der seite die geladen werden soll ein php-script, dein delphi-prog ruf jetzt die php-seite auf und übergibts als POST oder GET parameter die seite die im ifrage geladen werden soll..
das wertest du dann im script aus, läds also die gewünschte seite ins iframe..


das wars.

mfg
tim
retnyg
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2754

SNES, GB, GBA, CPC, A500, 486/66, P4/3.0HT: NintendOS, AmigaOS, DoS
Delphi 5, Delphi 7
BeitragVerfasst: Sa 08.10.05 22:04 
guck dir mal den source von Suche in: Delphi-Forum, Delphi-Library SMILEMASTER 2005 an, da mache ich genau das per javascript.

_________________
es gibt leute, die sind genetisch nicht zum programmieren geschaffen.
in der regel haben diese leute die regel...
matze Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: So 09.10.05 09:05 
nein das hilft mir nicht so richtig weiter, denn ich muss die Seite (die nicht meine ist sonder eine Fremdseite) quasi "live" während der Nutzer mit dem Webbrowser surft manipulieren !

_________________
In the beginning was the word.
And the word was content-type: text/plain.
retnyg
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2754

SNES, GB, GBA, CPC, A500, 486/66, P4/3.0HT: NintendOS, AmigaOS, DoS
Delphi 5, Delphi 7
BeitragVerfasst: So 09.10.05 11:53 
eine lösung die mir einfällt heisst proxy-server
ein funktionierendes codebeispiel findest du bei den demos von Suche bei Google SYNAPSE DELPHI

_________________
es gibt leute, die sind genetisch nicht zum programmieren geschaffen.
in der regel haben diese leute die regel...
matze Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Mo 10.10.05 17:33 
tja wenn das direkt in den Events vom webbrowser nicht geht, dann werd ich das wohl mit nem proxy machen.
danke !

_________________
In the beginning was the word.
And the word was content-type: text/plain.