您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Скрипт
// ==UserScript== // @name тест // @namespace http://tampermonkey.net/ // @version 2.2 // @description Скрипт // @author Valik // @match https://vk.com/* // @icon https://klike.net/uploads/posts/2021-12/1638345168_12.jpg // @grant none // @license MIT // ==/UserScript== (function() { 'use strict'; // You need to manually add the user ID and chat IDs here const userId = 'USER_ID'; // Replace with the VK user ID const chatIds = ['CHAT_ID1', 'CHAT_ID2']; // Replace with the VK chat IDs chatIds.forEach(chatId => { // Open the chat settings page window.open(`https://vk.com/im?sel=${chatId}`, '_blank'); setTimeout(() => { // Simulate clicks to add the user (adjust selectors as needed) document.querySelector('.im-page--dialog-settings').click(); // Open settings setTimeout(() => { document.querySelector('.im-dialog-settings-add-user').click(); // Open add user dialog setTimeout(() => { document.querySelector('input[name="addUser"]').value = userId; // Enter user ID document.querySelector('.im-dialog-settings-add-user-submit').click(); // Add user }, 1000); }, 1000); }, 2000); }); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址