From 8aa598b5c661e89420c00e14d4c110a741a1b4bf Mon Sep 17 00:00:00 2001 From: Misterzym Date: Thu, 21 Mar 2019 10:36:51 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A2=D0=B5=D0=BF=D0=B5=D1=80=D1=8C=20=D0=B0?= =?UTF-8?q?=D0=B2=D0=B0=D1=82=D0=B0=D1=80=D0=BA=D0=B8=20=D0=B2=20=D1=87?= =?UTF-8?q?=D0=B5=D1=80=D0=BD=D0=BE=D0=BC=20=D1=81=D0=BF=D0=B8=D1=81=D0=BA?= =?UTF-8?q?=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/script.js b/script.js index c177056..a82763c 100644 --- a/script.js +++ b/script.js @@ -1,8 +1,7 @@ // ==UserScript== // @name RemoveBotInMsgers -// @version 0.9.5 -// @namespace https://up-world.ru/ -// @homepage https://github.com/reek/anti-adblock-killer/ +// @version 0.10.1 +// @homepage https://github.com/misterzym/blockvkbot // @description Добавляет кого угодно в Черный список // @author Misterzym // @match https://vk.com/im?* @@ -37,6 +36,7 @@ var peaple = JSON.stringify({ blackList[peer] = JSON.parse(peaple); blackList[peer].name = $(this).closest(".im-mess-stack").find(".im-mess-stack--pname a").html(); blackList[peer].url = $(this).closest(".im-mess-stack").find(".im-mess-stack--pname a").attr("href"); + blackList[peer].avatar = $(this).closest(".im-mess-stack").find(".nim-peer--photo img").attr("src"); save(); return false; }); @@ -73,7 +73,7 @@ var peaple = JSON.stringify({ function genBlackList() { var tt = ""; for (var prop in blackList) { - tt = tt + '' + blackList[prop].name + '
'; + tt = tt + '
' + blackList[prop].name + '

'; } return '
' +