Greasy Fork镜像 支持简体中文。

Hacker News Unicode upvotes

Replace upvote arrows on Hacker News with Unicode characters

  1. // ==UserScript==
  2. // @name Hacker News Unicode upvotes
  3. // @namespace news.ycombinator.com
  4. // @description Replace upvote arrows on Hacker News with Unicode characters
  5. // @include http://news.ycombinator.com/*
  6. // @include https://news.ycombinator.com/*
  7. // @version 1
  8. // @grant none
  9. // @license UNLICENSE
  10. // ==/UserScript==
  11.  
  12. var arrows = document.getElementsByClassName('votearrow');
  13. var i = arrows.length;
  14. while (i--) {
  15. var arrow = arrows[i];
  16. arrow.className = 'title';
  17. arrow.innerHTML = '▲';
  18. }

QingJ © 2025

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