Skip to content

Content Warnings

Content Warnings are set using sensitive, then summary seems to be used as a spoiler text.

The last three examples are an attempt to add a content warning to an image.

Examples

Example 1

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "http://mbin/u/oscar",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/uBTWKC8jPp0",
  "published": "2025-01-14T15:40:55Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://mbin/u/oscar"
    ],
    "id": "http://pasture-one-actor/actor/Gs_YFMHIRxA",
    "published": "2025-01-14T15:40:55Z",
    "content": "text",
    "sensitive": true,
    "cc": []
  }
}

no result

Example 2

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "http://mbin/u/oscar",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/ncepZu49kjg",
  "published": "2025-01-14T15:41:10Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://mbin/u/oscar"
    ],
    "id": "http://pasture-one-actor/actor/gfqsfUBP5kA",
    "published": "2025-01-14T15:41:10Z",
    "content": "text",
    "summary": "summary",
    "cc": []
  }
}
mbin
{
  "content": "<div class=\"content\">\n<p>text</p>\n</div>",
  "html": "<blockquote class=\"section post subject\" data-action=\"notifications:Notification@window-&gt;subject#notification\" data-controller=\"post subject mentions\" id=\"post-14\">\n<header>\n<a class=\"user-inline\" data-action=\"mouseover-&gt;mentions#user_popup mouseout-&gt;mentions#user_popup_out\" data-mentions-username-param=\"@actor@pasture-one-actor\" href=\"/u/@actor@pasture-one-actor\" title=\"@actor@pasture-one-actor\">\n        actor                <i aria-description=\"This user is new (active for less than 30 days)\" class=\"fa-solid fa-leaf new-user-icon\" title=\"This user is new (active for less than 30 days)\"></i>\n</a>\n<span>, </span>\n<a class=\"link-muted\" href=\"/m/random/p/14/text\"><time class=\"timeago\" datetime=\"2025-01-14T15:41:10+00:00\" title=\"2025-01-14T15:41:10+00:00\">2 seconds ago   \n</time></a>\n</header>\n<figure>\n<a data-action=\"mouseover-&gt;mentions#user_popup mouseout-&gt;mentions#user_popup_out\" data-mentions-username-param=\"actor@pasture-one-actor\" href=\"/u/@actor@pasture-one-actor\">\n<div class=\"no-avatar\"></div>\n</a>\n</figure>\n<div class=\"content\">\n<p>text</p>\n</div>\n<aside class=\"vote\">\n<form action=\"/pf/14?choice=0\" class=\"vote__up\" method=\"post\">\n<button aria-label=\"Favorite\" data-action=\"subject#vote\" title=\"Favorite\" type=\"submit\">\n<span data-subject-target=\"favCounter\">0</span> <span><i aria-hidden=\"true\" class=\"fa-solid fa-arrow-up\"></i></span>\n</button>\n</form>\n</aside>\n<footer>\n<menu>\n<li>\n<a class=\"stretched-link\" data-action=\"subject#getForm\" href=\"/m/random/p/14/text/reply\">Reply</a>\n</li>\n<li>\n<form action=\"/pb/14\" method=\"post\">\n<button class=\"boost-link stretched-link\" data-action=\"subject#favourite\" type=\"submit\">\n        Boost <span class=\"hidden\" data-subject-target=\"upvoteCounter\">(0)</span>\n</button>\n</form>\n</li>\n<li class=\"dropdown\">\n<button class=\"stretched-link\" data-subject-target=\"more\">More</button>\n<ul class=\"dropdown__menu\" data-controller=\"clipboard\">\n<li>\n<a class=\"\" data-action=\"subject#getForm\" href=\"/pr/14\">\n                Report\n            </a>\n</li>\n<li>\n<a class=\"\" href=\"/m/random/p/14/text/votes?type=up\">\n                Activity\n            </a>\n</li>\n<li class=\"dropdown__separator\"></li>\n<li>\n<a href=\"http://pasture-one-actor/actor/gfqsfUBP5kA\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">\n                Open original URL\n            </a>\n</li>\n<li>\n<a data-action=\"clipboard#copy\" href=\"http://pasture-one-actor/actor/gfqsfUBP5kA\" rel=\"nofollow noopener noreferrer\">\n                Copy original URL\n            </a>\n</li>\n<li>\n<a data-action=\"clipboard#copy\" href=\"/m/random/p/14/text\">\n                Copy Mbin URL\n            </a>\n</li>\n</ul>\n</li>\n<li data-subject-target=\"loader\" style=\"display:none\">\n<div class=\"loader\" role=\"status\">\n<span class=\"visually-hidden\">Loading...</span>\n</div>\n</li>\n</menu>\n<div class=\"js-container\" data-subject-target=\"container\">\n</div>\n</footer>\n</blockquote>"
}

Example 3

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "http://mbin/u/oscar",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/LfxzUety2rg",
  "published": "2025-01-14T15:41:12Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://mbin/u/oscar"
    ],
    "id": "http://pasture-one-actor/actor/OXOhRKUcZg8",
    "published": "2025-01-14T15:41:12Z",
    "content": "text",
    "summary": "summary",
    "sensitive": true,
    "cc": []
  }
}

no result

Example 4

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "http://mbin/u/oscar",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/TGBxSBqvgV4",
  "published": "2025-01-14T15:41:27Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://mbin/u/oscar"
    ],
    "id": "http://pasture-one-actor/actor/R368svx8sJA",
    "published": "2025-01-14T15:41:27Z",
    "content": "see image",
    "attachment": {
      "type": "Image",
      "sensitive": true,
      "url": "http://pasture-one-actor/images/w001.png"
    },
    "cc": []
  }
}

no result

Example 5

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "http://mbin/u/oscar",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/dbUIOrK6tb4",
  "published": "2025-01-14T15:41:42Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://mbin/u/oscar"
    ],
    "id": "http://pasture-one-actor/actor/jXKtLvJF8zo",
    "published": "2025-01-14T15:41:42Z",
    "content": "see image",
    "sensitive": true,
    "attachment": {
      "type": "Image",
      "sensitive": true,
      "url": "http://pasture-one-actor/images/w002.png"
    },
    "cc": []
  }
}

no result

Example 6

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "http://mbin/u/oscar",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/YK9Kl6vZLpg",
  "published": "2025-01-14T15:41:57Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://mbin/u/oscar"
    ],
    "id": "http://pasture-one-actor/actor/dkTkTv_wdr0",
    "published": "2025-01-14T15:41:57Z",
    "content": "see image",
    "attachment": {
      "content": "content",
      "type": "Image",
      "sensitive": true,
      "url": "http://pasture-one-actor/images/w003.png"
    },
    "cc": []
  }
}

no result

Example 7

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "http://mbin/u/oscar",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/gG7cGg2TjZQ",
  "published": "2025-01-14T15:42:11Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://mbin/u/oscar"
    ],
    "id": "http://pasture-one-actor/actor/kF_mbADIA-I",
    "published": "2025-01-14T15:42:11Z",
    "content": "see image",
    "attachment": {
      "type": "Image",
      "summary": "summary",
      "sensitive": true,
      "url": "http://pasture-one-actor/images/w004.png"
    },
    "cc": []
  }
}

no result