Compare Chrome extensions: Prevent data-urls in omnibar vs Programmatically Proxy Switcher
Stats | Prevent data-urls in omnibar | Programmatically Proxy Switcher |
---|---|---|
User count | 3,842+ | 452 |
Average rating | 0.00 | 5.00 |
Rating count | 0 | 1 |
Last updated | 2018-02-04 | 2021-03-24 |
Size | 4.94K | 5.87K |
Version | 1 | 1.0.0 |
Short description | |
---|---|
Simple extension to prevent opening op data-urls. Effectivily forces setting when pushed to managed chromebooks. | This extension helps developers to change their proxy in Chrome using a simple JavaScript programming code. To using this… |
Full summary | |
Simple extension to prevent opening op data-urls. Effectivily forces setting when pushed to managed chromebooks. |
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 */ |