I do not think that there is a way to prevent the post’s excerpt from being displayed on Discourse when the javascript embed code is used to publish posts to Discourse. What you are wanting to do is achievable when publishing posts from an external site to Discourse via the API. For example, this could be easily done from a WordPress site that publishes posts to Discourse with our WordPress plugin. Possibly you could achieve something similar with a Drupal Discourse module. This module looks promising: Client Challenge.