NSFW
Determine if the content of the page contains images not suitable for work (offensive or adult images).
version : 1.0.0
stability: stable
Definition
Meta
name : "nsfw"
category : "USER_ADVISORY"
reference: "false"
condition: "="
Record
The NSFW
's record uses the Record
's interface:
interface Record {
url: string;
type: string;
data: string;
trigger: string;
requestId: string;
frameId: string;
targetVersion: string;
timestamp: string;
}
Fields
url
version : 1.0.0
stability: stable
url: string;
The URL of the page gathered when that medium element appears.
mimetype
version : 1.0.0
stability: stable
mimetype: string;
The element mime type following the IANA specifications based on RFC6838 and RFC4855
frameId
version : 1.0.0
stability: stable
frameId: string;
The Frame
identifier in which the medium element was recorded.
targetVersion
version : 1.0.0
stability: stable
targetVersion: number;
Target
version during which the medium element was recorded.
The requestId
version : 1.0.0
stability: stable
requestId: string;
The unique identifier of the network Request
.
⚠️ Caution: In some cases such as redirection, this identifier could be shared by more than one entry as referencing themselves to the same request:
[
{
"requestId": "10.1",
"status": "302"
},
{
"requestId": "10.1",
"status": "200"
}
]
timestamp
version : 1.0.0
stability: stable
timestamp: string;
An ISO 8601 timestamp that reflects the moment when the event was recorded.
Sample
{
"name": "nsfw",
"category": "USER_ADVISORY",
"value": "true",
"reference": "false",
"condition": "=",
"violation": true,
"notify": true,
"alert": true,
"records": [
{
"url": "https://example.com",
"mimetype": "image/png"
"frameId": "(44F9E330621E839F952BA14F9EC9DF5B)",
"requestId": "5668.1",
"targetVersion": 10,
}
]
}