Customizable HTTP header IP address injection

Latest Version

Version
1.0.1
Update
May 22, 2014
Size
8.21KiB
Developer
Category
Users
143
Rating
4.2 ★
Manifest Version
2
Web Store Status
Languages Support
English (United States)
See more
Permissions
WebRequest
WebRequestBlocking

See more

geoiphdr Extension

Enables injection of X-Forwarded-For and X-Client-IP HTTP headers with known IP addresses for specific geographical locations. My use case is testing of geolocation rules within an A/B testing system but there are probably some other interesting applications.

Currently only supports these two headers, the 50 US states, District of Columbia and the various Canadian provinces. Enjoy!

https://github.com/KyleCartmell/geoiphdr
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 2, "name": "geoiphdr", "description": "customizable HTTP header IP address injection", "version": "1.0.1", "permissions": [ "webRequest", "webRequestBlocking", "" ], "browser_action": { "default_icon": "icon.png", "default_popup": "popup.html" }, "background" : { "scripts": [ "background.js" ] }}
Read more