# Javascript Embedding Discourse Comments - User Agent

**URL:** <https://meta.discourse.org/t/javascript-embedding-discourse-comments-user-agent/128377>\
**Category:** Product Support\
**Created:** [September 12, 2019, 8:33am UTC](https://meta.discourse.org/t/javascript-embedding-discourse-comments-user-agent/128377 "2019-09-12T08:33:18Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)\
**Post date:** [September 13, 2019, 10:37am UTC](https://meta.discourse.org/t/javascript-embedding-discourse-comments-user-agent/128377/4 "2019-09-13T10:37:38Z")

</div>

Onebox uses its own user agent. I think @Jono_Brain2 is describing the “topic embed” scraper which pulls in content [like this](https://meta.discourse.org/c/site-feedback/blog)

> <https://github.com/discourse/discourse/blob/d01c938e1a8b5f96e16043aa8ec2aeeaee1be910/app/models/topic_embed.rb#L123>

It doesn’t specify a user agent, so it uses the default `Ruby` agent

---

_[View the full topic](https://meta.discourse.org/t/javascript-embedding-discourse-comments-user-agent/128377)._
