Link not display retweet For twitter

リツイートを非表示にするリンクを生成します。リンクをクリックすると、タイムライン上のリツイートを非表示にできます。

当前为 2016-11-13 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name Link not display retweet For twitter
  3. // @namespace namespace
  4. // @version 0.1
  5. // @description リツイートを非表示にするリンクを生成します。リンクをクリックすると、タイムライン上のリツイートを非表示にできます。
  6. // @match https://twitter.com/*
  7. // @require http://code.jquery.com/jquery-2.1.1.min.js
  8. // @copyright 2014+, qa2
  9. // ==/UserScript==
  10.  
  11. $(function() {
  12. const notRT = $("<button>")
  13. .text("NotRT")
  14. .css("color", "Red")
  15. .on("click", () => {
  16. $(".tweet").has(".js-retweet-text").css("display", "none")
  17. })
  18. // add element
  19. $("#global-actions").before(notRT)
  20. });
  21.  

QingJ © 2025

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