Modified to enable for local files

I noticed that we can't use this useful extension for local HTMLs and modified manifest.