-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proxy Usage #31
Comments
@dinosaurtirex did you figure out how to do this? Still struggling here with getting an auth proxy set up. |
code sample, might work out of the box with some minimal changes. Includes built in image and font blocking. I'd suggest building your proxy setup method and blockers for simplicity:
|
Hello! Thanks |
I did it my way, just using browser extension for proxy on start. |
Just create this 2 files and add arguments on start. I did it via _default_browser_args cuz don't have enough time, it way more simple for me
background.js
manifest.json
|
Using a custom plugin is a clever idea. Thanks for posting
…On Sun, Dec 22, 2024 at 9:16 PM dinosaurtirex ***@***.***> wrote:
@dinosaurtirex <https://github.com/dinosaurtirex> did you figure out how
to do this? Still struggling here with getting an auth proxy set up.
background.js
var config = {
mode: "fixed_servers",
rules: {
singleProxy: {
scheme: "http",
host: "",
port: 0000
},
bypassList: ["<local>"]
}
};
chrome.proxy.settings.set({value: config, scope: "regular"}, function() {});
function callbackFn() {
return {
authCredentials: {
username: "",
password: ""
}
};
}
chrome.webRequest.onAuthRequired.addListener(
callbackFn,
{urls: ["<all_urls>"]},
["blocking"]
);
manifest.json
{
"manifest_version": 2,
"name": "proxy",
"version": "1.0",
"permissions": [
"proxy",
"tabs",
"unlimitedStorage",
"storage",
"<all_urls>",
"webRequest",
"webRequestBlocking"
],
"background": {
"scripts": ["background.js"]
}
}
—
Reply to this email directly, view it on GitHub
<#31 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATTERS445SD2PUMMPSXJLJL2G6MBDAVCNFSM6AAAAABTYUPYGKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNJYHEZDKMRTGA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
How is there any way to use proxy with ZenDriver?
The text was updated successfully, but these errors were encountered: