This extension helps developers to change their proxy in Chrome using a simple JavaScript programming code. To using this…
This extension helps developers to change their proxy in Chrome using a simple JavaScript programming code.
To using this extension you can use the popup window directly or use a JavaScript code to change the Proxy.
Using with JavaScript:
Note: This extension always adds a hidden button to the document.body with id = 'btn-set-proxy-address__extension'. You can get this button with code document.getElementById('btn-set-proxy-address__extension')
This extension uses some data attributes to get the proxy settings. you have to set 'data-proxy-address', 'data-proxy-username' and 'data-proxy-password' attributes to the 'btn-set-proxy-address__extension' button to set your proxy settings.
Consider the following example:
var btnProxy = document.getElementById('btn-set-proxy-address__extension');
btnProxy.setAttribute('data-proxy-address', '152.52.15.55:3125');
btnProxy.setAttribute('data-proxy-username', 'user1'); /* proxy username and password are optional */
btnProxy.setAttribute('data-proxy-password', 'xK25j99'); /* proxy username and password are optional */
btnProxy.click(); /* this line will change your proxy */
Statistics
Installs
435
history
Category
Rating
4.0 (2 votes)
Last update / version
2021-03-24 / 1.0.0
Listing languages
en-US