Get the URL of the current DHTML Panel?

None of the functions outlined in garry’s vgui github seem to function properly, what I’m trying to do is retrieve a URL of a webpage the user is currently on on a dhtml panel. Any ideas as to which functions I could use that work properly?

Maybe save/update it in a variable or accessor everytime the DocumentFinishedLoading Hook is called.

Yea here

function panel:OnDocumentReady( url )
    print( url )