From fc8297fd8f950022e7a5b33c95cad31873c01809 Mon Sep 17 00:00:00 2001 From: hole-thu Date: Tue, 23 Jun 2026 22:30:16 +0800 Subject: [PATCH] Watermark for no screenshotting --- src/Common.css | 14 ++++++++++++++ src/images/watermark.svg | 5 +++++ 2 files changed, 19 insertions(+) create mode 100644 src/images/watermark.svg diff --git a/src/Common.css b/src/Common.css index 0faa01c..2ffd30d 100644 --- a/src/Common.css +++ b/src/Common.css @@ -15,6 +15,20 @@ opacity: 0.65; } +body::after { + content: ''; + position: fixed; + inset: 0; + z-index: 9999; + pointer-events: none; + background-image: url('images/watermark.svg'); + background-repeat: repeat; +} + +body.root-dark-mode::after { + filter: invert(1); +} + .black-outline { text-shadow: /* also change .flow-item-row-with-prompt:hover::before */ -1px -1px 0 rgba(0, 0, 0, 0.6), diff --git a/src/images/watermark.svg b/src/images/watermark.svg new file mode 100644 index 0000000..9ef2adb --- /dev/null +++ b/src/images/watermark.svg @@ -0,0 +1,5 @@ + + + 请勿截屏 + +