Manipulate text inside WebGadget

Windows specific forum
plouf
Enthusiast
Enthusiast
Posts: 250
Joined: Fri Apr 25, 2003 6:35 pm
Location: Athens,Greece

Manipulate text inside WebGadget

Post by plouf »

i am trying to AutoFill a form .
have tried to use getgadgetitemtext/setgadgetitemtext, however it changes path of document (thefore document lost base path)

is there a way to manipulate text inside webgadget without changing path ?
Christos
User avatar
RSBasic
Moderator
Moderator
Posts: 1218
Joined: Thu Dec 31, 2009 11:05 pm
Location: Gernsbach (Germany)
Contact:

Re: Manipulate text inside WebGadget

Post by RSBasic »

You can insert a Javascript code to set text.
Image
Image
Mistrel
Addict
Addict
Posts: 3415
Joined: Sat Jun 30, 2007 8:04 pm

Re: Manipulate text inside WebGadget

Post by Mistrel »

Interacting with JavaScript is the only way.
plouf
Enthusiast
Enthusiast
Posts: 250
Joined: Fri Apr 25, 2003 6:35 pm
Location: Athens,Greece

Re: Manipulate text inside WebGadget

Post by plouf »

Hi and thanks

is there a way to inject javascript code without infecting domain refferer
i mean i have try send a new page (read entire page , inject code, write it back via setgadgetext)

but because page no longer host from original domain, page's javascipt do not work

OR is there alternative way, than webgadget,(another dll) that can do this ?
Christos
uweb
User
User
Posts: 98
Joined: Wed Mar 15, 2006 9:40 am
Location: Germany

Re: Manipulate text inside WebGadget

Post by uweb »

I think yes. But it is not easy.
May you google "debugging proxy" in the language of your choice.
They a member of the group of transparent proxies.

Example in englisch : https://www.charlesproxy.com/documentat ... s/rewrite/ or http://www.telerik.com/fiddler/web-session-manipulation

JHPJHP did already a lot of the necessary work to do this in PB:

http://www.purebasic.fr/english/viewtop ... 13&t=56696
http://www.purebasic.fr/english/viewtop ... 12&t=60888
http://www.purebasic.fr/english/viewtop ... 12&t=60965
Please pardon my English, my native tongue is German.
Post Reply