> Is there any way to make it works when viewing threads?
In Kareha? No. The script finds threads by loading single specific lines from the file. Everything breaks if you mess with that.