Skip to content

Instantly share code, notes, and snippets.

@karasugawasu
Last active October 28, 2020 12:50
Show Gist options
  • Save karasugawasu/3850cdbdc9ba3077a1e7cc15d452fd73 to your computer and use it in GitHub Desktop.
Save karasugawasu/3850cdbdc9ba3077a1e7cc15d452fd73 to your computer and use it in GitHub Desktop.
NSFW強制解除
### {
name: "NSFW強制解除"
version: "0.0.2"
author: "karasu_sue"
description: "NSFW強制解除"
permissions: []
}
Plugin:register_note_view_interruptor(@(note) {
? Obj:has(note, "renote") {
~~ #h, note.renote.files {
h.isSensitive <- no
}
}
~~ #h, note.files {
h.isSensitive <- no
}
note
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment