The hood squeak problem is caused by metal on metal rubbing when hood latch has too much give, so anything that raises the hood up will eliminate both the give and the squeaking.
In my case, the OEM threaded hood stoppers stripped out when I was in Moab over the summer. The OEM stoppers would vibrate and turn deeper and deeper into the hood, lowering it and exacerbating the squeaking. So I made my own stoppers and covered them with a rubber chair leg protector. This solved my problem of the hood sinking lower and lower.
I originally tried the anti-skid foam dots, too, but for me, they proved to be a temporary fix only. Keep in mind that I spent five weeks last summer zooming around on backcountry roads in southern Utah. In addition to the OEM hood stops falling apart, I had a couple of plastic panels pop off the dash all by themselves, and a bad rattle develop under the steering wheel.
So, unless you're driving on a LOT of washboard roads, the anti-skid foam dot should be a cheap and simple way to keep your hood from squeaking.