Run function in background mode with time interval to execute http request and get alert popup

@rapropos Yes seem like it is impossible, then please check my new question, if it is possible to fix: