diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2021-11-09 00:23:21 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-09 00:23:21 +0300 |
commit | 312d3a0c0ec44c7ac38be43af9b290b2ba7aeefd (patch) | |
tree | f688035cfc8bd5b647b5c5eeb06449fec3f79971 /plugins/CoreHome/angularjs | |
parent | 27d714e93cf78df3d72435b3995d5a275284f1d5 (diff) |
Mark IE11 as no longer supported browsers (#18199)
* Revert "add warning about dropping support for users using IE (#18037)"
This reverts commit 962bd82b8069af16bb5fcfcc7d2ef75731a5bf2e.
* Mark IE11 as unsupported browser
* update browserslist dependencies to > 0.05% usage
* update other browser versions
* debug browser not supported ui test failure
* reset user agent in optoutform UI test
* reset user agent after optoutform test
* another user agent in tests tweak
* remove supported browser debugging output
Co-authored-by: diosmosis <diosmosis@users.noreply.github.com>
Diffstat (limited to 'plugins/CoreHome/angularjs')
-rw-r--r-- | plugins/CoreHome/angularjs/iecheck.js | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/plugins/CoreHome/angularjs/iecheck.js b/plugins/CoreHome/angularjs/iecheck.js deleted file mode 100644 index 234322e82d..0000000000 --- a/plugins/CoreHome/angularjs/iecheck.js +++ /dev/null @@ -1,37 +0,0 @@ -/*! - * Matomo - free/libre analytics platform - * - * @link https://matomo.org - * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later - */ -(function () { - angular.module('piwikApp').run(['$timeout', function($timeout) { - var isIe = detectIfIeIsBeingUsed(); - if (isIe) { - $timeout(function () { - var UI = require('piwik/UI'); - var notification = new UI.Notification(); - - var message = _pk_translate('CoreHome_TechDeprecationWarning', [ - '4.6', - 'Internet Explorer', - '<a target="_blank" href="https://matomo.org/blog/2021/09/matomo-to-end-support-for-internet-explorer-11/" rel="noreferrer noopener">', - '</a>', - ]); - - notification.show(message, { - title: _pk_translate('General_Warning') + ':', - context: 'warning', - noclear: true, - type: 'persistent', - id: 'ieEndingSupportCheck' - }); - }); - } - - function detectIfIeIsBeingUsed() { - var ua = window.navigator.userAgent; - return ua.indexOf('MSIE ') !== -1 || ua.indexOf('Trident/') !== -1; - } - }]); -})(); |