Skip to content

khawkinson/modheader

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ModHeader fork which adds a default filter for localhost only if the import doesn't have one

If you need mod header to always have localhost as a filter, this is the fork for you!

On every pasted import file, this will automatically be added to filters array if there aren't any:

[{ comment: 'localhost filter', enabled: true, resourceType: [], type: 'urls', urlRegex: 'localhost*' }]

Motivation: We have a tool at my employer that exports headers in ModHeader format, but for most we only need the headers to be added for localhost otherwise it affects our SSO on other sites

ModHeader browser extension

ModHeader is a browser extension that allow you to modify HTTP request and response headers.

Stats

ModHeader stats

Donation

If you find ModHeader useful, please consider making a donation. If you use it for your company project, please ask your company to make a monthly donation!

paypal

Features

  • Add/modify/remove request headers and response headers
  • Enable header modification based on URL/resource type
  • Add comments to header
  • Multiple different profiles
  • Sorting headers by name, value, or comments
  • Append value to existing request or response header
  • Export and import header
  • Clone profile
  • Cloud backup
  • Tab locking!

Screenshots

Forking and contribution

Feel free to send pull requests to add new features to ModHeader. It will benefit everyone! That said, I reserve the rights to reject pull requests that does not seem useful, or if they add too much complexity for very little benefits.

You may fork and redistribute ModHeader for a small group of friends / colleagues, but please do not impersonate ModHeader, or try to sell it for a profit. If you use ModHeader in any commercial product, please let me know.

Installation

Run npm install first, then run npm run start to start development. The built packages will be in the build/ directory.

Selenium usage

If you need to use ModHeader for Selenium tests, please visit: modheader_selenium

About

ModHeader browser extension

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Svelte 66.2%
  • JavaScript 33.5%
  • Other 0.3%