blob: 11d506e025283eab7e24dfdcea1a2ef33e46004d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
/*!
* Matomo - free/libre analytics platform
*
* @link https://matomo.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/
$(function () {
if ($.browser.msie && parseInt($.browser.version) === 10) {
$(document).on('click', 'a[rel~="noreferrer"]', function (event) {
event.preventDefault();
var a = event.currentTarget;
var w = window.open(a.href, a.target || '_self');
if (/\bnoopener\b/.test(a.rel)) {
w.opener = null;
}
});
}
});
|