title: Hide items with javascript in tipue search
body: <p>I'm trying to modify tipueSearch.</p>
  
  <p>Tipue search looks in the <code>_content.js</code> for matching results and every result is built like:</p>
  
  <pre><code>var tipuesearch = {
      "pages": [
      {
          "title": "",
          "text": "",
          "tags": "",
          "loc": "",
      },
      ...
  </code></pre>
  
  <p>I want to add another item called category.</p>
  
  <pre><code>"category": "example_a",
  </code></pre>
  
  <p>I want to create a button which removes all items with category, example_a from the results.</p>
  
  <p>I tried to accomplish this by adding a div class instead of a category, and hide onclick. However tipuesearch acts like the results are still there.</p>
  
  <p>When 2 items displayed as a result and both items are <code>category example_a</code> both items will be hidden. Resulting an empty page, and <code>result 3, 4, 5</code> etc sitting on the next few pages.</p>
  
  <p>Hope you can help!</p>