title: Content script only loading on reload/refresh
body: <p>This is my first time creating a Google Chrome Extension, and i can't find a way to reliably get the content script to run once when clicking a suggested video, or any video for that matter, on YouTube. I've tried setting "all_frames" to true, but that calls the script to many times. Is there a simple way to run a content script only once per video when browsing YouTube videos?</p>
  
  <p>PS: I'm using YouTube as my main example but this issue exists on other websites. what causes it and how can I fix it?</p>
  
  <pre><code>{//manifest.json
    "name": "Test",
    "version": "0.0.1",
    "content_scripts": [{
        "matches": ["&lt;all_urls&gt;"],
        "js": ["run.js"],
      }],
    "permissions": ["activeTab"],
    "manifest_version": 3
  }
  </code></pre>
  
  <p>-</p>
  
  <pre><code>//run.js
  console.log('running');
  </code></pre>