BlockRequests

grain

(1)

131 个用户
高效工作
grain

(1)

131 个用户
高效工作

无法安装此扩展程序,因为与您的浏览器版本不兼容 与你的浏览器不兼容

描述

# Block Request Patterns

A Chrome extension that blocks unwanted web requests and provides smart CDN redirects for better performance and privacy.

## Features

- Block unwanted requests using URL patterns
- Smart CDN redirects for common services:
  - Cloudflare CDN → Staticfile CDN
  - Google reCAPTCHA → Recaptcha.net
  - jQuery → Microsoft AspNet CDN
- Simple configuration through extension popup
- Default patterns for blocking common analytics trackers
- Uses Chrome's modern declarativeNetRequest API for efficient request blocking

## Installation

1. Download the extension
2. Go to Chrome's extension page (chrome://extensions/)
3. Enable "Developer mode" in the top right
4. Click "Load unpacked" and select the extension directory

## Usage

1. Click the extension icon in your browser toolbar
2. Edit the patterns in JSON array format
3. Click "Save" to apply changes

### Pattern Examples

```json
[
    "*://google-analytics.com/*",
    "*://*.google-analytics.com/*",
    "*://*.g.doubleclick.net/*"
]
```

### Pattern Syntax

- Use `*` as a wildcard to match any number of characters
- Use `?` to match a single character
- Patterns must follow the URL filter format: `[scheme:]//[host]/[path]`
- Leading wildcard before scheme must include `://` (e.g. `*://example.com/*`)

## Built-in Redirects

The extension automatically redirects certain services to privacy-friendly alternatives:

1. **Cloudflare CDN → Staticfile CDN**
   - From: `cdnjs.cloudflare.com/ajax/libs/*`
   - To: `cdn.staticfile.net/*`

2. **Google reCAPTCHA → Recaptcha.net**
   - From: `www.google.com/recaptcha/*`
   - To: `www.recaptcha.net/*`

3. **jQuery → Microsoft AspNet CDN**
   - Automatically redirects jQuery requests to Microsoft's CDN

## Privacy

This extension helps protect your privacy by:
- Blocking common analytics and tracking scripts
- Redirecting to privacy-friendly CDN alternatives
- Operating entirely locally (no data sent to external servers)

无用户评价

尚无人评价此扩展。抢先添加评价。

详细信息
版本2.0.1已更新 2025年3月14日报告滥用行为
详细信息
版本2.0.1已更新 2025年3月14日报告滥用行为