aboutsummaryrefslogtreecommitdiffstats
path: root/copy.js
diff options
context:
space:
mode:
Diffstat (limited to 'copy.js')
-rw-r--r--copy.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/copy.js b/copy.js
index 98ad341..7cbc906 100644
--- a/copy.js
+++ b/copy.js
@@ -154,6 +154,9 @@ const REPLACE_TABLE = {
htmlsel += serializer.serializeToString(selection.getRangeAt(i).cloneContents());
}
return htmlsel;
+ },
+ get CLIP () {
+ return util.readFromClipboard();
}
};
'hostname pathname host port protocol search hash'.split(' ').forEach(function (name){