您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Button to hide messengers list of conversations
当前为
// ==UserScript== // @name Toggle Messenger Sidebar // @namespace http://jamesswandale.com/ // @version 0.2 // @description Button to hide messengers list of conversations // @match https://www.messenger.com/* // @copyright 2015+, James Swandale // @require http://code.jquery.com/jquery-latest.js // ==/UserScript== $(document).ready(function() { $('body').append('<input type="button" value="Hide Sidebar" id="showHideButton" style="background-color:#292929; color:#FFFFFF;">'); $("#showHideButton").css({"position":"fixed", "top":15, "left":60, "z-index":1000, "border-style":"solid", "border-width":"2px", "border-color":"#3C3C3C"}); $("#showHideButton").click(function(){ var convThreads = document.getElementsByClassName("_1enh")[0]; if(convThreads.style.display == 'none'){ convThreads.style.display = 'block'; showHideButton.value = "Hide Sidebar"; }else { convThreads.style.display = 'none'; showHideButton.value = "Show Sidebar"; } }); });
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址