I am developing an extension that blocks some pages so I want the background listen to some event on the page such as an http request and get the url to check if it is in the li