79 Commits

Author SHA1 Message Date
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
ccd0
8d4ea7d8f9 remove $.desync 2014-07-18 23:01:36 -07:00
Mayhem
d5fb02e98e Slightly safer Chrome storage setting.
try/catch is probably useless.
2014-07-18 22:43:39 -07:00
ccd0
63d7372ad2 a few more tweaks from Mayhem 2014-06-18 23:59:17 -07:00
ccd0
718dc126db structured-clone detail of event 2014-06-18 03:37:11 -07:00
ccd0
3d28405268 remove unused $.extend 2014-06-17 18:52:06 -07:00
ccd0
c9e62f3889 this should never be used 2014-06-15 12:21:35 -07:00
ccd0
27558ba6d6 use $.asap instead of specializing $.ready 2014-05-18 20:43:44 -07:00
ccd0
8fb98b785a better solution to the loading problem 2014-05-18 09:27:01 -07:00
ccd0
de5f4e0a85 no need to rush 2014-05-13 03:09:31 -07:00
Zixaphir
2ac2286ad5 Merge branch 'mayhem' into v3
Conflicts:
	CHANGELOG.md
	src/General/lib/$.coffee
	src/Images/Sauce.coffee
2014-01-28 01:11:06 -07:00
Zixaphir
51ba83538a Better $.rmAll
I verified an issue with the previous benchmark and even wrote a
more efficient method based off el.cloneNode(false);, which I would
use if cloneNode could inherit eventListeners

Speaking of events. there is still no interface for gather all
eventListeners on a given element (or its children). Apparently the
issue is that the w3c doesn't think there is a legitimate use case
for it. Heh.
2014-01-24 16:10:04 -07:00
Zixaphir
b6749b91a5 Merge branch 'mayhem' into v3
Conflicts:
	CHANGELOG.md
	CONTRIBUTING.md
	css/style.css
	html/General/Settings-section-Main.html
	json/archives.json
	package.json
	src/Archive/Redirect.coffee
	src/General/Header.coffee
	src/General/Main.coffee
	src/General/Settings.coffee
	src/General/lib/$.coffee
	src/General/lib/thread.class
	src/Linkification/Linkify.coffee
	src/Miscellaneous/AnnouncementHiding.coffee
	src/Monitoring/ThreadStats.coffee
2014-01-22 12:10:34 -07:00