[Pkg-mozext-commits] [tabmixplus] 03/48: Internal links in news.google.com should not open new tab
David Prévot
taffit at moszumanska.debian.org
Sun Aug 20 03:14:34 UTC 2017
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository tabmixplus.
commit 6ec29879ebfb6785be5257d2143bb97ce734864d
Author: onemen <tabmix.onemen at gmail.com>
Date: Fri Jun 30 07:45:12 2017 +0300
Internal links in news.google.com should not open new tab
---
modules/ContentClick.jsm | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/modules/ContentClick.jsm b/modules/ContentClick.jsm
index e167928..54f6a03 100644
--- a/modules/ContentClick.jsm
+++ b/modules/ContentClick.jsm
@@ -946,7 +946,12 @@ ContentClickInternal = {
if (testPathname)
return true;
- let _host = ["profiles.google.com", "accounts.google.com", "groups.google.com"];
+ let _host = [
+ "profiles.google.com",
+ "accounts.google.com",
+ "groups.google.com",
+ "news.google.com",
+ ];
return _host.indexOf(node.host) > -1;
},
--
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