<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>JavaScript on hobbyworker취미생활자</title>
    <link>https://hobbyworker.me/zh-hans/categories/javascript/</link>
    <description>Recent content in JavaScript on hobbyworker취미생활자</description>
    <generator>Hugo</generator>
    <language>zh-hans</language>
    <copyright>2026 hobbyworker</copyright>
    <lastBuildDate>Fri, 24 Mar 2023 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://hobbyworker.me/zh-hans/categories/javascript/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>为您的 Hugo 博客使用 PaperMod 主题添加广告拦截检测</title>
      <link>https://hobbyworker.me/zh-hans/dev/2023-03-24-adding-adblocker-detection-to-your-hugo-blog-with-papermod-theme/</link>
      <pubDate>Fri, 24 Mar 2023 00:00:00 +0000</pubDate>
      <guid>https://hobbyworker.me/zh-hans/dev/2023-03-24-adding-adblocker-detection-to-your-hugo-blog-with-papermod-theme/</guid>
      <description>在本博客文章中，我们演示了如何使用 PaperMod 主题为 Hugo 博客添加广告拦截检测。我们提供了一个逐步指南，包括创建自定义 CSS 和 JavaScript 文件，添加部分 HTML 文件以显示警告消息，并扩展 head 和 footer 部分以包含新文件。结果，启用广告拦截器的用户将看到一个礼貌的警告消息，鼓励他们通过禁用广告拦截器或将网站添加到白名单来支持网站的内容。</description>
    </item>
  </channel>
</rss>
