Fixed looking for http resources (presents warnings on https sites)