birds flying into windows

Squirrels are extremely agile and can leap eight feet or more and climb almost anything. For this reason alone, if you have squirrel problems in your yard, keep your bird feeders and birdhouses at least eight feet away from any tree limbs or man-made structures and install baffles on the supporting posts.
If you must hang your bird feeders in trees, you will want to keep them away from the main trunk and equip them with a dome baffle or simply use a squirrel-proof bird feeder that is designed with a dome-type top.
Another popular style of squirrel-proof bird feeders is the caged feeder. The caged feeders consist of an inner feeder that contains the seed, surrounded by a wire cage that prevents squirrels from getting to that seed. They simply put the food out of reach for the hungry squirrel.