code cosmeticsiv

This commit is contained in:
tophf 2017-12-07 06:54:51 +03:00
parent fb3138f700
commit e4e8f04c95

View File

@ -63,11 +63,9 @@ if (BG && !BG.getStyles && BG !== window) {
if (!BG || BG !== window) { if (!BG || BG !== window) {
if (FIREFOX) { if (FIREFOX) {
document.documentElement.classList.add('firefox'); document.documentElement.classList.add('firefox');
} } else if (OPERA) {
if (OPERA) {
document.documentElement.classList.add('opera'); document.documentElement.classList.add('opera');
} } else if (chrome.app && navigator.userAgent.includes('Vivaldi')) {
if (chrome.app && navigator.userAgent.includes('Vivaldi')) {
document.documentElement.classList.add('vivaldi'); document.documentElement.classList.add('vivaldi');
} }
// TODO: remove once our manifest's minimum_chrome_version is 50+ // TODO: remove once our manifest's minimum_chrome_version is 50+