When using this together with [Userscript] Detailed SRS Popup , refreshing the page when inside a lesson will cause the page to keep reloading until you get rate limited. This appears to be caused by this line:
wkQueue.on(‘review’).addPostprocessing(update_item_srs)
which results in
unsafeGlobal.Turbo?.visit(`/subject-lessons/start`);
being called.