Copy Feish

这是一个飞书复制描述

  1. // ==UserScript==
  2. // @name Copy Feish
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.1
  5. // @description 这是一个飞书复制描述
  6. // @author Jexxx
  7. // @match *
  8. // @icon https://www.google.com/s2/favicons?sz=64&domain=google.com
  9. // @grant none
  10. // @license MIT
  11. // ==/UserScript==
  12.  
  13. (function() {
  14. 'use strict';
  15.  
  16. // Your code here...
  17. // First, scroll to bottom
  18. document.querySelector(".global-like-pc__wrapper").scrollIntoView();
  19. const str = [...document.querySelectorAll("[data-string='true']")].map(item => item.innerHTML).join("")
  20. navigator.clipboard.writeText(str);
  21. })();