imgbi / img.bi

img.bi main website
GNU General Public License v3.0
187 stars 27 forks source link

Copy to clipboard button issues #44

Closed ghost closed 8 years ago

ghost commented 9 years ago

The copy buttons at the file view doesn't work. That's surely because of the browser restrictions for access to the clipboard. Additionally I think it is intended that there are some hover/clicking effects, but they aren't working.

So maybe a better thing would be if you could select the link with one click (e.g. by using user-select although this is not standardised).

komachi commented 9 years ago

It works only with Flash enabled, this is the only way to copy text in browser. I probably should replace it with simple selection if browser has no flash.

ghost commented 9 years ago

Well.. I have enabled "click to play" for flash in Firefox 38.0.1. But I didn't see any click-to-play message of Firefox while viewing the site, so it seems as it would not (trying to) load flash.

ghost commented 9 years ago

Maybe you also like this: https://github.com/zenorocha/clipboard.js

zenorocha commented 8 years ago

+1 ;)

komachi commented 8 years ago

Fixed.