Skip to main content
1 of 6

Show/Hide spoilers on any question

###About:

Inspired by this feature request on Meta Science Fiction & Fantasy, this script adds a checkbox to the "question info" sidebar block on each question to allow toggling all spoiler blocks on the page.

###Screenshot / Code Snippet:

This script adds a checkbox to the question info sidebar

Here's what it looks like on http://scifi.stackexchange.com/q/112783/31051

  • Spoilers Enabled:

Question with spoilers enabled

  • Spoilers Disabled:

Question with spoilers disabled

###Download / Install:

Install by clicking: Install

Requires a UserScript manager (like GreaseMonkey or TamperMonkey).

###Platform:

Developed and tested on Windows 10 and Chrome 54. It should work on all desktop operating systems and most browsers (IE version 5.5 or greater, Safari version 4 or greater).

Not tested on mobile.

###License: MIT

###Code:

Developed in native JavaScript. Code is on GitHub.

Any bugs can be reported in comments here, or in GitHub's issue tracker.

Related: Show/Hide spoilers on any site