A firefox addon enabling CORS everywhere by altering http responses.
See the codeAuthor: spenibus
Repositories
This is a firefox addon that allows the user to enable CORS everywhere by altering http responses.
The addon's functionality can be toggled with the included button and is disabled by default.
The button can be found by right-clicking a toolbar and choosing customize.
It is labelled CorsE and has 3 states:
red, addon is disabled, CORS rules are upheld.
green, addon is enabled, CORS rules are bypassed.
green/red, addon is enabled and using the activation whitelist,
CORS rules are bypassed when the origin url matches a filter in the whitelist.A basic CORS test is available in the repository at ./_test/cors-everywhere-test.html.
Intended for developers. Use at your own risk.
Available in about:addons.
Enabled at startup
Enables this addon on startup.Force value of "access-control-allow-origin"
Self explanatory.Activation whitelist
When the addon is enabled, this will check the origin url against the whitelist
to decide if headers will be modified. Uses regular expressions.An error occurred: SEC_ERROR_UNKNOWN_ISSUER in the Security tab of the Network tab in Dev Tools.
This can happen when developing both a web server on localhost and a "back-end" server also on localhost, but at a different port.
A certificate exception is required for both localhost ports.
Example: if your web server is https://localhost:3000/ then you've already added a certificate exception for the web server or you couldn't be debugging it or making CORS requests from it.
But you'll also need to add a separate cert exception for your localhost "back-end" server's port, e.g. https://localhost:4000/.
An easy way to do this is:
JavaScript
72.6%
HTML
26.0%
CSS
1.4%
A firefox addon enabling CORS everywhere by altering http responses.
See the codeAuthor: spenibus
Repositories
This is a firefox addon that allows the user to enable CORS everywhere by altering http responses.
The addon's functionality can be toggled with the included button and is disabled by default.
The button can be found by right-clicking a toolbar and choosing customize.
It is labelled CorsE and has 3 states:
red, addon is disabled, CORS rules are upheld.
green, addon is enabled, CORS rules are bypassed.
green/red, addon is enabled and using the activation whitelist,
CORS rules are bypassed when the origin url matches a filter in the whitelist.A basic CORS test is available in the repository at ./_test/cors-everywhere-test.html.
Intended for developers. Use at your own risk.
Available in about:addons.
Enabled at startup
Enables this addon on startup.Force value of "access-control-allow-origin"
Self explanatory.Activation whitelist
When the addon is enabled, this will check the origin url against the whitelist
to decide if headers will be modified. Uses regular expressions.An error occurred: SEC_ERROR_UNKNOWN_ISSUER in the Security tab of the Network tab in Dev Tools.
This can happen when developing both a web server on localhost and a "back-end" server also on localhost, but at a different port.
A certificate exception is required for both localhost ports.
Example: if your web server is https://localhost:3000/ then you've already added a certificate exception for the web server or you couldn't be debugging it or making CORS requests from it.
But you'll also need to add a separate cert exception for your localhost "back-end" server's port, e.g. https://localhost:4000/.
An easy way to do this is:
JavaScript
72.6%
HTML
26.0%
CSS
1.4%