Commit Graph

96 Commits

Author SHA1 Message Date
FelisCatus
f338664e5c Merge branch 'feature/chrome-31' 2018-08-26 20:42:07 -07:00
FelisCatus
e2d9293e5a Fix externalProfile watcher after refactoring. Fix #1607. 2018-08-26 20:28:13 -07:00
FelisCatus
2ad6ffa3c0 Fix some typos. 2018-08-26 19:57:37 -07:00
FelisCatus
eb6aeb0ec5 Add some feature detection for older browsers. See #1608. 2018-08-26 19:35:19 -07:00
FelisCatus
4e0b8975bd Fix bare catch statement in coffee. 2018-08-20 18:29:07 -07:00
FelisCatus
2bcd7e633c Silence port disconnected errors. Fix #1587. 2018-08-20 17:59:59 -07:00
FelisCatus
86181d3f17 Fix null reference profile error. Fix #1593. 2018-08-20 17:37:08 -07:00
FelisCatus
bd06fac3b3 Do not set proxyDNS for SOCKS4 servers. Fix #1548. 2018-08-12 18:15:09 -07:00
FelisCatus
465c98f78a Support browser.proxy.onRequest. Fix #1456.
This commit also refactors other implementations and moves them to
dedicated files, using feature detection to select one on runtime.
2018-07-08 21:35:11 -07:00
FelisCatus
eb65855a40 Fix moz- detection typo. See #1503. 2018-06-12 21:33:55 -07:00
FelisCatus
fae33f2b10 Fix pasting error. 2018-06-12 12:30:19 -07:00
FelisCatus
7c271f13e4 Do not try to connect to SwitchySharp when running under moz-. Fix #1503. 2018-06-12 12:23:30 -07:00
FelisCatus
15b7257a80 Detect and prefer browser.proxy.register if available. Fix #1446. 2018-04-30 17:36:45 -07:00
FelisCatus
2c4c33c6b5 Fall back to static icon on privacy.resistFingerprinting. Fix #1357. 2018-01-27 21:12:52 -08:00
FelisCatus
aac049d559 Trim the log if new logs cannot be written to storage. Fix #1288. 2017-12-25 19:37:59 -08:00
FelisCatus
374d47ab65 Remove Object.create and promisifyAll. Fix #1297. 2017-11-27 00:43:38 -08:00
FelisCatus
cafbf20762 Call chrome.proxy.settings.onChange.addListener directly. Fix #1297. 2017-11-27 00:21:53 -08:00
FelisCatus
8572ff6b42 Work around localStorage not available in private windows. Fix #1163. 2017-10-12 21:53:43 -07:00
FelisCatus
e432687831 Update QuickSwitch context menu whenever it changes. Fix #1225. 2017-10-06 10:29:05 -07:00
FelisCatus
74c70b2dee Convert rule name to note when upgrading from SwitchySharp. 2017-09-20 14:39:11 -07:00
FelisCatus
96b2cfd68a Make the useLegacyStringReturn message friendlier. 2017-09-20 13:52:00 -07:00
FelisCatus
06e7ad67f0 Use object return types when possible on Firefox with auth. Fix #1172. 2017-09-20 13:43:09 -07:00
FelisCatus
f1f5eb329d Ignore NS_ERROR_ABORT in request monitor. Fix #1191. 2017-09-20 10:46:02 -07:00
FelisCatus
c860de6214 Fix #1159. Root cause still unclear. 2017-08-19 00:40:21 -04:00
FelisCatus
ddf9f47c4d Add Conflicts section in options. Replaces Proxy Changes. Fix #1052. 2017-08-19 00:14:14 -04:00
FelisCatus
0ec584c93d Show menu title based on actual profile used on mobile. 2017-08-18 20:58:01 -04:00
FelisCatus
6f0f3e4636 Open popup as tab if browser does not support popup. 2017-08-18 20:58:01 -04:00
FelisCatus
d8684c6d24 Shorten the menu title on mobile. 2017-08-18 20:58:01 -04:00
FelisCatus
227e189a73 Make chrome.contextMenus and some browserAction APIs optional. 2017-08-18 20:58:01 -04:00
FelisCatus
8618b405a6 Fix potential race condition for proxyScriptLoaded event. 2017-08-11 22:25:14 -04:00
FelisCatus
9978279d00 Move more stuff into src/ for target-chromium. 2017-08-02 22:46:08 -04:00
FelisCatus
7a46271487 Use new brower.proxy.register/unregister API when possible. 2017-07-31 16:33:44 -04:00
FelisCatus
4dca36a45f Fix SOCKS5 servers. 2017-06-01 01:10:35 -04:00
FelisCatus
f421810959 Implement proxy script for WebExtensions. #102. 2017-06-01 01:10:35 -04:00
FelisCatus
d65c29f34d Ignore about: and moz- URLs in a few places. 2017-06-01 01:10:35 -04:00
FelisCatus
8d040f9402 Adapt to browser.storage if available. Disable proxy for now.
Added feature detection for some other chrome.* APIs.
2017-06-01 01:10:35 -04:00
FelisCatus
f68c54fbae Fix getPageInfo error when request monitor is disabled. 2017-03-18 10:10:33 -07:00
FelisCatus
9d71c91634 Add a mini-popup page with the menu only.
This allows the popup to load faster for most cases. If advanced
features are used, the user will be redirected to the full popup page.
2017-03-15 19:01:06 -07:00
FelisCatus
80b668a47e Do not modify the update URL if it contains a query string. Fix #1000. 2017-03-01 01:26:21 -05:00
FelisCatus
0f61f18c91 Retry setting icon with legacy sizes if it fails. Fix #1003. 2017-03-01 00:45:42 -05:00
FelisCatus
e0d400cc8f Do not setIcon if icon cannot be drawn. Fix #715. 2017-02-26 20:40:25 -05:00
FelisCatus
bf3df2b707 Handle IPv6 address brackets correctly in bypass list. Fix #998. 2017-02-26 00:57:43 -05:00
FelisCatus
9b8de4c582 Add URL reference back to options class. Fix #908. 2016-10-26 10:50:30 -04:00
FelisCatus
fcb063a464 Check profile update content and improve error messages. Fix #159, #903. 2016-10-25 01:09:24 -04:00
FelisCatus
f658ef9e6c Trim profile name when upgrading from SwitchySharp. Fix #778 2016-05-26 13:58:54 +08:00
FelisCatus
45a8ad2f15 Convert proxy.host to lowercase for ProxyAuth matching. Fix #727. 2016-03-17 16:31:23 +08:00
FelisCatus
b67790eb83 Pass <local> to target browser as-is. Avoid <local> in default config.
See the added comments as well as #443 for discussion.

Newly created proxy profiles will have 127.0.0.1, ::1 and localhost in
bypass list by default, instead of <local> in hope that fewer users
will be trapped in the IPv6 literals gotcha.
2016-03-17 16:18:25 +08:00
FelisCatus
a7fa690e94 Change <local> to OmegaPac.Conditions.localHosts in Chromium. Fix #443.
This works around the issue where Chromium incorrectly bypasses all IPv6
address literals when given <local> in bypass list. See #443.
2015-05-28 17:34:15 +08:00
FelisCatus
97de45e892 Move report issue and error log to browserAction context menu.
Also adds context menu item for toggling Quick Switch. Fix #464.
The context menu can be opened by right-clicking the browserAction icon.
2015-05-28 16:56:23 +08:00
FelisCatus
8f71270f1d Fix a bug where failed resources cannot be added as rules in some cases.
currentProfileCanAddRule is now correctly set regardless of page info.

Parse URLs like `chrome://errorpage/?lasturl=` in some browsers. Fix #365.
2015-05-28 14:48:50 +08:00