Page 1 of 1

Adress and source code of POPUP

Posted: Thu Dec 29, 2011 4:07 pm
by Kwai chang caine
Hello at all

I search to obtain the source code and the adress of a POPUP internet explorer.
Have you a way for do this ??

Have a good day

Re: Adress and source code of POPUP

Posted: Wed Jan 04, 2012 9:48 am
by Kwai chang caine
Nobody have a little idea ?? :(

Re: Adress and source code of POPUP

Posted: Wed Jan 04, 2012 10:38 am
by IdeasVacuum
Hi Kwaï chang caïne

I think you need to deliver much more detail for anyone to have a chance to help - there are all sorts of technologies being used to display a 'pop-up' window, and also there are apps/scripts designed to stop them!

Re: Adress and source code of POPUP

Posted: Wed Jan 04, 2012 12:25 pm
by em_uk
Surely it's just a window with a web gadget in it?

Code: Select all

OpenWindow(0,10,10,800,600,"POP UP!",#WS_SYSMENU)

WebGadget(1,5,5,788,595,"http://www.purebasic.fr/english/viewtopic.php?f=13&t=48727")

Repeat
  
Until WaitWindowEvent()=#PB_Event_CloseWindow

Re: Adress and source code of POPUP

Posted: Wed Jan 04, 2012 2:40 pm
by Kwai chang caine
Thanks at you two 8)

I try to much explain me :wink:

In my company network, i have a link who open IE7 for a normal site
But when i clic on a link in this normal page, another windows appears in MODAL mode :shock:
I don't know how it's possible...but it's true ..
Impossible to acces at the parent, without close the children :?

The chidren is also a IE7 windows, but without any menu just the title of the IE7
I'm sure it's a IE7 windows because sometime, i can see the source but it's very hard to do.
Make numerous try, and tinker copy/paste, but it's very hard :(
And after, the tinker and have menu, when i use this windows with the menu, i have JavaScrit error..and she not works :(
She works only if she is in modal mode and POPUP.
I think it's perhaps a problem of security because the first link is in HTTPS :(

So my question is, how i can have the adress of all the page and children pages of IE7 who running on my PC, and if it's possible how i can have also his source code :mrgreen:

RASHAD help me, there are several days ago, his super code works but give to me, just the first adress of normal page, but not the children, and not the source code too :(
http://www.purebasic.fr/english/viewtop ... 20#p370520

Code: Select all

Procedure EnumChildProc(hwnd, lParam)
  Protected Classname$ = Space(#MAX_PATH)
  ;Protected Textname$ = Space(#MAX_PATH)

    GetClassName_(hwnd, @Classname$, #MAX_PATH-1)
    ;GetWindowText_(hwnd, @Textname$, #MAX_PATH-1)
    If ClassName$ = "Edit"
      SendMessage_(hwnd,#EM_SETSEL,0,256)
      SendMessage_(hwnd,#WM_COPY,0,0)
      Debug GetClipboardText()
    EndIf 

  ProcedureReturn 1
EndProcedure
hwndParent = FindWindow_("IEFrame", 0)
EnumChildWindows_(hwndParent, @EnumChildProc(), 0)