[Pkg-mozext-commits] [tabmixplus] 16/56: Links from jetbrains.com open in the same tab
David Prévot
taffit at moszumanska.debian.org
Mon Jun 6 00:02:33 UTC 2016
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository tabmixplus.
commit fc214096df4d9b0b201954e510c4d1ecae5ea53f
Author: onemen <tabmix.onemen at gmail.com>
Date: Sun May 1 07:44:32 2016 +0300
Links from jetbrains.com open in the same tab
---
modules/ContentClick.jsm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/modules/ContentClick.jsm b/modules/ContentClick.jsm
index f036757..0c02d5a 100644
--- a/modules/ContentClick.jsm
+++ b/modules/ContentClick.jsm
@@ -569,7 +569,9 @@ ContentClickInternal = {
// for the moment just do it for Google and Yahoo....
// tvguide.com - added 2013-07-20
// duckduckgo.com - added 2014-12-24
- blocked = /duckduckgo.com|tvguide.com|google|yahoo.com\/search|my.yahoo.com/.test(currentHref);
+ // jetbrains.com - added 2016-05-01
+ let re = /duckduckgo.com|tvguide.com|google|yahoo.com\/search|my.yahoo.com|jetbrains.com/;
+ blocked = re.test(currentHref);
// youtube.com - added 2013-11-15
if (!blocked && /youtube.com/.test(currentHref) &&
(!this.isGMEnabled() || decodeURI(href).indexOf("return false;") == -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