selecting an icon using query selector : <p>I found this code online a couple weeks ago. and what it does is, it selects the like button icon under a youtube video and then clicks on it.</p>

<pre><code>likeButton = document.querySelector('#icon[alt^="like this"]').parentNode.parentNode.parentNode
likeButton.click();
</code></pre>

<p>recently, youtube changed their UI and i'm assuming their code changed, so this doesn't work anymore, I was also dumb enough to never understand and research the code.</p>

<p>I was wondering if someone could help me understand this part <code>'#icon[alt^="like this"]'</code>,</p>

<p>what does the <code>alt^=</code> mean and where would I go looking for the icon name "like this"</p>

<p>thanks for your help</p>
