質問編集履歴

3

環境等の追加

2018/05/05 07:46

投稿

webarata3
webarata3

スコア367

test CHANGED
File without changes
test CHANGED
@@ -57,3 +57,37 @@
57
57
 
58
58
 
59
59
  Windows 10のFirefoxでは動いてました。macOSのFirefoxで動きません。
60
+
61
+
62
+
63
+ ### 5/5追加
64
+
65
+
66
+
67
+ 確認した環境は次のとおりです。
68
+
69
+
70
+
71
+ macOS 10.12.6
72
+
73
+ Firefox 59.0.2
74
+
75
+
76
+
77
+ document.execCommand('copy');
78
+
79
+ を実行するとtrueが返ってきます。
80
+
81
+
82
+
83
+ また、
84
+
85
+ [https://codepen.io/netsi1964/full/QbLLGW](https://codepen.io/netsi1964/full/QbLLGW)
86
+
87
+
88
+
89
+ のようなアドオンでないものはコピーできます。
90
+
91
+
92
+
93
+ [他のアドオン](https://addons.mozilla.org/ja/firefox/addon/copytaburl/?src=search)でもcopyできませんでした。

2

動作環境について追加

2018/05/05 07:46

投稿

webarata3
webarata3

スコア367

test CHANGED
File without changes
test CHANGED
@@ -49,3 +49,11 @@
49
49
  browserActionで動かそうとしています。
50
50
 
51
51
  デバッグしていると、 `document.execCommand('copy')`の行まではいっていますが、copyイベントが発生していないような感じです。
52
+
53
+
54
+
55
+ ### 更に追加
56
+
57
+
58
+
59
+ Windows 10のFirefoxでは動いてました。macOSのFirefoxで動きません。

1

情報追加

2018/05/01 10:49

投稿

webarata3
webarata3

スコア367

test CHANGED
File without changes
test CHANGED
@@ -37,3 +37,15 @@
37
37
 
38
38
 
39
39
  Firefoxの拡張機能上で、クリップボードへのテキストのコピーはどのようにしたらいいでしょうか?
40
+
41
+
42
+
43
+
44
+
45
+ ### 以下追加
46
+
47
+
48
+
49
+ browserActionで動かそうとしています。
50
+
51
+ デバッグしていると、 `document.execCommand('copy')`の行まではいっていますが、copyイベントが発生していないような感じです。