Skip to content

jg23497/Header-Inject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Header Inject

Unit tests

Background

An open-source Chrome extension for injecting or overriding HTTP request headers. Simply.

After installation, access Header Inject's quick options panel by clicking the extension's icon or opening its options tab. The options view allows you to configure custom HTTP headers and to enable HTTP header injection, which is disabled by default when the extension is first installed.

Header Inject uses Chrome's synchronised storage mechanism, meaning its configuration is automatically synchronised to any Chrome browser you are logged in to.

Header Inject in action

Test

Header Inject relies on the Jasmine unit testing framework. Assuming Python 3 is installed, you can run the unit tests in your favourite browser:

python run-tests-in-browser.py

Or use the Karma test runner, assuming Node.js is installed:

cd tests
npm i
karma start

Karma is configured to produce a unit test coverage report. After a test run completes, the report will be available at tests/coverage.

Publish

On Windows:

"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --pack-extension=<path>\HeaderInject\src

About

Open-source Chrome extension for injecting and overriding HTTP request headers

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages