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
Need to check the IP via web response.
You need to get back the information from third party services, they are limitless, some examples:
https://www.maxmind.com/en/locate-my-ip-address
https://ipapi.co/json/
https://ifconfig.me/
After info received, simple parse the result.
Good luck!
For those who needs this later, you can set up http proxy and send a simple get request to https://api.ipify.org , it will give you the ip adress in plain text, no need to parse the json.
One of many simple and easy ways to do it.