91 Commits

Author SHA1 Message Date
ccd0
c52e8e9ef8 Work around MutationObserver differences in Edge. 2015-08-02 01:16:24 -07:00
ccd0
66e2a304cc Add Edge to detected engines. 2015-08-02 00:57:48 -07:00
ccd0
5ffc7f4bd4 Move existence check into $.rm. 2015-07-30 21:52:44 -07:00
ccd0
a34c4a7b73 Fix passing of key to $.sync callback in Firefox. 2015-07-04 12:49:13 -07:00
ccd0
60a946e359 Add link to Tampermonkey documentation. 2015-07-04 12:43:07 -07:00
ccd0
0402752060 Use Tampermonkey's GM_addValueChangeListener. 2015-07-04 12:39:19 -07:00
ccd0
f84f301336 Add 'webkit' CSS class to document when WebKit engine is detected. 2015-06-30 21:20:06 -07:00
ccd0
636bcf4af5 Use GM_deleteValue to determine whether GM_* function support is good enough. #69 2015-06-23 15:50:44 -07:00
ccd0
5f8ac8b8f6 Allow case where GM_listValues is not defined. 2015-06-23 15:42:06 -07:00
ccd0
fb6359311f Fall back to localStorage, window.open when GM_* functions are not available. 2015-06-19 01:36:52 -07:00
ccd0
cd23973d99 $.ajax: Each feature gets its own last-modified list. 2015-05-25 18:44:13 -07:00
ccd0
88d1aafe28 Start working on keyboard navigation in image captcha.
Still having some issues with focusing in Firefox.
2015-04-17 00:46:23 -07:00
ccd0
bf34d8cacb Allow other names here. 2015-03-28 15:11:04 -07:00
ccd0
1c81838a91 Remove unneeded escaping. 2015-03-28 15:06:45 -07:00
ccd0
83aa975211 Revert "Work around GM3.0 GM_openInTab bug."
It seems to be fixed in GM3.1 but we don't have a way to distinguish.

This reverts commit d46d02f2497240163699782cb55c6480a87d93b8.
2015-03-16 12:37:30 -07:00
ccd0
d46d02f249 Work around GM3.0 GM_openInTab bug. 2015-03-14 23:58:15 -07:00
ccd0
7f86dd4fbf Merge branch 'bstable'
Conflicts:
	LICENSE
	builds/4chan-X-beta.crx
	builds/4chan-X-beta.meta.js
	builds/4chan-X-beta.user.js
	builds/4chan-X-noupdate.crx
	builds/4chan-X-noupdate.user.js
	builds/4chan-X.crx
	builds/4chan-X.meta.js
	builds/4chan-X.user.js
	builds/4chan-X.zip
	builds/updates-beta.xml
	builds/updates.xml
	package.json
2015-02-18 21:37:42 -08:00
ccd0
5e62950fb8 Fix settings resetting for Firefox, again.
"Note that only the first denied property access from a given global object will be reported."
2015-02-18 21:28:06 -08:00
ccd0
aa9d0cf7c5 Really fix $.sync. 2015-02-17 20:22:23 -08:00
ccd0
d295e77f7e Fix $.sync. 2015-02-16 21:29:01 -08:00
ccd0
dca84b6d2d More unused argument cleanup. 2015-02-15 01:21:57 -08:00
ccd0
6dd2a4103c Add callback to $.set and use it.
We can now:

- Update status of 404'd threads in watcher before redirecting.
- Wait until imported settings are saved before prompting to reload.

Also $.clear now passes errors to the callback rather than simply failing.
2015-02-14 16:05:16 -08:00
ccd0
321813f537 Improve reading/writing of settings on Chromium.
Don't let failures to write synced storage break setting saving.
2015-02-14 12:09:38 -08:00
ccd0
862fd39b00 Merge branch 'bstable'
Conflicts:
	LICENSE
	builds/4chan-X-beta.crx
	builds/4chan-X-beta.meta.js
	builds/4chan-X-beta.user.js
	builds/4chan-X-noupdate.crx
	builds/4chan-X-noupdate.user.js
	builds/4chan-X.crx
	builds/4chan-X.meta.js
	builds/4chan-X.user.js
	builds/4chan-X.zip
	builds/updates-beta.xml
	builds/updates.xml
	package.json
2015-02-12 09:59:28 -08:00
ccd0
e2a6ccef60 Work around GM_listValues issue in Firefox 35+. 2015-02-12 09:46:46 -08:00
ccd0
b01c372c1a Merge from Appchan X: src/General/lib
deferred: changes to Callbacks.execute
2015-02-06 20:59:54 -08:00
ccd0
a85d5b2335 Don't pause WebMs with audio when off screen. 2015-01-31 11:48:28 -08:00
ccd0
8df52a0b24 Merge from Appchan X: Whitespace and other changes not affecting compiled script. 2015-01-31 02:50:38 -08:00
ccd0
44cd4d842a Prevent unnecessary loading of fallback iframe when Javascript is disabled. 2014-12-21 12:24:01 -08:00
ccd0
ab40bfbe69 Implement $.onExists. 2014-12-21 11:48:46 -08:00
ccd0
f1ef4b6c3c Prevent adding custom CSS multiple times. 2014-12-20 01:32:00 -08:00
ccd0
d08583e2e6 Exit gallery on fullscreen exit. 2014-11-22 19:52:26 -08:00
ccd0
5e971532b4 Trust Greasemonkey's value instead of the value from the storage event.
Also fix $.set and $.delete breaking check on whether sync is needed.
2014-10-18 18:30:41 -07:00
ccd0
ade9191eed fix return values of $.ajax, $.cache 2014-10-11 21:18:43 -07:00
ccd0
8b7275df22 Move yourPosts out of synced storage.
Also try to make it easier to move stuff in and out of synched storage if necessary.
2014-10-07 23:03:44 -07:00
ccd0
05fc008f44 Cooldown update, bugfixes.
- implement new 300s global thread cooldown
- update cooldown on post/thread deletion
- delays from error messages only apply to posts like the one that caused the error
- duplicate post delay ignored
2014-10-05 16:05:48 -07:00
ccd0
3f64823fc8 fix data loss when HTTP and HTTPS pages are open in different tabs 2014-09-28 12:40:33 -07:00
ccd0
014af473f4 simplify ImageLoader 2014-09-11 01:33:49 -07:00
ccd0
9cdac0c9f4 recheck threads when quoted post not found in cached data 2014-09-10 01:19:28 -07:00
ccd0
d1fbe50319 ImageLoader: refactoring, little fixes 2014-09-07 17:02:38 -07:00
ccd0
5c46064306 remove stale requests from cache on index refresh 2014-08-29 22:22:37 -07:00
ccd0
626991eae6 remove email filtering and email search archive link 2014-08-23 11:16:40 -07:00
ccd0
cff287c9c3 HTML templates 2014-08-02 22:43:01 -07:00
ccd0
4ce947d686 more informative messages for Adblock/Noscript induced errors 2014-07-19 10:28:29 -07:00
Mayhem
13cffb606d $.delete needs to take into account $.localKeys. 2014-07-18 23:20:17 -07:00
Mayhem
039464603a Setting local data on Chrome is not throttled, only debounce sync. 2014-07-18 23:19:06 -07:00
Mayhem
79758ec37b Fix setArea never actually retrying after an error. 2014-07-18 23:14:49 -07:00
Mayhem
8643b8e9af Drop data that exceeds QUOTA_BYTES_PER_ITEM. 2014-07-18 23:12:45 -07:00
Mayhem
7f0e719d19 Harden the Chrome storage API lib.
Clear/delete should clear/delete data that's about to get set.
2014-07-18 23:06:34 -07:00
ccd0
c606cc05a0 temp reformatting 2014-07-18 23:06:30 -07:00