GitHub Copy Code Snippet

A userscript adds a copy to clipboard button on hover of markdown code snippets

Ajankohdalta 10.5.2018. Katso uusin versio.

Tästä skriptistä on versioita, joissa koodia päivitettiin. Näytä kaikki versiot.

  • v0.3.10 17.2.2024

    feat: use eslint-plugin-userscripts (#202)

  • v0.3.10 1.7.2023

    Global: replace @include with @match (#192)

  • v0.3.10 24.10.2022 Global: Update dependencies
  • v0.3.9 24.2.2022 Disable GitHub Copy Code Snippet on main site (#166)
  • v0.3.8 21.7.2021 Mutation: Update all
  • v0.3.7 21.2.2021 Add @supportURL pointing to the GitHub repo (#137) (per https://github.com/JasonBarnabe/greasyfork/issues/712#issuecomment-649176266 )
  • v0.3.7 31.1.2021 Mutation: Add menu observer
  • v0.3.6 23.7.2020 Copy-code-snippet: Remove blue class. Closes #119
  • v0.3.5 17.2.2019 Global: Update GitHub icon
  • v0.3.4 29.1.2019 Global: Update mutation script
  • v0.3.3 5.10.2018 Mutations: Update comment load selector
  • v0.3.2 17.5.2018 Global: Update mutation script
  • v0.3.1 10.5.2018 Global: Update mutation script
  • v0.3.0 1.5.2018 Copy-code-snippet: Use new clipboard-copy element, Copy-code-snippet: Target all code in comments
  • v0.2.3 9.4.2018 Global: update mutation script url
  • v0.2.2 2.4.2018 Copy-code-snippet: Stop using `:any` selector https://caniuse.com/#feat=css-matches-pseudo
  • v0.2.1 28.1.2018 Fix compatibility with GitHub Toggle Code Wrap userscript. Fixes #35
  • v0.2.0 24.1.2018 Code blocks are no longer wrapped. Fixes #35
  • v0.1.0 13.1.2018 Imported from URL