Adress and source code of POPUP

Just starting out? Need help? Post your questions and find answers here.
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5494
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Adress and source code of POPUP

Post 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
ImageThe happiness is a road...
Not a destination
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5494
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Re: Adress and source code of POPUP

Post by Kwai chang caine »

Nobody have a little idea ?? :(
ImageThe happiness is a road...
Not a destination
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: Adress and source code of POPUP

Post 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!
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
User avatar
em_uk
Enthusiast
Enthusiast
Posts: 366
Joined: Sun Aug 08, 2010 3:32 pm
Location: Manchester UK

Re: Adress and source code of POPUP

Post 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
----

R Tape loading error, 0:1
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5494
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Re: Adress and source code of POPUP

Post 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)
ImageThe happiness is a road...
Not a destination
Post Reply