<?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-hant/categories/javascript/</link>
    <description>Recent content in JavaScript on hobbyworker취미생활자</description>
    <generator>Hugo</generator>
    <language>zh-hant</language>
    <copyright>2026 hobbyworker</copyright>
    <lastBuildDate>Fri, 24 Mar 2023 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://hobbyworker.me/zh-hant/categories/javascript/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>為使用PaperMod主題的Hugo部落格新增廣告攔截器偵測功能</title>
      <link>https://hobbyworker.me/zh-hant/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-hant/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>
