Watermark
Display a textual watermark over a configurable list of websites for traceability.
The watermark is drawn over every matching page, including when a page is opened in Reader Mode or View Source. By default it shows the signed-in user's email address with a timestamp below it, which makes screenshots of internal sites traceable.
Compatibility
Section titled “Compatibility”| Firefox | Firefox ESR | Firefox Enterprise |
|---|---|---|
| Not supported | Not supported | Available since 154 |
CCK2 Equivalent: N/A
Preferences Affected: N/A
Examples
Section titled “Examples”{ "policies": { "Watermark": { "Match": [ "https://intranet.example.com/*", "https://*.corp.example.com/*" ], "Copy": "CONFIDENTIAL", "Color": "rgba(200, 0, 0, 0.2)", "FontSize": 28, "Angle": -45, "SecondaryCopy": "%t - %e" } }}JSON schema
{ "type": "object", "required": [ "Match" ], "properties": { "Match": { "type": "array", "items": { "type": "string" } }, "Copy": { "type": "string" }, "Color": { "type": "string" }, "FontSize": { "type": "number" }, "Angle": { "type": "number" }, "Size": { "type": "number" }, "SecondaryCopy": { "type": "string" } }}Values
Section titled “Values”Match: (required) A list of URL match patterns for the pages to watermark. See Match patterns for syntax. Invalid patterns are ignored, and is limited to the first 1000 patterns.Copy: The main line of text.%tis replaced with the current timestamp and%ewith the signed-in user's email address. Defaults to the email address, or toCONFIDENTIALwhen no email address is available.SecondaryCopy: A smaller second line belowCopy, with the same substitutions. Defaults to%t. Set it to an empty string to omit the second line.Color: The text color, as a CSS color value. Defaults torgba(200, 0, 0, 0.5), which is also used when the value cannot be parsed.FontSize: The font size ofCopy, in CSS pixels. Defaults to28and is capped at64.Angle: The rotation of the text in degrees. Defaults to-45.Size: The size of a single watermark tile, in CSS pixels. Defaults to300and is clamped between100and2048.
See also
Section titled “See also”WebsiteFilterpolicy to block sites completely rather than apply a watermark to them.