|
|
|
clipboardData
|
|||
|---|---|---|---|
|
#18+
Поясните, пожалуйста, почему в приведенном ниже примере отображение текста из буфера обмена для IE работает в обоих случаях (вставка непосредственно в DIV с помощью CTRL + V и по нажатию кнопки), а в Chrome только для DIV, а при нажатии на кнопку не работает? Код: javascript 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 20.04.2017, 16:33 |
|
||
|
clipboardData
|
|||
|---|---|---|---|
|
#18+
Event handlers may read data from the system clipboard if either of the following is true The action that triggers the event is invoked from the user-agent's own user interface, e.g. a "Paste" menu entry or shortcut key. The script that triggers the action is running on a site which through an implementation-dependant mechanism is given permission to read data from the clipboard. The action that triggers the event is triggered in an app with permissions to read the clipboard. Synthetic paste events must not give a script access to data on the real system clipboard. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 20.04.2017, 18:44 |
|
||
|
|

start [/forum/topic.php?fid=22&fpage=39&tid=1444652]: |
0ms |
get settings: |
10ms |
get forum list: |
17ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
36ms |
get topic data: |
9ms |
get forum data: |
3ms |
get page messages: |
34ms |
get tp. blocked users: |
2ms |
| others: | 248ms |
| total: | 365ms |

| 0 / 0 |
