您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Automatically cancels the meeting experience rating dialog in HipChat or Jitsi Meet
// ==UserScript== // @name HipChat / Jitsi Meet - Please rate your meeting experience (Click Cancel) // @description Automatically cancels the meeting experience rating dialog in HipChat or Jitsi Meet // @include https://hipchat.me/* // @include https://meet.jit.si/* // @match https://hipchat.me/* // @match https://meet.jit.si/* // @version 0.2 // @namespace https://greasyfork.org/users/77886 // @require http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js // @require https://greasyfork.org/scripts/5392-waitforkeyelements/code/WaitForKeyElements.js?version=115012 // ==/UserScript== function clickSubmitBtnWhenItAppears (jNode) { var clickEvent = document.createEvent ('MouseEvents'); clickEvent.initEvent ('click', true, true); jNode[0].dispatchEvent (clickEvent); } function clickTheCancelButton () { // <button class="button-control jqibutton " name="jqi_state0_buttonspandatai18ndialogCancelCancelspan" value="false"><span data-i18n="dialog.Cancel">Cancel</span></button> waitForKeyElements ( "button[name='jqi_state0_buttonspandatai18ndialogCancelCancelspan']", clickSubmitBtnWhenItAppears ); } // <h2 class="aui-dialog2-header-main" data-i18n="dialog.rateExperience">Please rate your meeting experience.</h2> waitForKeyElements ( "h2[data-i18n='dialog.rateExperience']", clickTheCancelButton );