From 95cb81eb90b4c78b253f30a61d819f069b199572 Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Wed, 12 Nov 2014 09:49:18 +0000 Subject: Favicons in the vomnibar; remove support. There are security issues with favicons as implemented previously. This commit removes favicon support entirely. --- background_scripts/completion.coffee | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'background_scripts/completion.coffee') diff --git a/background_scripts/completion.coffee b/background_scripts/completion.coffee index b6a52a15..b411bcba 100644 --- a/background_scripts/completion.coffee +++ b/background_scripts/completion.coffee @@ -26,7 +26,6 @@ class Suggestion generateHtml: -> return @html if @html - favIconUrl = @tabFavIconUrl or "#{@getUrlRoot(@url)}/favicon.ico" relevancyHtml = if @showRelevancy then "#{@computeRelevancy()}" else "" # NOTE(philc): We're using these vimium-specific class names so we don't collide with the page's CSS. @html = @@ -35,8 +34,7 @@ class Suggestion #{@type} #{@highlightTerms(Utils.escapeHtml(@title))} -
+
#{@shortenUrl(@highlightTerms(Utils.escapeHtml(@url)))} #{relevancyHtml}
@@ -294,7 +292,6 @@ class TabCompleter suggestions = results.map (tab) => suggestion = new Suggestion(queryTerms, "tab", tab.url, tab.title, @computeRelevancy) suggestion.tabId = tab.id - suggestion.tabFavIconUrl = tab.favIconUrl suggestion onComplete(suggestions) -- cgit v1.2.3