惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

S
Secure Thoughts
S
Securelist
T
The Exploit Database - CXSecurity.com
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Schneier on Security
Schneier on Security
P
Proofpoint News Feed
Latest news
Latest news
C
CXSECURITY Database RSS Feed - CXSecurity.com
Google DeepMind News
Google DeepMind News
Microsoft Security Blog
Microsoft Security Blog
美团技术团队
T
Threat Research - Cisco Blogs
Know Your Adversary
Know Your Adversary
AWS News Blog
AWS News Blog
V2EX - 技术
V2EX - 技术
云风的 BLOG
云风的 BLOG
博客园 - 聂微东
腾讯CDC
月光博客
月光博客
G
Google Developers Blog
F
Fortinet All Blogs
C
Cybersecurity and Infrastructure Security Agency CISA
Hacker News - Newest:
Hacker News - Newest: "LLM"
阮一峰的网络日志
阮一峰的网络日志
Last Week in AI
Last Week in AI
Apple Machine Learning Research
Apple Machine Learning Research
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
爱范儿
爱范儿
WordPress大学
WordPress大学
Spread Privacy
Spread Privacy
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
T
Threatpost
N
News and Events Feed by Topic
Y
Y Combinator Blog
J
Java Code Geeks
N
News and Events Feed by Topic
T
Troy Hunt's Blog
Project Zero
Project Zero
博客园 - 【当耐特】
Microsoft Azure Blog
Microsoft Azure Blog
C
CERT Recently Published Vulnerability Notes
小众软件
小众软件
有赞技术团队
有赞技术团队
罗磊的独立博客
Martin Fowler
Martin Fowler
L
LINUX DO - 最新话题
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
www.infosecurity-magazine.com
www.infosecurity-magazine.com
P
Proofpoint News Feed

gorpeln的个人博客 - gorpeln

免费领取Synology C2的30G对象存储空间 | gorpeln 用HuggingFace搭建100G超大图床 | gorpeln 毫无破绽的自我批评 | gorpeln's Blog 时光本的故事 - 始于热爱,归于珍藏 | gorpeln's Blog 给博客图片添加水印 | gorpeln's Blog 博客CDN流量异常 | gorpeln's Blog 一路生花 | gorpeln's Blog 10 周年:时光为证,与你共赴新程 | gorpeln's Blog 时光本 - 数据导出 | gorpeln's Blog 时光本 - 下线公告 | gorpeln's Blog 整蛊代码:你屏幕上有根毛 | gorpeln's Blog 手机真的在监听你的谈话? | gorpeln's Blog 使用Serv00部署在线工具箱 | gorpeln's Blog 自定义博客文章卡片 | gorpeln's Blog 个人博客可以尝试的 100 件事 | gorpeln's Blog MathJax的基本使用 | gorpeln's Blog Mac应用发布错误:ITMS-91109 | gorpeln's Blog 春节灯笼 | gorpeln's Blog 彩带、樱花背景 | gorpeln's Blog 节日倒计时与时间进度条 | gorpeln's Blog
博客阅读进度条 | gorpeln's Blog
gorpeln · 2025-06-06 · via gorpeln的个人博客 - gorpeln

将下方代码放到头部HTML代码内

<div id="percentageCounter"></div>

css代码:

<!-- 阅读进度条开始 -->
<style type="text/css">
    #percentageCounter{
        position:fixed; 
        left:0; top:0; 
        height:3px; 
        z-index:99999; 
        /*绿红色*/
        /*background-image: linear-gradient(to right, #339933,#FF6666);*/
        /*白蓝色*/
        background-image: linear-gradient(to right, #E8EAF6,#C5CAE9,#9FA8DA,#7986CB,#5C6BC0,#3F51B5,#3949AB,#303F9F,#283593,#1A237E);
        border-radius:5px;
    }
</style>

js代码:

<script type="text/javascript">    
    $(window).scroll(function() {
        var a = $(window).scrollTop(),
        c = $(document).height(),
        b = $(window).height();
        scrollPercent = a / (c - b) * 100;
        scrollPercent = scrollPercent.toFixed(1);
        $("#percentageCounter").css({
            width: scrollPercent + "%"
        });
    }).trigger("scroll");
</script>
<!-- 阅读进度条结束 -->

最后编辑于:2025-09-10

如有任何知识产权、版权问题或理论错误,还请指正。转载请附上原文出处链接。