title: Compare string with GM_GetValue not working as excepted
body: <p>I am trying to compare value of TestScript with string &quot;Investisseur&quot; But this seems not working and I don't go into the if statement.</p>
  <pre><code>console.log(GM_getValue(TestScript));
  
      if(GM_getValue(TestScript) == &quot;Investisseur&quot;)
  {
  //Should be there
  }
  </code></pre>
  <p><code>console.log(GM_getValue(TestScript));</code>  returns :
  <a href="https://i.stack.imgur.com/YWkXC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YWkXC.png" alt="enter image description here" /></a></p>
  <p>So the if condition would return true and not false .. What Am I doing Wrong ?</p>
  <p><strong>EDIT</strong></p>
  <p>It seems like the check before reset my @GM_getValue:</p>
  <pre><code> if(GM_getValue(TestScript) == &quot;Investisseur&quot; || GM_getValue(TestScript) == null || GM_getValue(TestScript) == undefined ){
  
          GM_setValue(TimeoutMain, 1000)
      }else if(GM_getValue(TestScript) == &quot;Emetteur&quot;){
          GM_setValue(TimeoutMain, 10000)
      }
  </code></pre>
  <p>Any Idea why ? When I try to <code>Console.log</code> after this it display nothing .. Why is the value deleted ?</p>
  <p>Maybe more understandable with a screen there  :
  <a href="https://i.stack.imgur.com/CbdQo.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CbdQo.png" alt="enter image description here" /></a></p>