<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>小工具 on 我的小站</title><link>https://icurious-d.github.io/tools/</link><description>Recent content in 小工具 on 我的小站</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Mon, 08 Jun 2026 14:04:38 +0800</lastBuildDate><atom:link href="https://icurious-d.github.io/tools/index.xml" rel="self" type="application/rss+xml"/><item><title>每日随机一句话</title><link>https://icurious-d.github.io/tools/daily_quote/</link><pubDate>Mon, 08 Jun 2026 14:04:38 +0800</pubDate><guid>https://icurious-d.github.io/tools/daily_quote/</guid><description>&lt;p>点击按钮，获取一句随机名言。&lt;/p>
&lt;div style="text-align:center; margin: 2rem 0;">
&lt;p id="quote" style="font-size: 1.2rem; font-style: italic; min-height: 3rem;">✨ 等待你的点击 ✨&lt;/p>
&lt;button id="btn" onclick="newQuote()" style="padding: 0.5rem 1.5rem; cursor: pointer;">换一句&lt;/button>
&lt;/div>
&lt;script>
const quotes = [
"别想，去行动。",
"种一棵树最好的时间是十年前，其次是现在。",
"完美是优秀的敌人。",
"简单比复杂更难，你必须努力让你的思维变得清晰。",
"你的时间有限，不要浪费在重复别人的生活上。"
];
function newQuote() {
const random = Math.floor(Math.random() * quotes.length);
document.getElementById('quote').innerText = quotes[random];
}
// 页面加载时随机显示一句
window.onload = newQuote;
&lt;/script>
&lt;hr>
&lt;h3 id="关于这个小工具">关于这个小工具
&lt;/h3>&lt;p>用原生 JavaScript 写的一个简单随机语句生成器，未来可以升级成调用 API 的版本。&lt;/p></description></item></channel></rss>