Skip to content
This repository was archived by the owner on May 30, 2023. It is now read-only.

Phantomjs : a real Web Browser Network Configuration ? #12131

Closed
jefleponot opened this issue Apr 8, 2014 · 5 comments
Closed

Phantomjs : a real Web Browser Network Configuration ? #12131

jefleponot opened this issue Apr 8, 2014 · 5 comments
Labels

Comments

@jefleponot
Copy link

When I use firefox, Midori, Opera or Chrome (Not IE :-p), I don't mind of the network configurations.
Why ?
Because Browsers know if proxy is required (with automatic detection or manual detection). The best configuration can be done with a pas file.

Phamtonjs don't do that.

So I add just a file called "networkproxyfactory.cpp" who forks if a "no-proxy" option is enable .
I have to tests in a scenario web intranet application with internet javascript and jsonp.

Usage:
phantomjs [switchs] [options] [script] [argument [argument [...]]]

Options:
--no-proxy= Specifies the proxy exceptions, '127.0.0.1, localhost' (default)

phantomjs --proxy="http://dirproxy.gouv.eu:8080" --no-proxy=".intranet" script.js

@geekli
Copy link

geekli commented Jan 8, 2015

so it's like PAC ?

@jefleponot
Copy link
Author

not at all. just filters proxy : *.test, *.intranet

@jairoiglesias
Copy link

no-proxy command line not avaible in version 2.1.1 ??

@kriegaex
Copy link

We also need this feature, is there any problem or concern against merging it into master?

@stale stale bot added the stale label Dec 26, 2019
@stale
Copy link

stale bot commented Dec 29, 2019

Due to our very limited maintenance capacity, we need to prioritize our development focus on other tasks. Therefore, this issue will be automatically closed (see #15395 for more details). In the future, if we see the need to attend to this issue again, then it will be reopened. Thank you for your contribution!

@stale stale bot closed this as completed Dec 29, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants