Issue
I want to load this page on a Webview but I want to hide this header element with search bar and logo. I don't know much about Javascript, is there a way to do this?
this is the part I want to hide
Solution
I think you are asking for a solution using javascript.
you can copy the below script and excute through chrome inspect. ( Ctrl + Shift + i
, go to Console
tab, paste the below script and press enter.)
document.getElementById("searchform").style.display = "none";
document.getElementById("sfcnt").style.display = "none";
document.getElementById("top_nav").style.display = "none";
document.getElementById("appbar").style.display = "none";
What am I doing is actually the same as other's answer, change those unwanted div's CSS style as display:none
Answered By - seantsang
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.