diff --git a/admin.css b/admin.css index 3d650d2..1f263bb 100644 --- a/admin.css +++ b/admin.css @@ -116,6 +116,7 @@ background:url(img/flags.png) no-repeat 0 0; background-size: 20px auto; } + &.ctry_eu::before { background-position-y: -161px } &.ctry_ad::before { background-position-y: -441px } &.ctry_ae::before { background-position-y: -461px } &.ctry_af::before { background-position-y: -481px } @@ -380,6 +381,17 @@ &.ref_facebook::before { background-position-y: -280px } &.ref_discord::before { background-position-y: -300px } &.ref_other::before { background-image: url('img/more.svg') } + + /* seen-by icons */ + &.seenby::before { background-image: url('img/stages.png') } + &.sb_srv::before { background-position-y: -20px } + &.sb_log::before { background-position-y: -40px } + &.sb_srvlog::before { background-position-y: -60px } + &.sb_tck::before { background-position-y: -80px } + &.sb_srvtck::before { background-position-y: -100px } + &.sb_logtck::before { background-position-y: -120px } + &.sb_srvlogtck::before { background-position-y: -140px } + } .page_icon { diff --git a/admin.js b/admin.js index 57521da..49765e5 100644 --- a/admin.js +++ b/admin.js @@ -1156,7 +1156,7 @@ BotMon.live = { // check for unknown bots: if (!botInfo) { - const botmatch = agent.match(/([\s\d\w\-]*bot|[\s\d\w\-]*crawler|[\s\d\w\-]*spider)[\/\s;\),\\.$]/i); + const botmatch = agent.match(/([\s\d\w\-]*bot|[\s\d\w\-]*crawler|[\s\d\w\-]*spider)[\/\s\w\-;\),\\.$]/i); if(botmatch) { botInfo = {'id': ( botmatch[1] || "other_" ), 'n': "Other" + ( botmatch[1] ? " (" + botmatch[1] + ")" : "" ) , "bot": botmatch[1] }; } @@ -1543,15 +1543,15 @@ BotMon.live = { }, // test for specific client identifiers: - /*matchesClients: function(visitor, ...list) { + matchesUserAgent: function(visitor, ...list) { for (let i=0; i