GitHub Dark Script

GitHub Dark in userscript form, with a settings panel

These are versions of this script where the code was updated. Show all versions.

  • v2.5.7 - update dependencies, fix lint
  • v2.5.7 - 2.5.7
  • v2.5.6 - Fix iterator. See #67
  • v2.5.6 - remove obsolete jshint comments
  • v2.5.6 - fix lint, use eslint-config-silverwind
  • v2.5.5 - Fix partially hidden code link menu. Closes #66
  • v2.5.4 - 2.5.4
  • v2.5.3 - 2.5.3
  • v2.5.2 - Fix regexp for FF. Closes #62, 2.5.2
  • v2.5.1 - 2.5.1
  • v2.5.0 - Fix change incurred from Gruntfile change 6 days ago, Merge pull request #59 from mallowigi/patch-1 Fix change incurred from Gruntfile change 6 days ago
  • v2.5.0 - 2.5.0
  • v2.4.15 - Add theme Railscasts, Merge pull request #58 from utensil-contrib/railscasts Add theme Railscasts
  • v2.4.15 - Fix rendering of Jupyter pages. Closes #56, 2.4.15
  • v2.4.14 - 2.4.14
  • v2.4.13 - 2.4.13
  • v2.4.12 - 2.4.12
  • v2.4.11 - Remove Firefox rule exceptions
  • v2.4.11 - add form-control class to text inputs
  • v2.4.11 - 2.4.11
  • v2.4.10 - add @inject-into, now works again in Firefox - fixes #53
  • v2.4.10 - Core: code cleanup
  • v2.4.9 - 2.4.9
  • v2.4.7 - Global: update mutation script url
  • v2.4.7 - Global: update mutation script url
  • v2.4.6 - Core: Make regex match main repo, 2.4.6
  • v2.4.5 - Activate script for blog.github.com, Merge pull request #47 from fapdash/activate-for-github-blog Activate script for blog.github.com
  • v2.4.5 - Fix code wrapper icon positioning, 2.4.5
  • v2.4.4 - Core: Fix menu opening on org project page. See #44, 2.4.4
  • v2.4.3 - Fix code wrap button placement. Closes #11, 2.4.3
  • v2.4.2 - Remove unnecessary async, 2.4.2
  • v2.4.1 - Themes: Add One-Dark, Core: Use built-in closest function, Core: Don't depend on DOMContentLoaded, 2.4.1
  • v2.4.0 - 2.4.0
  • v2.3.1 - Update for Greasemonkey 4 Converted a number of functions to async and used the GM 4 compat polyfill. I've tested the script in Firefox 57 with Greasemonkey 4 and Chrome using Tampermonkey. We should probably rewrite the init process sometimes, it's getting too complex. Fixes: https://github.com/StylishThemes/GitHub-Dark-Script/issues/43
  • v2.3.1 - Core: Fix tab select styling, 2.3.1
  • v2.3.0 - Core: Allow disabling of tab-size
  • v2.2.9 - Themes: Add CodeMirror material theme, Themes: Fix Ocean16 file name, 2.2.9
  • v2.2.8 - Imported from URL
  • v2.2.7 - Get event key directly, Remove blob-wrapper position Fixes highlighted line context menu, 2.2.7
  • v2.2.6 - Core: Include new header class, 2.2.6
  • v2.2.5 - Prevent styling of structurizr.com. Fixes #40, 2.2.5
  • v2.2.4 - Core: Append stylesheet after the </head> Fixes https://github.com/StylishThemes/GitHub-Dark/issues/508, 2.2.4
  • v2.2.3 - GHD: Fix linting issues
  • v2.2.3 - Meta: change license to MIT
  • v2.2.2 - Imported from URL
  • v2.2.1 - Imported from URL
  • v2.2.0 - Imported from URL
  • v2.1.3 - Imported from URL
  • v2.1.2 - Imported from URL
  • v2.1.1 - Imported from URL
  • v2.1.0 - Synced from GitHub - Add separate syntax theme options - 2.1.0
  • v2.0.18 - Imported from URL
  • v2.0.16 - Imported from URL
  • v2.0.15 - Synced from GitHub - Load style earlier by not waiting for <body>
  • v2.0.15 - Imported from URL
  • v2.0.14 - Synced from GitHub - encode/decodes as json for GM_ APIs
  • v2.0.14 - Imported from URL
  • v2.0.13 - Synced from GitHub - version bump
  • v2.0.12 - Synced from GitHub - version bump
  • v2.0.11 - Synced from GitHub - Change to new button group class - version bump
  • v2.0.10 - Synced from GitHub - version bump
  • v2.0.9 - Imported from URL
  • v2.0.8 - Imported from URL
  • v2.0.7 - Imported from URL
  • v2.0.6 - Synced from GitHub - Do not add settings panel to githubusercontent pages
  • v2.0.5 - Imported from URL
  • v2.0.4 - Imported from URL
  • v2.0.3 - Imported from URL
  • v2.0.2 - Imported from URL
  • v2.0.1 - Imported from URL
  • v2.0.0 - Synced from GitHub - Rewrite script * Remove jQuery dependency. * Settings have reset - the script now saves `data` instead of each individual setting. * The debug log is now toggled from the browser userscript menu. * Closes issue #16.
  • v1.0.13 - Synced from GitHub - version bump
  • v1.0.12 - Synced from GitHub - Add overflow-wrap for Chrome. See https://github.com/StylishThemes/GitHub-code-wrap/issues/1 - version bump
  • v1.0.11 - Imported from URL
  • v1.0.10 - Imported from URL
  • v1.0.8 - Synced from GitHub - Update background to optimized version
  • v1.0.8 - Synced from GitHub - Rework theme loading - Use callbacks to ensure no race conditions - Don't replace in side the `ghd.themes` array anymore, always load fresh themes.
  • v1.0.8 - Synced from GitHub - Fix theme updating, cleanup code - #14
  • v1.0.8 - Synced from GitHub - Add @connect setting See https://greasyfork.org/en/forum/discussion/7853/devs-tampermonkeys-upcoming-support-of-connect-may-break-scripts-with-gm-xmlhttprequest#latest - version bump
  • v1.0.7 - Synced from GitHub - Settings panel: fix input padding - version bump
  • v1.0.6 - Synced from GitHub - Toggle monospace; target common div. Fixes #10 - version bump
  • v1.0.5 - Synced from GitHub - Fix code diff collapse on opened "Diff suppressed" files - version bump
  • v1.0.4 - Synced from GitHub - Use correct version property
  • v1.0.4 - Synced from GitHub - update to eslint@2.2.0, use GM_info for version
  • v1.0.4 - Synced from GitHub - Add Obsidian theme - version bump
  • v1.0.3 - Synced from GitHub - Diff file toggle, include rich diff
  • v1.0.3 - Synced from GitHub - Add file diff toggle to collapse/expand code blocks - version bump
  • v1.0.2 - Synced from GitHub - Update color picker code - Code wrap: Include pull files changed diffs And prevent JS error - version bump
  • v1.0.1 - Synced from GitHub - Change monospace font toggle icon. See #8
  • v1.0.0 - Synced from GitHub - Add textarea toggle svg icon & tooltip classes
  • v1.0.0 - Synced from GitHub - Fix paste issues - #7
  • v1.0.0 - Synced from GitHub - Change textbox to update on paste - #7
  • v1.0.0 - Synced from GitHub - Add textarea to allow style dev updates. Fixes #7 - version bump - drop beta
  • v1.0.8-beta - Synced from GitHub - Fix lint issue - Add toggle monospace button. Fixes #8 - version bump
  • v1.0.7-beta - Synced from GitHub - Prevent js error while checking css version. Fixes #9
  • v1.0.7-beta - Synced from GitHub - Update default background
  • v1.0.7-beta - Synced from GitHub - Fix linter errors #9
  • v1.0.7-beta - Synced from GitHub - Apply checkbox tweaks only for Firefox
  • v1.0.7-beta - Synced from GitHub - Replace defunct info octicon - version bump
  • v1.0.5-beta - Synced from GitHub - Update default background
  • v1.0.5-beta - Synced from GitHub - Update default background
  • v1.0.5-beta - Imported from URL
  • v1.0.4-beta - Synced from GitHub - Get hex color from color picker This change allows entering "333" or "rgb(128,0,0)" - version bump
  • v1.0.3-beta - Synced from GitHub - Reduce z-index on code wrap icon In an issue, the label, milestone, etc popup modals are set to a z-index of 21 - version bump
  • v1.0.2-beta - Synced from GitHub - Set code wrap tooltip set to west The code wrapper on diff pages is set to overflow hidden, so a btooltip set north is hidden from view - version bump
  • v1.0.1-beta - Synced from GitHub - Fix bug where themes weren't applied
  • v1.0.1-beta - Synced from GitHub - Fix bug where themes weren't applied
  • v1.0.1-beta - Synced from GitHub - Workaround checkbox issue in Firefox
  • v1.0.1-beta - Synced from GitHub - Add version indicator - version bump
  • v1.0.0-beta - Imported from URL
  • v0.9.0 - Synced from GitHub - Replace $.parseJSON with JSON.parse jQuery.parseJSON will be deprecated: https://github.com/jquery/jquery/issues/2800
  • v0.9.0 - Synced from GitHub - Add MutationObserver & remove unsafeWindow - Add panel even if not logged in - Add keyboard shortcut "g+-" to toggle style - version bump
  • v0.8.6 - Synced from GitHub - Add css when enabled - version bump
  • v0.8.5 - Synced from GitHub - Add GitHub Dark code wrap setting - version bump
  • v0.8.4 - Synced from GitHub - Fix code wrap of code with line numbers - Don't update style if changing wrap or enable/disable & cleanup
  • v0.8.4 - Imported from URL
  • v0.8.2
  • v0.1