aboutsummaryrefslogtreecommitdiffstats
path: root/background_page.html
diff options
context:
space:
mode:
Diffstat (limited to 'background_page.html')
-rw-r--r--background_page.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/background_page.html b/background_page.html
index 06c48359..c62697b0 100644
--- a/background_page.html
+++ b/background_page.html
@@ -267,6 +267,14 @@
Clipboard.copy(request.data);
}
+ function openCopiedUrlInCurrentTab(request) {
+ openUrlInCurrentTab({ url: Clipboard.paste() });
+ }
+
+ function openCopiedUrlInNewTab(request) {
+ openUrlInNewTab({ url: Clipboard.paste() });
+ }
+
/*
* Returns the core CSS used for link hints, along with any user-provided overrides.
*/