Actions

Work Header

Rating:
Archive Warning:
Fandoms:
Additional Tags:
Language:
English
Series:
Part 4 of Tech Tutorials for Ao3
Stats:
Published:
2026-04-14
Updated:
2026-04-14
Words:
185
Chapters:
1/2
Kudos:
3
Hits:
72

Reminder Skin: Enable Moderation

Summary:

Site skin that prevents posting without enabling comment moderation.

And possibly other anti-spam methods.

Notes:

(See the end of the work for notes.)

Chapter Text

In light of the current spambot issues, I have created a site skin that prevents accidentally posting without enabling comment moderation.

Specifically, it will

  1. Hide the Post button until you check Enable comment moderation.
  2. Hide the checked option for Enable comment moderation so you can't accidentally un-check it.
  3. Display a reminder that says Enable comment moderation before posting! (This can easily be changed to whatever you want. Just find and replace this text in the code below.).
  4. Bold and box the Enable comment moderation if not checked.
Full version

form.post.work:not(:has(#work_moderated_commenting_enabled:checked)) [value="Post" i],
.privacy:has(#work_moderated_commenting_enabled:checked) .moderated.comments {
  display: none !important;
}

.privacy:not(:has(#work_moderated_commenting_enabled:checked)) ~ fieldset .actions::before {
  content: "Enable comment moderation before posting!";
  color: red;
  background: lightyellow;
  font-weight: bold;
  font-style: italic;
}

.privacy .moderated:not(:has(#work_moderated_commenting_enabled:checked)) [for] {
  font-weight: bold;
  border: 1px solid red;
}
Short version

Really, the main functionality is in that first rule.

form.post.work:not(:has(#work_moderated_commenting_enabled:checked)) [value="Post" i],
.privacy:has(#work_moderated_commenting_enabled:checked) .moderated.comments {
  display: none !important;
}

The rest is just visual reminders of what needs to be done.

Notes:

As always, please let me know if you found this useful or have any trouble. Stay safe!

Series this work belongs to: