Skip to content

Commit

Permalink
randomize hall of fame order
Browse files Browse the repository at this point in the history
  • Loading branch information
tobyxdd committed May 3, 2024
1 parent aa1eb1b commit d2515c8
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 6 deletions.
13 changes: 10 additions & 3 deletions docs/docs/Donation.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,20 @@ Hysteria is an open source project born out of a passion to bring value to the c

## Hall of Fame

The rankings are random and change with each refresh.

<div id="hof-start"></div>

- [Aperture Internet Laboratory](https://apernet.io/) - dedicated to developing free software, conducting research, and building infrastructure to facilitate and enhance the free exchange of information and communication
- [狗狗加速](https://狗狗加速.com) - high-performance overseas VPN, free trial, unlock streaming services/ChatGPT, the world's first to support Hysteria, currently fully supporting Hysteria 2
- **Asahi** (Individual Donor)
- Asahi (Individual Donor)
- [modimobeikete](https://space.bilibili.com/375736195) (Individual Donor)
- [洋葱游戏盾](https://youxidun.vip/) - Security products based on modern anti-censorship protocols, inspired by Hysteria 2's anti-censorship designs and optimizations for unstable networks
- [PlayerCatboy](https://github.com/Catboy96) (Individual Donor)
- [Nachoneko](https://nacho.lol/) - High-speed proxy service, unlock streaming/ChatGPT, full support for the Hysteria2 protocol and various clients
- **Easton Tech** (Individual Donor) - Be the brightest spark in a dark night
- Easton Tech (Individual Donor) - Be the brightest spark in a dark night
- [Nekobay](http://38.180.4.6:8080/) - Thanks to Hysteria for enabling the freedom of communication for this site
- **Will you be next?**

**👀 Will you be next?**

<script src="/javascripts/hof_rand.js"></script>
13 changes: 10 additions & 3 deletions docs/docs/Donation.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,20 @@ Hysteria 是一个旨在打破审查高墙的纯公益开源项目。如果你

## 荣誉榜

排名不分先后,顺序每次刷新随机变化。

<div id="hof-start"></div>

- [Aperture Internet Laboratory](https://apernet.io/) - 致力于开发自由软件、研究、构建促进和加强信息自由交换的基础设施
- [狗狗加速](https://狗狗加速.com) - 高性能海外 VPN 机场,免费试用,解锁流媒体/ChatGPT,全球首家支持 Hysteria 协议,目前全面支持 Hysteria 2
- **Asahi** (个人捐赠)
- Asahi (个人捐赠)
- [莫蒂默贝克特](https://space.bilibili.com/375736195) (个人捐赠)
- [洋葱游戏盾](https://youxidun.vip/) - 基于多种现代化防审查协议的安全产品,参考了 Hysteria 2 在防审查和不稳定网络中传输优化的设计
- [PlayerCatboy](https://github.com/Catboy96) (个人捐赠)
- [Nachoneko](https://nacho.lol/) - 甘城猫高速机场,解锁流媒体/ChatGPT,全面支持 Hysteria2 协议和多种客户端
- **Easton Tech** (个人捐赠) - 做黑夜中最明亮的星星之火
- Easton Tech (个人捐赠) - 做黑夜中最明亮的星星之火
- [Nekobay](http://38.180.4.6:8080/) - 感谢 Hysteria 为本站提供通信自由保障
- **虚位以待**

**👀 虚位以待**

<script src="/javascripts/hof_rand.js"></script>
12 changes: 12 additions & 0 deletions docs/javascripts/hof_rand.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
document.addEventListener("DOMContentLoaded", function () {
const heading = document.getElementById('hof-start');
if (heading && heading.nextElementSibling.tagName === 'UL') {
const list = heading.nextElementSibling;
let items = Array.from(list.querySelectorAll('li'));
for (let i = items.length - 1; i > 0; i--) {
const j = Math.floor(Math.random() * (i + 1));
[items[i], items[j]] = [items[j], items[i]];
}
items.forEach(item => list.appendChild(item));
}
});

0 comments on commit d2515c8

Please sign in to comment.