Disables extension if current URL is not a gif file

This is not really needed, but it is an extra check.