diff --git a/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/choose-pac-provider/index.js b/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/choose-pac-provider/index.js index 874d09c..acd2c30 100644 --- a/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/choose-pac-provider/index.js +++ b/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/choose-pac-provider/index.js @@ -549,10 +549,10 @@ chrome.runtime.getBackgroundPage( (backgroundPage) => li.innerHTML += `${infoIcon} `; + placeholder="SOCKS5 localhost:9050; # Tor Expert +SOCKS5 localhost:9150; # Tor Browser +HTTPS 11.22.33.44:3143; +PROXY foobar.com:8080; # Not HTTP!">${conf.value || localStorage.getItem(uiRaw) || ''}`; li.querySelector('textarea').onkeyup = function() { this.dispatchEvent( new Event('change', {'bubbles': true}) ); @@ -587,7 +587,7 @@ HTTPS 11.22.33.44:8080;">${conf.value || localStorage.getItem(uiRaw) || ''} str ); const ifValid = ifValidArr.every( (str) => - /^(?:DIRECT|(?:(?:HTTPS?|PROXY|SOCKS(?:4|5)?)\s+\S+))$/g + /^(?:DIRECT|(?:(?:HTTPS|PROXY|SOCKS(?:4|5)?)\s+\S+))$/g .test(str.trim()) ); if (!(ifValidArr.length && ifValid)) {