getchar userid

try to take over the world!

  1. // ==UserScript==
  2. // @name getchar userid
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.1
  5. // @description try to take over the world!
  6. // @author rei
  7. // @match https://www.douban.com/contacts/rlist*
  8. // @require http://cdn.bootcss.com/jquery/1.8.3/jquery.min.js
  9. // @grant GM_setClipboard
  10. // @run-at document-start// ==/UserScript==
  11.  
  12. var userlist = "";
  13.  
  14. window.onload = function(){
  15.  
  16.  
  17.  
  18. $("ul.user-list > li").each(function(){
  19.  
  20.  
  21. userlist += $(this).attr("id")+",";
  22.  
  23. });
  24.  
  25. GM_setClipboard(userlist);
  26. alert("复制好了^ ^");
  27. //alert(userlist);
  28.  
  29.  
  30. };

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址