iphone - Stop UIWebView from loading a specific image using its 'id' -



iphone - Stop UIWebView from loading a specific image using its 'id' -

hi stop uiwebview loading specific image, problem images url changes, id (id="header1_headerimg") stays same.

the html on web page:

< img alt="equestria daily" height="350px; " id="header1_headerimg" src="http://4.bp.blogspot.com/-ws5xlbti47e/thdwhulor4i/aaaaaaaaht8/cdqxivfxb9k/s1600/newdefaultbannerappstra.png" style="display: block" width="1100px; ">

i want blocked in uiwebview.

no cannot edit pages html.

thank you.

i think reply question

[webview stringbyevaluatingjavascriptfromstring:[nsstring stringwithformat:@"document.getelementbyid('header1_headerimg').style.display='none'"]];

iphone html c ios

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -