No, Vaseline is not an effective way to keep ants off hummingbird feeders. Ants can easily crawl over the Vaseline and reach the nectar inside. Vaseline and other petroleum jellies could also be harmful to the birds on the feeder, especially if it gets onto their wings.