Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

419
Views
How to hide elements on a website in WebView

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

about 4 years ago · Juan Pablo Isaza
3 answers
Answer question

0

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

about 4 years ago · Juan Pablo Isaza Report

0

Add this css:

#sfcnt, #top_nav, #appbar { display: none }

It will break if they change it

about 4 years ago · Juan Pablo Isaza Report

0

You can use the display property in css style sheet to hide stuff that you want.

element{
display:none;
}

here element can be anything(i.e body, *, div, navbar).

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!