Dundee abuser 'laughed maniacally' during eight-hour attack