From 28416fe17b35875ba90bfabadb81d68e85f89010 Mon Sep 17 00:00:00 2001 From: Timo Sand Date: Sun, 17 Feb 2013 03:56:16 +0000 Subject: Implemented opening links in Incognito --- content_scripts/link_hints.coffee | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'content_scripts') diff --git a/content_scripts/link_hints.coffee b/content_scripts/link_hints.coffee index c34692b6..ad4a2686 100644 --- a/content_scripts/link_hints.coffee +++ b/content_scripts/link_hints.coffee @@ -96,8 +96,9 @@ LinkHints = HUD.show("Open link in incognito window") @linkActivator = (link) -> - console.log 'Incognito:', link - openUrlInIncognitoWindow({ url: link.href}) + chrome.extension.sendMessage( + handler: 'openUrlInIncognitoWindow' + url: link.href) else # OPEN_IN_CURRENT_TAB HUD.show("Open link in current tab") # When we're opening the link in the current tab, don't navigate to the selected link immediately -- cgit v1.2.3