Reddit Toggle Custom CSS

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

코드가 바뀐 버전들입니다. 모든 버전 보기

  • v1.5.2 2020-11-20 Reddit Toggle Cusstom CSS: cleanup
  • v1.5.1 2020-11-20 Reddit Toggle Custom CSS: cleanup
  • v1.5.0 2020-11-20 Reddit Toggle Custom CSS: cleanup don't show the menu command if there's no stylesheet to toggle
  • v1.4.3 2020-11-20 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 2020-11-17 Violentmonkey compatibility tweak for @inject-into s/content/auto/ as they behave differently on Chrome
  • v1.4.1 2020-09-29 Reddit Toggle Custom CSS: cleanup
  • v1.4.0 2020-09-28 Reddit - Toggle Custom CSS: fix blank pages
  • v1.3.1 2020-05-08 bump jQuery to 3.5.1 + reduce size (slim build)
  • v1.3.0 2019-11-14 Reddit - Toggle Custom CSS: work with JavaScript disabled (Violentmonkey)
  • v1.2.2 2019-11-03 Reddit - Toggle Custom CSS: doctweak
  • v1.2.1 2019-05-18 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 2019-05-18 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 2019-01-13 migrate dependencies from RawGit to jsDelivr + clean up metadata + bump jQuery
  • v1.1.0 2018-03-24 fix comment nits
  • v1.1.0 2017-09-09 Imported from URL
  • v1.0.0 2017-05-27 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 2016-10-30 Synced from GitHub - Reddit - Toggle Custom CSS: tweak description
  • v0.0.3 2016-10-01 Imported from URL
  • v0.0.2 2016-09-23 Imported from URL