Reddit Toggle Custom CSS

Persistently disable/re-enable custom subreddit styles via a userscript command

Acestea sunt versiunile scriptului în care codul a fost actualizat. Arată toate versiunile.

  • v1.5.2 20-11-2020 Reddit Toggle Cusstom CSS: cleanup
  • v1.5.1 20-11-2020 Reddit Toggle Custom CSS: cleanup
  • v1.5.0 20-11-2020 Reddit Toggle Custom CSS: cleanup don't show the menu command if there's no stylesheet to toggle
  • v1.4.3 20-11-2020 Reddit Toggle Custom CSS: fix blank mod pages custom stylesheets aren't used on all subreddit pages (e.g. some mod pages), so don't assume the custom-stylesheet element exists
  • v1.4.2 17-11-2020 Violentmonkey compatibility tweak for @inject-into s/content/auto/ as they behave differently on Chrome
  • v1.4.1 29-09-2020 Reddit Toggle Custom CSS: cleanup
  • v1.4.0 28-09-2020 Reddit - Toggle Custom CSS: fix blank pages
  • v1.3.1 08-05-2020 bump jQuery to 3.5.1 + reduce size (slim build)
  • v1.3.0 14-11-2019 Reddit - Toggle Custom CSS: work with JavaScript disabled (Violentmonkey)
  • v1.2.2 03-11-2019 Reddit - Toggle Custom CSS: doctweak
  • v1.2.1 18-05-2019 Reddit - Toggle Custom CSS: update the state-saving logic to reflect the fact that the disabled state can default to true. this ensures we only save the setting for subreddits with a non-default display preference rather than for every sub we've ever toggled before: save the disabled state (disabled = true) if a theme is disabled after: save the disabled state (e.g. disabled = true) if it differs from the default (e.g. disabled = false)
  • v1.2.0 18-05-2019 Reddit - Toggle Custom CSS: - define the default disabled setting in a variable so it can easily be changed - update jQuery: 3.3.1 -> 3.4.1
  • v1.1.1 13-01-2019 migrate dependencies from RawGit to jsDelivr + clean up metadata + bump jQuery
  • v1.1.0 24-03-2018 fix comment nits
  • v1.1.0 09-09-2017 Imported from URL
  • v1.0.0 27-05-2017 fix flash of styled content on subreddits with a custom background + disable custom theme as well as custom stylesheet (untested) + code cleanup + cosmetics + upgrade jQuery 3.1.1 -> 3.2.1
  • v0.0.4 30-10-2016 Synced from GitHub - Reddit - Toggle Custom CSS: tweak description
  • v0.0.3 01-10-2016 Imported from URL
  • v0.0.2 23-09-2016 Imported from URL