[Pkg-mozext-commits] [tabmixplus] 10/51: Check for Google links also when "Force to open in new tab from Links to other sites" is true

David Prévot taffit at moszumanska.debian.org
Mon Feb 2 18:36:46 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository tabmixplus.

commit 00e38e6e2a4118ef5fa259857634acc30939cc46
Author: onemen <tabmix.onemen at gmail.com>
Date:   Sun Jan 4 12:47:55 2015 +0200

    Check for Google links also when "Force to open in new tab from Links to other sites" is true
---
 modules/ContentClick.jsm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/modules/ContentClick.jsm b/modules/ContentClick.jsm
index abedbec..05e7ce4 100644
--- a/modules/ContentClick.jsm
+++ b/modules/ContentClick.jsm
@@ -815,6 +815,9 @@ var ContentClickInternal = {
     if (this.targetPref != 2 || this._window.Tabmix.isNewTabUrls(this._data.currentURL))
       return false;
 
+    if (this.GoogleComLink())
+      return false;
+
     if (this.checkOnClick())
       return false;
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/tabmixplus.git



More information about the Pkg-mozext-commits mailing list