title: Error with Permissions-Policy header: Unrecognized feature: 'interest-cohort'. Error while trying to add an ID attribute to a button JavaScript
body: <p>So, I wanted to execute some JavaScript into my Android app that is in Java, but when testing the JavaScript that has to run; in the Chrome Console (<code>Ctrl-Shift-J</code>), I get the following error:</p>
  <blockquote>
  <p>Error with Permissions-Policy header: Unrecognized feature:
  'interest-cohort'.</p>
  </blockquote>
  <p>The site is chess.com, and the error occurs when I run the following code:</p>
  <pre><code>document.body.innerHTML = document.body.innerHTML.replace(`&lt;button type=&quot;button&quot; class=&quot;ui_v5-button-component ui_v5-button-primary ui_v5-button-large ui_v5-button-full&quot;&gt;
  Play
  &lt;/button&gt;`, `&lt;button type=&quot;button&quot; id=&quot;jhghjikjhgbjinb&quot; class=&quot;ui_v5-button-component ui_v5-button-primary ui_v5-button-large ui_v5-button-full&quot;&gt;
  Play
  &lt;/button&gt;`);
  </code></pre>
  <p>What I'm trying to do is access the &quot;Play&quot; button on <a href="https://www.chess.com/play/online" rel="nofollow noreferrer">this site</a> and click it. Is there any other way to do the same? I tried using <code>document.getElementsByClassName()</code>, but how can I change the website's content?</p>