blocked-links
できること
このスキルは、リンクやスクリプトが、一般的な広告ブロッカーが遮断するドメインを指していないかを確認します。アクセス解析やトラッキングに頼り、すべての人にサイトが動いてほしい運営者向けです。
使う場面
- ✓広告ブロッカーが止めるおそれのあるトラッキングのリダイレクトを、リンクが使っているとき。
- ✓アクセス解析のデータが想定より少なく見えるとき。
- ✓広告ブロッカーを使う訪問者にとって、ナビゲーションのリンクが動かないとき。
スキルのリンク
https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/blocked-links/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
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.
人気
- GitHubのスター
- 75k
- ランキング
- #2755
- ライセンス
- MIT
- 更新日
- 2026/10/31
コメント
- …
このリポジトリの他のスキル
frontendchecklist
75kコマンドラインツールを使って、フロントエンドのコードとライブページを、アクセシビリティ、速度、SEO、セキュリティに関する380以上のルールと照らし合わせて確認します。
frontend-checklist-global
75kフロントエンドのプロジェクトを、386のFront-End Checklistのルールすべてと照らし合わせて監査し、見つかった問題ごとに具体的な修正方法を示します。
404-page
75k見つからないページの画面に役立つリンクがあり、本物の404ステータスを返すかを確認し、迷った訪問者が目的のページを見つけられるようにします。
about-page
75kサイトの運営者が誰かを説明する、分かりやすいAboutページがあるかを確認し、訪問者と検索エンジンからの信頼を高めます。
似ているスキル
angular-developer
280kエージェントがAngularのコードを作成し、プロジェクト構成についてアドバイスできるようにします。新しいプロジェクトの開始、コード部品の作成、パフォーマンスやアクセシビリティの改善に役立ちます。
frontend-a11y
280kエージェントが Web インターフェースを誰にとっても使いやすくするよう支援します。スクリーンリーダーやキーボード操作に対応し、サイトやアプリが適切に動作するようにします。
frontend-patterns
280kエージェントがフロントエンド開発の最新パターンを適用できるようにします。React と Next.js において、パフォーマンスの最適化、状態管理、ベストプラクティスの遵守を行います。