2) and 4) are correct. The infinitivals are adjuncts meaning “with the intention of killing/leafing through it”, not relative clause modifiers, as in Here’s a book (for you) to leaf through ( ˜ that you can leaf through ).
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.