This extension hides products that currently out of stock from the buyer. But leaves it available in admin console.
Code and idea was taken from this thread
Refined and packed in OCMOD format for your pleasure.
Added one more xml file that lets customer access out of stock product through direct link.