Modifying Headers

Im looking to somehow insert a customer header when url is opened. How can one accomplish this?
x-cap=1