Add content_loaded callback to frontend context driver