const loadProxy = async () => {
//console.log('load proxy');
const webview = global.p3x.onenote.webview;
const session = webview.getWebContents().session;
const proxy = global.p3x.onenote.data.proxy.trim();
await session.setProxy({
proxyRules: proxy
})
webview.reload();
}
module.exports = loadProxy;
| / | Focus search |
| ? | Show this help |
| Esc | Unfocus input |