title: How to get html code using injectedJavascript - React-native
body: <p>I wanna access the html code of youtube in react native. I need to use the injectedJavascript in order to render the youtube channel without the headerBar, so I tried : </p>
  
  <pre><code>    render(){
  
      let jsCode = `
          document.querySelector("header-bar").style.display = "none";
          `;
  
      return(
          &lt;WebView
            style={{flex:1}}
            javaScriptEnabled={true}
            source={{uri: 'https://www.youtube.com/watch?v=c4Hi8OVEbuY&amp;list=PLSlVQ0kIy6qzezeIJZW6SAl-cMiyvvbhN'}}
            injectedJavascript={jsCode}
         /&gt;
      )
  }
  </code></pre>
  
  <p>But it's not doing what I want, I think I'm not accessing it the good way. Can someone know how to do it ?</p>
  
  <p>Thanks</p>