101 Commits

Author SHA1 Message Date
ccd0
5f4ae3231f Remove $.globalEval and simplify passing of data to/from scripts run in global context. 2019-07-25 18:12:06 -07:00
ccd0
bbccf5e1b8 Change announcement hiding link to FontAwesome minus button and make it work on Tinyboard/vichan sites. #2171 2019-07-11 07:46:04 -07:00
ccd0
6f1165da9f Merge commit '794027e355ba117ae533d15907a45e1e5e85173a' into next2 2019-07-10 12:30:49 -07:00
ccd0
a547904c11 Merge commit '38f63e6aa8c913e95e418235283c8fc2113a1c5c' into next2 2019-07-10 12:20:13 -07:00
ccd0
667495e641 Make sure thread watcher icon is visible on sites with dark backgrounds. 2019-07-08 19:59:23 -07:00
ccd0
f96b24a792 Support repsonseType: text in CrossOrigin.ajax. 2019-07-05 16:20:30 -07:00
ccd0
bb4acb6411 Implement new APIs: LoadCaptcha, RequestCaptcha, and AbortCaptcha. 2019-07-03 15:50:03 -07:00
ccd0
4004b5c84f Do AJAX requests from page context in Chrome extension. #2228 2019-06-22 21:54:31 -07:00
ccd0
d5414fbdba Tolerate failure of GM.listValues. 2019-04-24 04:50:57 -07:00
ccd0
a2ed86e4f0 Try ordinary AJAX request for fetching files if GM.xmlHttpRequest not available. 2019-04-24 03:30:07 -07:00
ccd0
c3054640a8 Handle errors thrown by GM.xmlHttpRequest. 2019-04-24 03:12:48 -07:00
ccd0
69a56f9e05 Update ad blocker workaround for 4channel domain. 2019-04-24 03:11:36 -07:00
ccd0
03167b32e7 Always use both responseType: arraybuffer and overrideMimeType fallback, and convert when response isn't an ArrayBuffer. 2019-04-11 08:10:52 -07:00
ccd0
8a04d6b249 Revert "Do tests to determine whether to use workaround for binary data instead of relying on version number."
This reverts commit 0048da77f6bf93d902359e81c93f457b8c7399db.
2019-04-11 07:43:34 -07:00
ccd0
c2d1f7ef4c Remove query string from filename in Post from URL feature. 2019-04-11 06:45:10 -07:00
ccd0
0048da77f6 Do tests to determine whether to use workaround for binary data instead of relying on version number. 2019-04-11 06:37:24 -07:00
ccd0
5f52cce954 Fix issue making WebM title fetching needlessly slow on Chrome extension. 2019-04-11 05:36:39 -07:00
ccd0
2120c93bf0 Reorganize CrossOrigin.binary. 2019-04-11 05:33:39 -07:00
ccd0
794027e355 Move Build.unescape to $.unescape 2019-04-09 05:25:41 -07:00
ccd0
44d84c745f Whether to add parameter to avoid cache should be based on site being queried, not site currenly on. 2019-04-04 17:40:00 -07:00
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