您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Makes it much more convenient to block members when they are no longer in your room! Blocks from both chat and messages at once.
// ==UserScript== // @name Add Block Button to Streamate User Details Pages // @namespace https://greasyfork.org/en/users/870933 // @version 0.4 // @description Makes it much more convenient to block members when they are no longer in your room! Blocks from both chat and messages at once. // @author LintillaTaylor // @match https://*.streamatemodels.com/smm/userdetails.php* // @grant none // ==/UserScript== var userid = (location.search.split('userid=')[1]||'').split('&')[0] var txt = '<div style="clear:both; text-align:right;"><form method="POST" action="https://streamatemodels.com/smblock.php?" style="margin:0;"><input type="hidden" name="oldrelation[' + userid + ']" value="1028"><input type="hidden" name="blocked[' + userid + '][]" value="2" checked="1"><input type="hidden" name="blocked[' + userid + '][]" value="1024" checked="1"><button class="btn btn-danger button_short" type="submit" value="submit"><span>Block</span></button></form><br /></div>' $('#page_body').append(txt);