sindresorhus/refined-github

`copy-file` doesn't work on SVG files #4451

fregante posted onGitHub

I thought I reported this already, but I can't find the issue.

  1. Open https://github.com/sindresorhus/refined-github/blob/main/media/icon.svg
  2. Click the "Copy" button
  3. Nothing happens, there's no code visible, it should only appear when the raw code is visible

We should find other rendered filetypes and make sure they all work the same way so we don't play wackamole.

Related: https://github.com/sindresorhus/refined-github/issues/4244


You are talking about CSV that was just fixed

posted by yakov116 almost 4 years ago
posted by fregante almost 4 years ago

Fix:

if there's code on the page
    renderButton()
else if view-markdown-source is applicable
    wait for its events
else 
    return false
posted by fregante almost 4 years ago

Fund this Issue

$0.00
Funded

Pull requests