GitHub Copy Code Snippet

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

Ekde 2020/07/23. Vidu La ĝisdata versio.

Ili estas versioj de tiu ĉi skripto, kie la kodo estas ĝisdatigita. Montri ĉiujn versiojn

  • v0.3.10 2024/02/17

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

  • v0.3.10 2023/07/01

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

  • v0.3.10 2022/10/24 Global: Update dependencies
  • v0.3.9 2022/02/24 Disable GitHub Copy Code Snippet on main site (#166)
  • v0.3.8 2021/07/21 Mutation: Update all
  • v0.3.7 2021/02/21 Add @supportURL pointing to the GitHub repo (#137) (per https://github.com/JasonBarnabe/greasyfork/issues/712#issuecomment-649176266 )
  • v0.3.7 2021/01/31 Mutation: Add menu observer
  • v0.3.6 2020/07/23 Copy-code-snippet: Remove blue class. Closes #119
  • v0.3.5 2019/02/17 Global: Update GitHub icon
  • v0.3.4 2019/01/29 Global: Update mutation script
  • v0.3.3 2018/10/05 Mutations: Update comment load selector
  • v0.3.2 2018/05/17 Global: Update mutation script
  • v0.3.1 2018/05/10 Global: Update mutation script
  • v0.3.0 2018/05/01 Copy-code-snippet: Use new clipboard-copy element, Copy-code-snippet: Target all code in comments
  • v0.2.3 2018/04/09 Global: update mutation script url
  • v0.2.2 2018/04/02 Copy-code-snippet: Stop using `:any` selector https://caniuse.com/#feat=css-matches-pseudo
  • v0.2.1 2018/01/28 Fix compatibility with GitHub Toggle Code Wrap userscript. Fixes #35
  • v0.2.0 2018/01/24 Code blocks are no longer wrapped. Fixes #35
  • v0.1.0 2018/01/13 Imported from URL