Solution for people who may have a similar problem:
" $('#Logs .log-line').slice(13).remove(); "
By default it says slice(500), adjust this number according to your needs. 13 was enough for me.
image.png
Hi
Ive posted an example project here,if it is called from the global area it is ok i think otherwise does not work
https://pastebin.com/raw/tBVS5gfV
How to call bas commands etc from custom code
example bas custom command _call(BasFunction,null)!
this will work, but if we try within function calls etc it will error
thanks for any help on this