[Windows Store]HtmlAgilityPack – IFrame created by JavaScript.

I'm trying to get src attribute of an iframe, but it's being created using JavaScript, so HAP is not retriving it.

Using my web browser I found this JS Script in the same div as iframe:

document.write(unescape(escapeall('%U3c%{64%{69%N76%[20%O63%N6c%61%73%J73%C3d%A22%73%$70%-61%!72%74%!22%!3e%E3c%N64%69%I76%~20%U69%W64%X3d%E22%[73%L72%$63%~69%Q6e%T66%Z6f%T22%}3e%I50%K6c%-65%T61%73%O65%Q20%I64%Z69%$73%Z61%F62%E6c%J65%I20%D79%[6f%Y75%S72%X20%G61%!64%-62%R6c%A6f%@63%}6b%Q20%F61%~6e%J64%C20%Q75%-73%F65%{20%[6f%H75%T72%[20%D3c%{62%G3e%.57%61%}74%63%H68%.20%Y4d%E6f%[64%*65%Y3c%+2f%]62%$3e%F20%{74%Y6f%!20%*76%H69%X65%~77%X20%*74%Y68%69%C73%!20%U76%A69%$64%O65%M6f%M2e%B20%K54%N68%[65%O20%U56%Z69%64%M65%}6f%J20%P77%Y69%T6c%P6c%[20%N6e%L6f%L74%20%O73%X74%#61%O72%$74%C20%W75%R6e%74%P69%F6c%O20%B61%W66%V74%M65%I72%.20%Z74%@68%]65%M20%J41%L64%C20%K70%H6c%@61%G79%U73%Z20%F61%Q6e%64%~20%L74%T68%R65%R6e%K20%U77%]61%!69%~74%R20%+66%P6f%T72%+20%P61%F74%Q20%M6c%[65%{61%[73%C74%D20%A61%S20%S6d%!69%D6e%+75%L74%M65%Z20%X66%U6f%#72%Z20%B74%F68%F69%@73%B20%~76%C69%{64%I65%@6f%K20%~74%[6f%20%J6c%I6f%X61%D64%+2f%-62%75%S66%L66%X65%!72%D2e%R3c%M2f%G64%H69%Y76%3e%Y3c%D69%V66%P72%-61%J6d%L65%G20%@73%72%S63%A3d%F22%68%D74%@74%~70%W3a%+2f%+2f%C77%+77%V77%~2e%@76%A69%A64%@65%V6f%[34%+34%C2e%#6e%P65%H74%O2f%Y67%X6f%S67%Q6f%+2f%N3f%V77%W3d%X37%31%*32%W26%.61%}6d%G70%Z3b%68%Q3d%#34%@34%L35%T26%I61%E6d%Y70%+3b%~66%+69%V6c%.65%.3d%{6b%D79%{6f%B75%~6e%+6f%}67%P6f%E6e%A6f%@6e%!69%V2d%]30%]32%!2e%T66%S6c%~76%@26%Y61%V6d%.70%V3b%S73%G76%U3d%.31%Q22%*20%E66%A72%L61%[6d%R65%]62%6f%#72%Q64%+65%O72%I3d%!22%L30%E22%20%M6d%C61%[72%~67%V69%K6e%!77%*69%+64%F74%.68%G3d%$22%K30%X22%20%G6d%61%.72%E67%F69%A6e%T68%N65%@69%J67%[68%H74%A3d%H22%*30%L22%F20%61%R6c%}6c%.6f%-77%H66%W75%I6c%T6c%+73%D63%F72%K65%V65%E6e%O3d%I22%#74%}72%E75%G65%J22%!20%]73%Y63%$72%Z6f%+6c%.6c%B69%X6e%P67%E3d%22%6e%$6f%}22%P20%H77%S69%[64%+74%@68%Z3d%-22%B37%{31%Q32%E22%+20%R68%U65%~69%67%F68%I74%}3d%}22%Y34%E34%Q35%X22%F3e%X3c%I2f%J69%G66%E72%L61%6d%G65%W3e%-3c%Q2f%!64%E69%E76%L3e%V0a'))); 

So, how am I supposed to analize this JS code, and recreate the html node?

by MrReynevan2 via /r/csharp

Leave a Reply