aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/background.html
diff options
context:
space:
mode:
authorsiikamiika <siikamiika@users.noreply.github.com>2019-10-27 15:46:27 +0200
committersiikamiika <siikamiika@users.noreply.github.com>2019-10-27 15:46:27 +0200
commit48776145d6bdb8aff82e82546583c790353e75b6 (patch)
tree738b1557aa7362948b7c52e8673fc514858a53a0 /ext/bg/background.html
parentd3f51690f8bb236d1ba3c79c20b3a60d3e62dc52 (diff)
add workaround to Chrome clipboard.readText
For some reason this doesn't work on Firefox, so keep using the new API for Firefox
Diffstat (limited to 'ext/bg/background.html')
-rw-r--r--ext/bg/background.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/bg/background.html b/ext/bg/background.html
index 194d4a45..30b3db48 100644
--- a/ext/bg/background.html
+++ b/ext/bg/background.html
@@ -5,6 +5,8 @@
<meta name="viewport" content="width=device-width,initial-scale=1" />
</head>
<body>
+ <div id="clipboard-paste-target" contenteditable="true"></div>
+
<script src="/mixed/lib/dexie.min.js"></script>
<script src="/mixed/lib/handlebars.min.js"></script>
<script src="/mixed/lib/jszip.min.js"></script>