iOS Question Get source code of a web page

tufanv

Expert
Licensed User
Longtime User
B4X:
   Dim Javascript As String
   Javascript="B4A.CallSub('Process_HTML', true, document.documentElement.outerHTML)"

I use this in b4a . So with Erel's java inject code in the above topic can help me achieve the same ?
 
Upvote 0

tufanv

Expert
Licensed User
Longtime User
I will answer my own question. yes it works. :
B4X:
no.RunMethod("stringByEvaluatingJavaScriptFromString:", Array("document.documentElement.outerHTML"))
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…