<div>I am developing an application for myself using pcap.</div>
<div>I can successfully capture packets and inject packets.</div>
<div>I wanted to know if there is any way i can block a certain packet, may be by spoofing.</div>
<div>I have created a block page in html and i want this page to be send for any html request i wish to block, before the response comes from the server which receives the request.</div>
<div> </div>
<div>i am able to send the block page, but the problem is that the response from the server reaches the browser before my block page.</div>
<div> </div>
<div>any help is appreciated</div>
<div> </div>
<div>Thanks</div>