Help with chrome development

Trying to make a chrome extension that changes tab name. For now I just want to change the active tab title to ‘my title has changed’. My code so far:

Can i get some advice on why it’s not working and how to go forward from here if anyone is experienced?

Thanks in advance :slight_smile: