[教程] 为你的网站增加石蒜模拟器 复制粘贴代码就行 快来试试吧
来自Github上的石蒜模拟器网页小组件 🎉 直接引用现成脚本为你的网站或者纯HTML网页添加石蒜模拟器。
具体效果可以刷新5L科技看看网页右侧,有前端开发能力的用户建议直接看Github可以根据需要进行自定义。
5L科技这里引入的是现成模块只需要放到网页中即可,无论是WordPress还是其他博客系统都可以轻松添加。
注:由于下面是录制的动态图所以牺牲了帧率导致比较卡顿,建议用户点击5L科技右侧石蒜模拟器进行体验。
为避免干扰后续5L科技会删除这个小组件,需要体验可以进入原作者网站: https://sakana.dsrkafuu.net/
#复制下面这段代码粘贴到网页中即可
#如果是WordPress等博客系统可以在主题中找到页脚设置等,切换到HTML模式粘贴即可
<div id="left_layer" style="position:fixed; top:350px; right:30px;">
<div id="sakana-widget"></div>
<script>
function initSakanaWidget() {
new SakanaWidget().mount('#sakana-widget');
}
</script>
<script
async
onload="initSakanaWidget()"
src="https://cdn.jsdelivr.net/npm/[email protected]/lib/sakana.min.js"
></script>
</div>
![[教程] 为你的网站增加石蒜模拟器 复制粘贴代码就行 快来试试吧](https://5lnews.com/landian/2022/09/95385.gif)
![[解决方案] 更新到Debian 13后网络转发等功能异常?并非错误而是管理机制变更](https://5lnews.com/landian/2025/07/109843T.png)
![[教程] PayPal似乎悄悄改了汇率兑换设置 如果不改将被扣除转换手续费](https://5lnews.com/landian/2024/11/106820-T.png)

![[技巧] 利用广告拦截扩展自定义规则阻止京东自动跳转登录页面](https://5lnews.com/landian/2023/11/100962-T.png)
![[教程] 为Windows 10 LTSC 2021版添加微软商店及终端应用支持](https://5lnews.com/landian/2021/11/91601-T.png)
![[技巧] 两种方法彻底解决Microsoft Edge浏览器中国区出现的广告问题](https://5lnews.com/landian/2021/08/90312-H.png)
![[技巧] 在Windows 11上设置无密码、免二次验证快速登录谷歌(Passkey)](https://5lnews.com/landian/2023/10/100614-T.png)

![[教程] 如何使用Rufus在线下载Windows 10/11镜像刻录U盘](https://5lnews.com/landian/2023/01/96634-T.png)
![[技巧] Windows 11升级后没有磁盘清理怎么办?其实隐藏在工具箱里](https://5lnews.com/landian/2022/05/93985-T.png)