Commit Graph

73 Commits

Author SHA1 Message Date
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
FelisCatus
622fd2a4d4 Ignore 127.0.0.1 in web request monitor. Fix #474. 2015-05-22 22:00:23 +08:00
FelisCatus
50df9452ef Copy proxy settings for different schemes instead of reusing. Fix #468. 2015-05-22 21:36:29 +08:00
FelisCatus
eb8c0b99d8 Handle cases where sync storage is not available. Fix #406. 2015-04-19 19:21:29 +08:00
FelisCatus
53aba6b0ea Handle error when getting a tab that no longer exists. Fix #382. 2015-04-04 17:05:07 +08:00
FelisCatus
974ef69912 Fix memory leak with extension messaging Port. Fix #383. 2015-04-04 16:59:50 +08:00
FelisCatus
16012e355a Remove debugging console.log from web request monitor. Sorry. 2015-02-28 01:00:14 +08:00
FelisCatus
b650ab31b6 Don't count timeoutAbort in obsolete main_frame as errors. 2015-02-28 00:59:37 +08:00
FelisCatus
61856d5eae Refactor WebRequestMonitor#summarizeError, improving efficiency. 2015-02-28 00:59:37 +08:00
FelisCatus
5a7e365896 Add a hard limit on the number of requests tracked per tab. Fix #296. 2015-02-28 00:59:37 +08:00
FelisCatus
2793d5efca Ignore incomplete chunked encoding error in request monitor. Fix #312. 2015-02-28 00:59:37 +08:00
FelisCatus
9b18d3194a Fix redirect detection of data: and about: URLs. Fix #293. 2015-02-18 20:05:57 +08:00
FelisCatus
11749c28fc Improve web request error detection and set badge for updated tabs. 2015-02-18 11:30:00 +08:00
FelisCatus
806f3215e8 Try to use base domain names when adding conditions. Fix #276. 2015-02-17 22:43:08 +08:00
FelisCatus
62133c2d7c Add web request monitor and network error based conditions. Fix #6. 2015-02-17 22:42:33 +08:00
FelisCatus
2f6e9dc280 Disable profile syncing if quota exceeded in sync storage. Fix #272. 2015-02-11 15:29:47 +08:00
FelisCatus
674f501ada Ignore empty data in profile update. 2015-02-09 11:43:41 +08:00
FelisCatus
6e7b5150c1 Fix a null error for _defaultAction in ChromeTabs. 2015-02-04 12:17:58 +08:00
FelisCatus
a496d991ba Support proxy username/password for PacProfile. Fix #190. 2015-01-30 21:30:48 +08:00
FelisCatus
29bebd458c Refactor Options constructor into loadOptions and init methods. 2015-01-22 23:33:26 +08:00
FelisCatus
a145d4f6a5 Add options syncing (using chrome.storage.sync). 2015-01-22 19:25:49 +08:00
FelisCatus
54eaf96634 Change npm dev script to use two-step npm link. 2015-01-14 18:28:28 +08:00
FelisCatus
8e56c4f883 Implement rule list exporting. Fix #99. 2015-01-01 21:25:08 +08:00
FelisCatus
73886642bf Add option to enable/disable inspection in context menu. Fix #83. 2014-12-22 19:34:45 +08:00