aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/background.html
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-09-06 14:38:03 -0400
committerGitHub <noreply@github.com>2020-09-06 14:38:03 -0400
commit115afb63b90b8e6841061bbf8d67e82cab42958b (patch)
tree9eebcad5518f3ec1f759e0632044e6c987a6aa7e /ext/bg/background.html
parentb28241dbf23b627e252348aa0445e4e7befe01fc (diff)
Add api.clipboardGetImage (#778)
* Rename clipboardPasteTarget to just target * Remove else block * Add helper functions * Defer assignment of clipboard paste target * Add api.clipboardGetImage
Diffstat (limited to 'ext/bg/background.html')
-rw-r--r--ext/bg/background.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/bg/background.html b/ext/bg/background.html
index ba8c3863..3b889fb8 100644
--- a/ext/bg/background.html
+++ b/ext/bg/background.html
@@ -46,5 +46,12 @@
<script src="/mixed/js/object-property-accessor.js"></script>
<script src="/bg/js/background-main.js"></script>
+
+ <!--
+ Due to a Firefox bug, this next element is purposefully terminated incorrectly.
+ This element must appear directly inside the <body> element, and it must not be closed properly.
+ https://bugzilla.mozilla.org/show_bug.cgi?id=1603985
+ -->
+ <div id="clipboard-image-paste-target" contenteditable="true">
</body>
</html>