I don't imagine getting a ticket for having the detector in the windshield. But I do see the officer being more likely to write me up for something if he sees it there.
How about mounting it remotely? Also, consider equipping yourself for laser detection/shifting (jamming):
http://www.passportsr1.com/