本文へスキップ
Skillpedia
WebサイトとUI(フロントエンド)75k · #2755

blocked-links

できること

このスキルは、リンクやスクリプトが、一般的な広告ブロッカーが遮断するドメインを指していないかを確認します。アクセス解析やトラッキングに頼り、すべての人にサイトが動いてほしい運営者向けです。

使う場面

  • ✓広告ブロッカーが止めるおそれのあるトラッキングのリダイレクトを、リンクが使っているとき。
  • ✓アクセス解析のデータが想定より少なく見えるとき。
  • ✓広告ブロッカーを使う訪問者にとって、ナビゲーションのリンクが動かないとき。

スキルのリンク

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/blocked-links/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/blocked-links/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“広告ブロッカーに遮断される可能性のあるトラッキングのスクリプトとリンクがないか私のサイトを確認し、修正案を教えてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは、既知のトラッキングドメイン上のスクリプト、画像、フレーム、リンクのアドレスを一覧にし、重要なリソースを自前でホストするかプロキシすること、またはトラッキング用のタグ付きの直接のリンクを使うことを提案します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Blocked Tracking Links

When a navigation link's URL matches a tracking domain pattern, the adblocker may block the request entirely — the user clicks the link and nothing happens, breaking core site functionality.

Quick Reference

  • Adblockers block URLs matching domain-level filter lists like EasyList and EasyPrivacy
  • Affected resources include external scripts, images, fonts, and API endpoints hosted on blocked domains
  • Analytics and tag management scripts (Google Analytics, GTM, Hotjar, Heap) are commonly blocked
  • Self-hosting or proxying external scripts through your own domain bypasses most domain-level blocks
  • 20–40% of desktop users have an adblocker installed — blocked analytics skews your data significantly

Check

Identify external script sources, image src URLs, iframe src URLs, and anchor href values that point to known tracking domains (googletagmanager.com, hotjar.com, facebook.net, doubleclick.net, etc.). Test whether these resources load successfully with uBlock Origin enabled.

Fix

Self-host critical external scripts on your own domain. Use a reverse proxy or server-side route to forward requests to third-party analytics APIs. For navigation links, avoid using tracking redirect URLs — use direct destination URLs with UTM parameters appended instead.

Explain

Explain how domain-level adblocker filter lists work, which domains are commonly blocked, how blocked resources affect site functionality and analytics accuracy, and the self-hosting approach to bypass domain blocks.

Code Review

Review server config, headers, forms, and integration points related to Blocked Tracking Links. Flag exact responses, cookies, or browser behaviors that violate the rule, and verify them against the effective production-like response.


For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/rules/security/blocked-links

よくある質問

広告ブロッカーは、どのくらい普及していますか?

デスクトップの利用者の約20から40パーセントが、一つインストールしていると、このスキルは説明しています。

どんな修正方法を提案していますか?

重要なスクリプトの自前ホスティング、リクエストを転送するサーバーのルート、UTMパラメーター付きの直接のリンクを挙げています。

このスキルは広告ブロッカーでテストしますか?

はい。uBlock Originを有効にした状態でリソースが読み込まれるかを確認することを提案しています。

詳細

作者による元の説明

Use when reviewing HTML source and JavaScript for links or resource URLs pointing to domains listed in common adblocker filter lists.

repo: thedaviddias/Front-End-Checklist

人気

GitHubのスター
75k
ランキング
#2755
ライセンス
MIT
更新日
2026/10/31

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル