This code is for a local newtab page in firefox, customized for me.