Item logo image for Header Modifier

Header Modifier

Item media 2 (screenshot) for Header Modifier
Item media 1 (screenshot) for Header Modifier
Item media 2 (screenshot) for Header Modifier
Item media 1 (screenshot) for Header Modifier
Item media 1 (screenshot) for Header Modifier
Item media 2 (screenshot) for Header Modifier

Overview

Chrome extension that allows you to modify HTTP headers for specific URLs and apply rules based on the current page you're visiting.

# Header Modifier ## Description **Header Modifier** is a powerful Chrome extension that allows you to modify HTTP headers for specific URLs and apply rules based on the current page you're visiting. Perfect for developers, testers, and power users who need to customize request headers for API testing, authentication bypass, user-agent spoofing, or debugging web applications. ### Key Features: - **Smart Page-Based Rules**: Apply header modifications only when visiting specific websites - **Global or Contextual**: Create rules that work globally or only on specific pages - **Header Modification**: Add, modify, or override any HTTP header - **URL Redirection**: Redirect specific requests to different URLs - **Real-time Updates**: Rules activate automatically when switching between tabs or pages - **Visual Feedback**: See which rules are active for the current page - **Easy Management**: User-friendly interface to add, edit, and delete rules - **Export**: Backup and share your rule configurations ## How to Use ### 1. Creating Rules #### Basic Rule Creation: 1. Click the extension icon in your toolbar 2. Go to the "Add Rule" tab 3. Fill in the required fields: - **Page Pattern** (optional): When to apply this rule (e.g., `*://example.com/*`) - **Request URL Pattern**: Which requests to modify (e.g., `*://api.example.com/*`) - **Action**: Choose "Modify Headers" or "Redirect" #### For Header Modification: 1. Select "Modify Headers" action 2. Enter headers in JSON format: ```json { "Authorization": "Bearer your-token-here", "User-Agent": "Custom Bot 1.0", "X-API-Key": "your-api-key" } ``` #### For URL Redirection: 1. Select "Redirect" action 2. Enter the destination URL ### 2. URL Pattern Examples #### Page Patterns (when to apply): - `*://example.com/*` - Only on example.com - `*://localhost:*/*` - Only on localhost (any port) - `*://*.google.com/*` - On all Google subdomains - Leave empty for global rules #### Request URL Patterns (what to modify): - `*://api.example.com/*` - All API requests - `*://*/api/v1/*` - API v1 endpoints on any domain - `*://*/*` - All requests (global) - `https://cdn.example.com/*` - Only HTTPS CDN requests ### 3. Common Use Cases #### API Authentication: ``` Page Pattern: *://myapp.com/* Request Pattern: *://api.myapp.com/* Headers: {"Authorization": "Bearer abc123"} ``` #### Development Environment: ``` Page Pattern: *://localhost:3000/* Request Pattern: *://api.production.com/* Action: Redirect to http://localhost:8080/api/ ``` #### User-Agent Override: ``` Page Pattern: (empty - global) Request Pattern: *://*/* Headers: {"User-Agent": "Custom Browser 2.0"} ``` #### CORS Headers for Testing: ``` Page Pattern: *://localhost:*/* Request Pattern: *://api.external.com/* Headers: { "Access-Control-Allow-Origin": "*", "Access-Control-Allow-Headers": "Content-Type" } ``` ### 4. Managing Rules #### View Active Rules: - The extension shows how many rules are active for the current page - Green indicator = rules are active - Gray indicator = no rules for this page #### Edit/Delete Rules: 1. Go to "Manage Rules" tab 2. See all configured rules with their patterns 3. Click "Delete" to remove individual rules 4. Use "Clear All Rules" to start fresh #### Backup: 1. Click "Export Rules" to download your configuration 2. Save the JSON file as backup ### 5. Tips & Best Practices 1. **Test Gradually**: Start with simple rules and test them before adding complex ones 2. **Use Specific Patterns**: Avoid overly broad patterns that might affect unintended requests 3. **Check Console**: Open Developer Tools to see if your headers are applied correctly 4. **Page vs Request Patterns**: - Page Pattern = when the rule should be active (website you're on) - Request Pattern = which requests to modify (API calls, resources) 5. **Global Rules**: Leave Page Pattern empty for rules that work everywhere 6. **Debugging**: Check the extension console logs for troubleshooting ### 6. Security Note This extension can modify HTTP headers which may affect website security. Use responsibly: - Don't add malicious headers - Be careful with authentication tokens - Test in development environments first - Review rules periodically ### 7. Troubleshooting #### Rules Not Working? 1. Check if the URL patterns match correctly 2. Verify JSON syntax for headers 3. Look at browser console for errors 4. Try reloading the page after adding rules #### Extension Not Loading? 1. Check all files are in the extension folder 2. Reload the extension in chrome://extensions/ 3. Check for JavaScript errors in console #### Performance Issues? 1. Reduce number of broad pattern rules 2. Use specific patterns instead of wildcards 3. Remove unused rules regularly

Details

  • Version
    1.1
  • Updated
    September 26, 2025
  • Offered by
    Agus Wira
  • Size
    36.61KiB
  • Languages
    English (United States)
  • Developer
    Agus Wira
    Jl. Tukad Banyu Sari Dauh Puri Klod, Kec. Denpasar Bar. Kota Denpasar, Bali 80225 ID
    Email
    km.aguswira@gmail.com
  • Non-trader
    This developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.

Privacy

The developer has disclosed that it will not collect or use your data.

This developer declares that your data is

  • Not being sold to third parties, outside of the approved use cases
  • Not being used or transferred for purposes that are unrelated to the item's core functionality
  • Not being used or transferred to determine creditworthiness or for lending purposes

Related

Cookie Editor

3.2

Use Cookie Editor to edit a cookie, to delete and to clear cookies for the current url

Page Manipulator

3.6

Inject HTML, CSS or JavaScript into any web-page. The changes you make are applied every time you visit the specified website(s).

Copy All URLs

5.0

The new Copy All URLs Chrome extension is a fast URL copier that lets you save URLs from multiple tabs with a single click.

Proxy & User-Agent Switcher for Chrome

3.4

The Proxy & User-Agent Switcher for Chrome is an extension that allows you to modify the browser proxy or user-agent while browsing.

Inssman: Open-Source: Modify HTTP Request

4.1

Intercept HTTP(S) Request, Modify Headers, Log headers, Change Response, Block Request, Redirect, Custom HTML/CSS/JS/JSON

ModHeader - Modify HTTP headers

3.0

Modify HTTP request headers, response headers, and redirect URLs

Copy All Urls

2.8

Copy tabs URL to clipboard (formats : text, HTML, JSON or custom). Paste to open multiple URL at one go.

HTTP Header Modifier

5.0

Modify HTTP request headers for specific URLs

New Tab Override - Simple and Light

5.0

A minimal and secure Chrome extension to set a custom URL for the new tab page.

Newt - A Better New Tab

4.1

A replacement for Google Chrome's 'new tab' page that lets you easily access your favorite bookmarks, apps, and more.

Chrome Regex Search

3.7

Use Chrome Regex Search extension with regular expressions for advanced find in Chrome

Requestly: Supercharge your Development & QA

4.4

Features: Intercept & Modify HTTPs Requests, API Mocking, GraphQL Mocking, Rest API Client, API Testing, Modify HTTP Headers, etc

Cookie Editor

3.2

Use Cookie Editor to edit a cookie, to delete and to clear cookies for the current url

Page Manipulator

3.6

Inject HTML, CSS or JavaScript into any web-page. The changes you make are applied every time you visit the specified website(s).

Copy All URLs

5.0

The new Copy All URLs Chrome extension is a fast URL copier that lets you save URLs from multiple tabs with a single click.

Proxy & User-Agent Switcher for Chrome

3.4

The Proxy & User-Agent Switcher for Chrome is an extension that allows you to modify the browser proxy or user-agent while browsing.

Inssman: Open-Source: Modify HTTP Request

4.1

Intercept HTTP(S) Request, Modify Headers, Log headers, Change Response, Block Request, Redirect, Custom HTML/CSS/JS/JSON

ModHeader - Modify HTTP headers

3.0

Modify HTTP request headers, response headers, and redirect URLs

Copy All Urls

2.8

Copy tabs URL to clipboard (formats : text, HTML, JSON or custom). Paste to open multiple URL at one go.

HTTP Header Modifier

5.0

Modify HTTP request headers for specific URLs

Google apps