English
Forum

HTML View source

 

Georg
Hovenbitzer
Hello together,

How is a HTML Page indicating is me dank this Forum famous

but How I get whom View source this Page, I therein after a designed Zeichenkette Search and this copy wants

me missing completely the Ansatz, has someone a hint ???
 
Viele Grüsse, Georg Hovenbitzer(Windows XP Pro, XProfan 11.2, Profan2Cpp 1.6a)
05/03/06  
 



For this take You simply The Download-Unit.
 
05/03/06  
 



power not Your browser ? - Mozilla Firefox shows whom View source the grade loaded Page on: view -> Seitenquelltext Show -
 
05/04/06  
 




Frank
Abbing
at that IE cache the function under view/View source.
i think but, Georg would like the yourself program. means time iFs suggestion testing.
 
05/04/06  
 




Georg
Hovenbitzer
Hello together,

you have any right

The Unit of iF power really very the I would like, ABER tappt im dunkeln fails on the Page there one itself there register must and the well over Sessions ID made becomes.
means come I lest moreover.

there's to of my opinion two Opportunities:

1. wget or curl so far To get, that they itself einloggen and the Page wander, these then evaluate.
here's the trouble, I the two programs not yet moreover brought have itself einzuloggen.

2. I me The Page in the momentum ansehe where I The Data from the View source need, Search I a Possibility in the background The option the Browsers, whom View source To show, To benefit.
one could the Browserfenster fernsteuern, what me but not so well gefällt (Tastaturcodes Send, in the Edit Window everything Mark, copy and evaluate)

i hope so understand of/ one I there written have and can me a hint give.
 
Viele Grüsse, Georg Hovenbitzer(Windows XP Pro, XProfan 11.2, Profan2Cpp 1.6a)
05/04/06  
 




Clemens
Meier
it comes the Login on. You can you with the PCU of iF too register. it comes hereon on, whether You a htaccess overcome must or whether one form using becomes. and naturally, that You The Logindaten have.

In both Make must You The URL something Change. for a htaccess should it How follows looks:
[...] 

is it one form, must You The Zugangsdaten on The URL dran hang. Sähe then so from (I faith, The PCU of iF accepted Querys):
[...] 

with the Session might it too no trouble give. accepted the Browser no Cookies, becomes The Sessionid with eachone URL with appended. so get You tappt im dunkeln means. must means into View source see, you The Sessionid with the suitable variables rauspicken and these then each on your URLs dranhängen.
 
XProfan 9.1; XP SP2; FF; Editpad
05/05/06  
 



You can with the Unit the Loginurl (php?) The Logindaten by get Send - and sustain a Page which warscheinlich too The SessionID in the Source having becomes. Eigendlich is the what You want no trouble, be because, The LoginPHP demanded The Logindaten solely by mail instead of by Get.
 
05/05/06  
 




Clemens
Meier
in the letzteren entrapment could it The procedure from the Thread [...]  using. then but not whom equal Error make How I and forget The DLL einzubinden
 
XProfan 9.1; XP SP2; FF; Editpad
05/05/06  
 




Uwe
''Pascal''
Niemeier
@ Georg: How or. where can You The Page Show? Normaler Browser or HTML-Control under Profan?
In letzterem drop: How beget You it?

Möglicherweise there a COM-Solution, or one could The File in the cache find...

SeeYou
Pascal
 
05/05/06  
 




Georg
Hovenbitzer
Hello together,

already time many Thanks for Help I love this Forum

I try it to Time over three Opportunities.

1. by old.dll and one AtlAxWin Control
- so have I it geschaft The Page darzustellen. Hierbei becomes no Login needed, there well the Cookie using and is it itself so automatically einloggt.

2. by PCU of iF
- here goes it now too, what likewise on the Cookie lying. the back give as String skin with this Page not there, I leite this a MultiEdit moreover and thereby dismisses itself the whole (with google.de works it with the display). Abspeichern in a File functions.

3. procedure of Clemens
- these skin not integrally there, there these well always only whom first Frame takes. so sees me, that what angezeit becomes, from.

there's means already a Solution on what I set up can.

it would me but always interested whether the IE anzapfen can circa itself of there whom View source To wander.
therefore bräuchte one The Page not twice aufzurufen, I tappt im dunkeln me to the Time Yes ansehe.

@Pascal
now goes it with both, means IE and HTML Control.
with the cache I had me already consider, there if one under the Browser itself whom View source ansieht, standing Yes there The File. or becomes The in this momentum first prepares ? with COM know I not from, but Perhaps have you got Yes a idea.
 
Viele Grüsse, Georg Hovenbitzer(Windows XP Pro, XProfan 11.2, Profan2Cpp 1.6a)
05/05/06  
 




Uwe
''Pascal''
Niemeier
Hello Georg!

here one experimenteller code, circa a ATL-WebContol whom View source To detect:
CompileMarkSeparation
 $H Windows.ph
--------------------------------------------------------------------------------------------

proc StringToGUID---------------Umwandlung String > globally unique identifier

    parameters GUID$,GUID&
    declare Temp$
    Temp$=space$(80)
    ~MultiByteToWideChar(1,1,addr(GUID$),-1,addr(Temp$),80)
    external("ole32","CLSIDFromString",addr(Temp$),GUID&)
    endproc-----------------------------------------------------------------------

    proc CallMethod--------------------------Methode eines COM-Interfaces aufrufen

        parameters IFace&,Method&
        declare VTable&
        VTable&=long(IFace&,0)
        Method&=long(VTable&,Method&*4)
        case %pcount=2:return call( Method&,IFace& )
        case %pcount=3:return call( Method&,IFace&,&(3) )
        case %pcount=4:return call( Method&,IFace&,&(3),$(4) )
        case %pcount=5:return call( Method&,IFace&,&(3),&(4),&(5) )
        endproc-----------------------------------------------------------------------

        proc Quelltext_Lesen----------------------------Quelltext_Lesen---------------

            parameters WebCtrl&
            declare IID#,Error&
            dim IID#,16
            external("ole32","CoInitialize",0)
            print "ATL-WebControl",WebCtrl&
            print
            declare IUnknown&
            Error&=external("atl","AtlAxGetControl",WebCtrl&,addr(IUnknown&))
            print "Error AtlAxGetControl",Error&
            print "IUnknown",IUnknown&
            print
            declare IWebBrowser&
            StringToGUID("{D30C1661-CDAF-11d0-8A3E-00C04FC9E26E}",IID#)--IID_IWebBrowser2
            Error&=CallMethod(IUnknown&,0,IID#,addr(IWebBrowser&))-------IUnknown::QueryInterface
            print "Error IUnknown::QueryInterface",Error&
            print "IWebBrowser",IWebBrowser&
            print
            declare IHTMLDocument2&
            Error&=CallMethod(IWebbrowser&,18,addr(IHTMLDocument2&))--IWebbrowser::get_Document
            print "Error IWebbrowser::get_Document",Error&
            print "IHTMLDocument2",IHTMLDocument2&
            print
            declare IHTMLElement&
            Error&=CallMethod(IHTMLDocument2&,9,addr(IHTMLElement&))--IHTMLDocument2::get_body
            print "Error IHTMLDocument2::get_body",Error&
            print "IHTMLElement",IHTMLElement&
            print
            declare Text&
            Error&=CallMethod(IHTMLElement&,62,addr(Text&))--IHTMLElement::get_outerHTML
            print "Error IHTMLElement::get_outerHTML",Error&
            print "Pointer outerHTML",Text&
            declare Size&,Text#,Text$
            Size&=external("oleaut32","SysStringLen",Text&)
            dim Text#,Size&
            ~WideCharToMultiByte(0,0,Text&,-1,Text#,Size&,0,0)
            external("oleaut32","SysFreeString",Text&)
            Text$=string$(Text#,0)
            dispose Text#
            dispose IID#
            external("ole32","CoUninitialize")
            return Text$
            endproc-----------------------------------------------------------------------
            --------------------------------------------------------------------------------------------
            window 0,0-800,600
            usermessages 16
            def AtlAxWinInit(0) !"atl.dll","AtlAxWinInit"
            def AtlAxCreateControl(4) !"atl.dll","AtlAxCreateControl"
            declare Atl&,Web&,a$
            Atl&=usedll("atl.dll")
            AtlAxWinInit()
            a$="C:Test.html"-----------Pfad oder URL
            Web&=control("AtlAxWin",a$,$50300000,400,0,380,250,%hwnd,0,0,$200)-HTML-Contol anlegen
            a$=Quelltext_Lesen(Web&)
            create("Multiedit",%hwnd,a$,0,290,780,250)----Text anzeigen

            while 1

                waitinput
                case %umessage=16:break

            endwhile

            destroywindow(Web&)
   
freedll Atl&

The crux on it: You erwähntest Frames... in the drop become You only whom Frameset displayed catch, unless, You can The desired Page directly start.

i'll but yet to whom others Opportunities schaun

BTW: becomes whom The besagte Page at all in the cache stored (as they sicherheitsrelevant is, can the still too suppress go)?

HTH
Pascal
 
05/06/06  
 




Georg
Hovenbitzer
Hello Pascal,

the code works with two small Changes very well.
the MultiEdit ought to one whom Content by Sendmessage zukommen let, since the most pages More as 255 characters having.
Desweiteren have I to the AtlAxWin Control appeal one Waitinput staid, there it if The Page not yet entire loaded watts to a Systemfehler comes.

I know me with COM not at all from, comes one now on the original Browserfenster ran or must one itself always one own create?
 
Viele Grüsse, Georg Hovenbitzer(Windows XP Pro, XProfan 11.2, Profan2Cpp 1.6a)
05/08/06  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

11.695 Views

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie