byteyilabs / yi-note

YiNote browser extension - online video note taking tool
https://www.yinote.co
GNU General Public License v3.0
357 stars 50 forks source link

When searching in a channel on YouTube, the page gets reloaded and the search results vanish #116

Open fkuersch opened 2 years ago

fkuersch commented 2 years ago

Describe the bug To mitigate #55, I enabled "Reload tab when url change" for "www.youtube.com". When I perform a search on a channel, the search results show up, but shortly afterwards the page gets reloaded and the search results are gone.

To Reproduce Steps to reproduce the behavior:

  1. Open the YiNote Settings
  2. Enable "Reload tab when url change"
  3. Enter "www.youtube.com" in the "Allowed Domain" field and press enter
  4. Open a channel on YouTube, ie. https://www.youtube.com/c/SteveMould
  5. Click on the search icon
  6. Enter a search string in the field, ie. "test", then hit enter
  7. The search results appear, then the page gets reloaded and the search results are gone

Unfortunately, I was unable to reproduce this bug every time. Sometimes it works as expected, sometimes it doesn't. Even with the same search string on the same channel.

Expected behavior The search results should stay

Browser (please complete the following information):