Skip to content

Instantly share code, notes, and snippets.

View ivanmem's full-sized avatar
🏠
Working from home

Ivan M ivanmem

🏠
Working from home
View GitHub Profile
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using VkNet.Abstractions;
using VkNet.Exception;
const b = document.getElementsByClassName("nim-dialog--close _im_dialog_close");
for(let _b of b) {
_b.click()
}
const fTemp = document.getElementsByClassName("flat_button");
const f = [];
for(_f of fTemp) {
if(_f.innerHTML !="Удалить" && _f.innerHTML !="Выйти из беседы") {
console.log(_f)
} else {
@ivanmem
ivanmem / LongPoolGroup.cs
Last active February 14, 2020 20:24
LongPoolGroup.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using VkNet.Abstractions;
using VkNet.Exception;
using VkNet.Model;
using VkNet.Model.GroupUpdate;
@ivanmem
ivanmem / LongPool User
Created September 8, 2019 19:26
LongPoolUser.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using VkNet.Abstractions;
using VkNet.Exception;
using VkNet.Model;using VkNet.Model.RequestParams;
namespace ProjectName