81 Commits

Author SHA1 Message Date
ccd0
84b52e2a40 Tolerate nothing being returned from GM.xmlHttpRequest #2256 2019-03-30 12:14:52 -07:00
ccd0
b09b190e7a Merge branch 'bstable' 2019-03-24 06:37:02 -07:00
ccd0
a2a4600be0 Make Chrome extension reload warning work when chrome.runtime.getManifest() throws an error. 2019-03-24 06:36:51 -07:00
ccd0
e37b73a783 Default do-nothing handler for onloadend in CrossOrigin.ajax 2019-03-24 06:27:58 -07:00
ccd0
2c4b77e8d7 Also combine options and extra in CrossOrigin.ajax and in call from $.cache.
Fixes bugs from 71896af275ba612384e41bc05ab3c5acf78e9cbf.
2019-03-24 04:49:41 -07:00
ccd0
695e995dce Let abort always exist, but we can't guarantee it will do anything. 2019-03-24 03:41:01 -07:00
ccd0
71896af275 No longer accept arbitrary properties in $.ajax; make it clear what we support. 2019-03-23 23:50:04 -07:00
ccd0
5bd4a2859e Only need progress event for upload monitoring. 2019-03-23 21:59:30 -07:00
ccd0
4b7b139311 Support If-Modified-Since in cross-site thread watcher requests. 2019-03-23 19:19:33 -07:00
ccd0
7b2dee7279 Add header support to CrossOrigin.ajax 2019-03-23 19:07:48 -07:00
ccd0
e77fa69c53 Move If-Modified-Since code to separate function $.whenModified 2019-03-23 13:03:45 -07:00
ccd0
1fd7f1ec46 Add comment referencing upstream bug. 2019-03-22 03:10:19 -07:00
ccd0
ef92c3a8a8 Merge branch 'bstable' 2019-03-22 03:03:08 -07:00
ccd0
95841af60b Add message alerting Chrome extension users to disable chrome://flags/#network-service 2019-03-22 02:53:14 -07:00
ccd0
6ea1d4ca13 Offer cross-origin abort in userscripts if available. 2019-03-20 19:08:46 -07:00
ccd0
f055869286 Remove unused parameter from $.cache 2019-03-10 23:01:38 -07:00
ccd0
77c3efde20 This should be a warning, not an error. 2019-03-10 21:12:49 -07:00
ccd0
188422f1ae Replace CrossOrigin.json with simpler CrossOrigin.ajax and a CrossOrigin.cache making use of $.cache. 2019-03-10 21:11:43 -07:00
ccd0
78a79f1942 Let $.cache report connection errors. 2019-03-09 02:13:27 -08:00
ccd0
a7af355820 Limit $.cache to subset of XMLHttpRequest API. 2019-03-09 00:47:16 -08:00
ccd0
4c329af6e0 Remove event from $.cache interface. 2019-03-09 00:06:51 -08:00
ccd0
a94d76d84b Let the default responseType in $.ajax always be "json" regardless of URL. 2019-03-08 20:45:53 -08:00
ccd0
8e22de0ca0 Request additional permissions immediately on clicking 'Post from URL' and only then. #2230 2019-03-08 15:21:43 -08:00
ccd0
c86fadf0f3 Generalize event page request mechanism. 2019-03-08 15:03:29 -08:00
ccd0
52128775e1 Restore forced If-Modified-Since for intra-site thread watcher requests. 2019-03-08 03:30:01 -08:00
ccd0
8bedd21c3a Recover as well as possible from data corruption caused by ad filter interaction with Tampermonkey. #2218 2019-01-28 01:29:11 -08:00
ccd0
b7cd785559 Restore updating faster than 30 seconds after 4chan change. 2019-01-22 18:58:23 -08:00
ccd0
4c139b3b0f Support refreshing 4chan threads in Thread Watcher from other sites. 2018-12-06 18:20:21 -08:00
ccd0
8d20d0b4ec Use event page for downloading file in all cases due to AJAX blocking. #2066 2018-09-19 14:00:16 -07:00
ccd0
5afb980a38 Use of background page now needed in Chrome extension for all cross-origin requests. 2018-09-18 00:57:18 -07:00
ccd0
680fc3384f Use CrossOrigin.json for fetching archive list. 2018-09-18 00:49:23 -07:00
ccd0
898816d211 Revise CrossOrigin.json interface. 2018-09-18 00:26:43 -07:00
ccd0
1f7846502d Fall back to ordinary AJAX request if userscript manager lacks GM_xmlhttpRequest. 2018-09-17 20:50:00 -07:00
name
1e277ed2ac Revert workaround for #1323 (7b8c2df5e4aae96b47771c0bb90989765d719d5c) which may be contributing for data corruption issues. #1910 2018-06-04 22:13:16 -07:00
ccd0
76f57a09b0 Revert "Possible workaround for Cloudflare 503 issue. #1746"
This reverts commit dc0a0a544c0fa4ee3a0a86fb2c64dcebd3096f96.
2018-02-17 10:48:42 -08:00
ccd0
dc0a0a544c Possible workaround for Cloudflare 503 issue. #1746 2018-02-17 10:32:01 -08:00
ccd0
ecc6fa452e Merge branch 'bstable' 2018-01-24 16:58:51 -08:00
ccd0
3072550cdb Do not save captchas to disk or share them between tabs. They are too short-lived to be worth it now. This should reduce associated I/O errors. 2018-01-24 16:49:35 -08:00
ccd0
4c1518c1a4 Don't allow changing 'Redirect to HTTPS' setting from non-HTTPS sites. 2017-12-24 23:52:33 -08:00
ccd0
9ddd1f84ba Remove XrayWrappers when syncing data. #1652 2017-12-09 17:58:19 -08:00
ccd0
56ae941c4e Use page version of XHR when in GM4 so withCredentials works. #1597 2017-11-15 00:39:22 -08:00
ccd0
d71ce7b16a Fix setting clearing in GM4. #1531 2017-10-17 20:49:58 -07:00
ccd0
8bc6fe1ed3 Don't use the new GM API on Tampermonkey yet. #1534 2017-10-17 20:36:42 -07:00
ccd0
79672540e6 Merge branch 'webext' 2017-10-08 16:58:52 -07:00
ccd0
fe6a4e5958 Work around performance issue with chrome.storage.sync in Firefox. 2017-10-08 03:02:38 -07:00
ccd0
204b0a5334 Use GM.openInTab when it becomes available. 2017-10-02 14:25:00 -07:00
ccd0
e6bd2d9cb2 Use page XHR for Firefox WE, and list host permissions explicitly. 2017-09-29 03:16:15 -07:00
ccd0
b3279de9a3 Fix lag after settings changes. 2017-09-28 16:55:06 -07:00
ccd0
4226a18a6d Preliminary support for Greasemonkey 4. 2017-09-28 10:51:08 -07:00
ccd0
75ed8fe248 Consolidate code implementing one-item syntax for $.get and $.set functions. 2017-09-28 04:26:15 -07:00