知乎自己的问题可一键邀请所有人
当前为
// ==UserScript==
// @name 知乎一键邀请
// @namespace http://tampermonkey.net/
// @version 0.1
// @description 知乎自己的问题可一键邀请所有人
// @author Shifter
// @match https://www.zhihu.com/question/*
// @grant none
// @require https://cdn.bootcss.com/jquery/3.4.1/jquery.js
// ==/UserScript==
(function() {
'use strict';
$(".QuestionButtonGroup").eq(1).append("<button id='all_invite' type='button' class='Button Button--blue'>一键邀请</button>")
$("#all_invite").click(function(){
$(".List-item").find(".Button--blue").trigger("click");
});
})();