Fossil

Changes To branch/tooltip-copyhash
Login

Changes To branch/tooltip-copyhash

Changes to "branch/tooltip-copyhash" between 2019-06-03 12:27:27 and 2019-06-11 07:20:54

1
2
3
4
5

6
7
8
9
10
11
12
1
2
3
4

5
6
7
8
9
10
11
12




-
+







__TODO:__

* ☑️ <del>Trim the length of the copied hashes to the limit defined by the [`hash-digits`](/help?cmd=hash-digits) setting.</del>
* ☑️ <del>Also apply the same limit to the link text for hashes?</del>
* Reevaluate the position of the "Copy Hash" icon on the tooltip.
* ☑️ <del>Reevaluate the position of the "Copy Hash" icon on the tooltip.</del>
* Refresh my trigonometry skills, and calculate the outline of the icon more accurately.

__Copy text to clipboard using Javascript:__

* <https://stackoverflow.com/questions/400212/how-do-i-copy-to-the-clipboard-in-javascript>
* <https://stackoverflow.com/questions/46275918/copy-plain-text-with-no-rich-styles-to-clipboard-without-losing-focus>
* <https://blog.codeinside.eu/2016/05/12/copy-to-clipboard-with-javascript/>