Helper links update
This commit is contained in:
@@ -40,6 +40,12 @@
|
||||
"rx": ["Applebot\\/(\\d+\\.\\d+);"],
|
||||
"url": "http://www.apple.com/go/applebot"
|
||||
},
|
||||
{"id": "baidu",
|
||||
"n": "Baidu", "geo": "CN",
|
||||
"r": ["Baiduspider", "Baiduspider-image", "Baiduspider-video", "Baiduspider-news", "Baiduspider-favo", "Baiduspider-cpro", "Baiduspider-ads", "Baiduspider-render"],
|
||||
"rx": ["Baiduspider"],
|
||||
"url": "http://www.baidu.com/search/spider.html"
|
||||
},
|
||||
{"id": "reddit",
|
||||
"n": "RedditBot",
|
||||
"r": ["Applebot"],
|
||||
|
||||
BIN
img/links.png
BIN
img/links.png
Binary file not shown.
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.3 KiB |
16
script.js
16
script.js
@@ -607,8 +607,6 @@ BotMon.live = {
|
||||
});
|
||||
|
||||
BotMon.live.gui.status.hideBusy('Done.');
|
||||
|
||||
console.log(me._pagesList);
|
||||
},
|
||||
|
||||
// get a list of known bots:
|
||||
@@ -1729,7 +1727,7 @@ BotMon.live = {
|
||||
// update known bots list:
|
||||
const botElement = document.getElementById('botmon__botslist'); /* Known bots */
|
||||
if (botElement) {
|
||||
botElement.innerHTML = `<dt>Top visiting bots:</dt>`;
|
||||
botElement.innerHTML = `<dt>Top known bots:</dt>`;
|
||||
|
||||
let botList = BotMon.live.data.analytics.getTopBots(maxItemsPerList);
|
||||
botList.forEach( (botInfo) => {
|
||||
@@ -2168,18 +2166,18 @@ BotMon.live = {
|
||||
dl.appendChild(make('dt', {}, "IP-Address:"));
|
||||
const ipItem = make('dd', {'class': 'has_icon ipaddr ip' + ipType});
|
||||
ipItem.appendChild(make('span', {'class': 'address'} , data.ip));
|
||||
ipItem.appendChild(make('a', {
|
||||
'class': 'icon_only extlink dnscheck',
|
||||
'href': `https://dnschecker.org/ip-location.php?ip=${encodeURIComponent(data.ip)}`,
|
||||
'target': 'dnscheck',
|
||||
'title': "View this address on DNSChecker.org"
|
||||
} , "Check Address"));
|
||||
ipItem.appendChild(make('a', {
|
||||
'class': 'icon_only extlink ipinfo',
|
||||
'href': `https://ipinfo.io/${encodeURIComponent(data.ip)}`,
|
||||
'target': 'ipinfo',
|
||||
'title': "View this address on IPInfo.io"
|
||||
} , "DNS Info"));
|
||||
ipItem.appendChild(make('a', {
|
||||
'class': 'icon_only extlink abuseipdb',
|
||||
'href': `https://www.abuseipdb.com/check/${encodeURIComponent(data.ip)}`,
|
||||
'target': 'abuseipdb',
|
||||
'title': "Check this address on AbuseIPDB.com"
|
||||
} , "Check on AbuseIPDB"));
|
||||
dl.appendChild(ipItem);
|
||||
|
||||
if (Math.abs(data._lastSeen - data._firstSeen) < 100) {
|
||||
|
||||
@@ -350,8 +350,8 @@
|
||||
|
||||
/* External link icons */
|
||||
&.extlink::before { background-image: url('img/links.png') }
|
||||
&.extlink.dnscheck::before { background-position-y: -20px }
|
||||
&.extlink.ipinfo::before { background-position-y: -40px }
|
||||
&.extlink.abuseipdb::before { background-position-y: -20px }
|
||||
|
||||
/* Common referers icons */
|
||||
&.referer::before { background-image: url('img/referers.png') }
|
||||
|
||||
Reference in New Issue
Block a user