• December 22, 2024

Proxy Anywhere

Free Proxy Site - Access any website any time anywhere

Free Proxy Site – Access any website any time anywhere

Free Proxy Site – Access any website any time anywhere Unblock Video Faster • Free »Proxy Site Free VPN Buy Proxy About Us Unblock WebsitesOur free proxy can unblock any blocked websites (YouTube, Google, Facebook, Twitter, etc. ) at school or at work. It works on any device, including computer, mobile, or tablet, without installing anything. Fast ServersWe have 8 fast and reliable proxy servers in the US/UK. You can enjoy the constant connection and access to HD video streaming sites with them. For the best speed and security, please try our free proxy app. Surf AnonymouslyHide your IP address, location, and online activities. Protect your personal information (identity, passwords, credit cards, etc. ) from snooping by your internet service provider, government, school, company, or Video ProxyA lightning-fast proxy app designed for video streaming MYIPHIDE FREEFree ProxyA super-fast proxy to unblock websites, specially designed for video streaming It Free
Rob--W/cors-anywhere - GitHub

Rob–W/cors-anywhere – GitHub

CORS Anywhere is a NodeJS proxy which adds CORS headers to the proxied request.
The url to proxy is literally taken from the path, validated and proxied. The protocol
part of the proxied URI is optional, and defaults to “”. If port 443 is specified,
the protocol defaults to “”.
This package does not put any restrictions on the methods or headers, except for
cookies. Requesting user credentials is disallowed.
The app can be configured to require a header for proxying a request, for example to avoid
a direct visit from the browser.
Example
// Listen on a specific host via the HOST environment variable
var host = || ‘0. 0. 0’;
// Listen on a specific port via the PORT environment variable
var port = || 8080;
var cors_proxy = require(‘cors-anywhere’);
eateServer({
originWhitelist: [], // Allow all origins
requireHeader: [‘origin’, ‘x-requested-with’],
removeHeaders: [‘cookie’, ‘cookie2’]})(port, host, function() {
(‘Running CORS Anywhere on ‘ + host + ‘:’ + port);});
Request examples:
localhost:8080/ – with CORS headers
localhost:8080/ – Same as previous.
localhost:8080/ – Proxies localhost:8080/ – Shows usage text, as defined in lib/
localhost:8080/ – Replies 404 Not found
Live examples:
– This demo shows how to use the API.
Documentation
Client
To use the API, just prefix the URL with the API URL. Take a look at for an example.
A concise summary of the documentation is provided at lib/
Note: as of February 2021, access to the demo server requires an opt-in,
see: If you want to automatically enable cross-domain requests when needed, use the following snippet:
(function() {
var cors_api_host = ”;
var cors_api_url = ” + cors_api_host + ‘/’;
var slice = [];
var origin = otocol + ‘//’ +;
var open =;
= function() {
var args = (arguments);
var targetOrigin = /^? :\/\/([^\/]+)/(args[1]);
if (targetOrigin && targetOrigin[0]. toLowerCase()! == origin &&
targetOrigin[1]! == cors_api_host) {
args[1] = cors_api_url + args[1];}
return (this, args);};})();
If you’re using jQuery, you can also use the following code instead of the previous one:
jQuery. ajaxPrefilter(function(options) {
if (ossDomain &&) {
= ” +;}});
Server
The module exports createServer(options), which creates a server that handles
proxy requests. The following options are supported:
function getProxyForUrl – If set, specifies which intermediate proxy to use for a given URL.
If the return value is void, a direct request is sent. The default implementation is
proxy-from-env, which respects the standard proxy
environment variables (e. g. _proxy, no_proxy, etc. ).
array of strings originBlacklist – If set, requests whose origin is listed are blocked.
Example: [”, ”]
array of strings originWhitelist – If set, requests whose origin is not listed are blocked.
If this list is empty, all origins are allowed.
function handleInitialRequest – If set, it is called with the request, response and a parsed
URL of the requested destination (null if unavailable). If the function returns true, the request
will not be handled further. Then the function is responsible for handling the request.
This feature can be used to passively monitor requests, for example for logging (return false).
function checkRateLimit – If set, it is called with the origin (string) of the request. If this
function returns a non-empty string, the request is rejected and the string is send to the client.
boolean redirectSameOrigin – If true, requests to URLs from the same origin will not be proxied but redirected.
The primary purpose for this option is to save server resources by delegating the request to the client
(since same-origin requests should always succeed, even without proxying).
array of strings requireHeader – If set, the request must include this header or the API will refuse to proxy.
Recommended if you want to prevent users from using the proxy for normal browsing.
Example: [‘Origin’, ‘X-Requested-With’].
array of lowercase strings removeHeaders – Exclude certain headers from being included in the request.
Example: [“cookie”]
dictionary of lowercase strings setHeaders – Set headers for the request (overwrites existing ones).
Example: {“x-powered-by”: “CORS Anywhere”}
number corsMaxAge – If set, an Access-Control-Max-Age request header with this value (in seconds) will be added.
Example: 600 – Allow CORS preflight request to be cached by the browser for 10 minutes.
string helpFile – Set the help file (shown at the homepage).
Example: “”
For advanced users, the following options are also provided.
ProxyOptions – Under the hood, -proxy
is used to proxy requests. Use this option if you really need to pass options
to -proxy. The documentation for these options can be found here.
Options – If set, a will be created. The given options are passed to the
eateServer method.
For even more advanced usage (building upon CORS Anywhere),
see the sample code in test/
Demo server
A public demo of CORS Anywhere is available at. This server is
only provided so that you can easily and quickly try out CORS Anywhere. To ensure that the service
stays available to everyone, the number of requests per period is limited, except for requests from
some explicitly whitelisted origins.
see: If you expect lots of traffic, please host your own instance of CORS Anywhere, and make sure that
the CORS Anywhere server only whitelists your site to prevent others from using your instance of
CORS Anywhere as an open proxy.
For instance, to run a CORS Anywhere server that accepts any request from some sites on
port 8080, use:
export PORT=8080
export CORSANYWHERE_WHITELIST=node
This application can immediately be run on Heroku, see for instructions. Note that their Acceptable Use Policy forbids
the use of Heroku for operating an open proxy, so make sure that you either enforce a whitelist as
shown above, or severly rate-limit the number of requests.
For example, to blacklist and rate-limit everything to 50 requests per 3 minutes,
except for and (which may be unlimited), use:
export CORSANYWHERE_BLACKLIST=export CORSANYWHERE_RATELIMIT=’50 3 ‘
node
License
Copyright (C) 2013 – 2021 Rob Wu
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the “Software”), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
cors-anywhere - npm

cors-anywhere – npm

CORS Anywhere is a NodeJS proxy which adds CORS headers to the proxied request.
The url to proxy is literally taken from the path, validated and proxied. The protocol
part of the proxied URI is optional, and defaults to “”. If port 443 is specified,
the protocol defaults to “”.
This package does not put any restrictions on the methods or headers, except for
cookies. Requesting user credentials is disallowed.
The app can be configured to require a header for proxying a request, for example to avoid
a direct visit from the browser.
Example
// Listen on a specific host via the HOST environment variable
var host = || ‘0. 0. 0’;
// Listen on a specific port via the PORT environment variable
var port = || 8080;
var cors_proxy = require(‘cors-anywhere’);
eateServer({
originWhitelist: [], // Allow all origins
requireHeader: [‘origin’, ‘x-requested-with’],
removeHeaders: [‘cookie’, ‘cookie2’]})(port, host, function() {
(‘Running CORS Anywhere on ‘ + host + ‘:’ + port);});
Request examples:
localhost:8080/ – with CORS headers
localhost:8080/ – Same as previous.
localhost:8080/ – Proxies
localhost:8080/ – Shows usage text, as defined in libs/
localhost:8080/ – Replies 404 Not found
Live examples:
– This demo shows how to use the API.
Documentation
Client
To use the API, just prefix the URL with the API URL. Take a look at for an example.
A concise summary of the documentation is provided at lib/
Note: as of February 2021, access to the demo server requires an opt-in,
see: If you want to automatically enable cross-domain requests when needed, use the following snippet:
(function() {
var cors_api_host = ”;
var cors_api_url = ” + cors_api_host + ‘/’;
var slice = [];
var origin = otocol + ‘//’ +;
var open =;
= function() {
var args = (arguments);
var targetOrigin = /^? :\/\/([^\/]+)/(args[1]);
if (targetOrigin && targetOrigin[0]. toLowerCase()! == origin &&
targetOrigin[1]! == cors_api_host) {
args[1] = cors_api_url + args[1];}
return (this, args);};})();
If you’re using jQuery, you can also use the following code instead of the previous one:
jQuery. ajaxPrefilter(function(options) {
if (ossDomain &&) {
= ” +;}});
Server
The module exports createServer(options), which creates a server that handles
proxy requests. The following options are supported:
function getProxyForUrl – If set, specifies which intermediate proxy to use for a given URL.
If the return value is void, a direct request is sent. The default implementation is
proxy-from-env, which respects the standard proxy
environment variables (e. g. _proxy, no_proxy, etc. ).
array of strings originBlacklist – If set, requests whose origin is listed are blocked.
Example: [”, ”]
array of strings originWhitelist – If set, requests whose origin is not listed are blocked.
If this list is empty, all origins are allowed.
function handleInitialRequest – If set, it is called with the request, response and a parsed
URL of the requested destination (null if unavailable). If the function returns true, the request
will not be handled further. Then the function is responsible for handling the request.
This feature can be used to passively monitor requests, for example for logging (return false).
function checkRateLimit – If set, it is called with the origin (string) of the request. If this
function returns a non-empty string, the request is rejected and the string is send to the client.
boolean redirectSameOrigin – If true, requests to URLs from the same origin will not be proxied but redirected.
The primary purpose for this option is to save server resources by delegating the request to the client
(since same-origin requests should always succeed, even without proxying).
array of strings requireHeader – If set, the request must include this header or the API will refuse to proxy.
Recommended if you want to prevent users from using the proxy for normal browsing.
Example: [‘Origin’, ‘X-Requested-With’].
array of lowercase strings removeHeaders – Exclude certain headers from being included in the request.
Example: [“cookie”]
dictionary of lowercase strings setHeaders – Set headers for the request (overwrites existing ones).
Example: {“x-powered-by”: “CORS Anywhere”}
number corsMaxAge – If set, an Access-Control-Max-Age request header with this value (in seconds) will be added.
Example: 600 – Allow CORS preflight request to be cached by the browser for 10 minutes.
string helpFile – Set the help file (shown at the homepage).
Example: “”
For advanced users, the following options are also provided.
ProxyOptions – Under the hood, -proxy
is used to proxy requests. Use this option if you really need to pass options
to -proxy. The documentation for these options can be found here.
Options – If set, a will be created. The given options are passed to the
eateServer method.
For even more advanced usage (building upon CORS Anywhere),
see the sample code in test/
Demo server
A public demo of CORS Anywhere is available at. This server is
only provided so that you can easily and quickly try out CORS Anywhere. To ensure that the service
stays available to everyone, the number of requests per period is limited, except for requests from
some explicitly whitelisted origins.
see: If you expect lots of traffic, please host your own instance of CORS Anywhere, and make sure that
the CORS Anywhere server only whitelists your site to prevent others from using your instance of
CORS Anywhere as an open proxy.
For instance, to run a CORS Anywhere server that accepts any request from some sites on
port 8080, use:
export PORT=8080
export CORSANYWHERE_WHITELIST=node
This application can immediately be run on Heroku, see for instructions. Note that their Acceptable Use Policy forbids
the use of Heroku for operating an open proxy, so make sure that you either enforce a whitelist as
shown above, or severly rate-limit the number of requests.
For example, to blacklist and rate-limit everything to 50 requests per 3 minutes,
except for and (which may be unlimited), use:
export CORSANYWHERE_BLACKLIST=export CORSANYWHERE_RATELIMIT=’50 3 ‘
node
License
Copyright (C) 2013 – 2021 Rob Wu
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the “Software”), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Frequently Asked Questions about proxy anywhere

Leave a Reply