209 Commits

Author SHA1 Message Date
ccd0
d6f2d9492e Parse /f/ files. 2015-03-14 17:50:37 -07:00
ccd0
ba8e6cbdb9 New test for fake deletions. Also restore post.resurrect. #354 2015-03-10 22:36:37 -07:00
ccd0
01af49fd52 Better fix for false-positive deleted posts: Check Last-Modified header. 2015-03-08 18:54:03 -07:00
ccd0
56918627a2 Merge branch 'bstable'
Conflicts:
	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-26 22:18:35 -08:00
ccd0
726e3d4e01 Fix most likely cause of thread watcher data corruption. #341
This was feeding bad results to ThreadWatcher.set404 when the g.THREADID was falsy.
2015-02-26 22:03:59 -08:00
ccd0
c8d56e621c Legibility. 2015-02-22 11:12:37 -08:00
ccd0
bb3cbf5822 As of CoffeeScript 1.9.0, parameters like @x are no longer available as x. 2015-02-22 11:05:04 -08: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
414be72b4a Make use of archive.json for cleaning DataBoards. 2015-02-15 22:15:12 -08:00
ccd0
dca84b6d2d More unused argument cleanup. 2015-02-15 01:21:57 -08:00
ccd0
6dcf2adcc2 Cleanup "that". 2015-02-15 00:46:20 -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
5ad84a700e Reduce unnecessary storage writes. 2015-02-14 14:05:14 -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
bb41c3a2ee 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
	src/General/Build.coffee
	src/General/Get.coffee
2015-02-11 23:58:04 -08:00
ccd0
2ad16e2d89 4chan has moved thumbnails to i.4cdn.org. 2015-02-11 23:50:46 -08:00
ccd0
184141a5e0 When expanding threads, rebuild posts originally fetched for quote previews.
Fixes lack of post hiding buttons etc.
2015-02-08 00:27:49 -08:00
ccd0
893eb114ef Migrate custom board titles to a DataBoard so that exporting and importing works for them. 2015-02-07 20:05:59 -08:00
ccd0
3bddbdc5e3 Defer Except -> Exempt change until settings migration code is in place. 2015-02-06 22:36:03 -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
747c9f9aad Merge branch 'get-refactor' into zixaphir-merge
Conflicts:
	src/General/Get.coffee
2015-02-02 21:34:57 -08:00
ccd0
769dec0b50 Implement 'Click Passthrough' option, restore button and left-dragging. 2015-01-31 23:16:13 -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
29b78bf377 Fix sound playing from replaced WebM thumbnails in previewed/inlined quotes. 2015-01-30 23:24:46 -08:00
ccd0
0e10415d71 Revert "Ignore /pol/ fakedoubles in HTML building test."
This reverts commit 37f0872f886a3c9c2538d233ea47e8c94d308aa4.

Conflicts:
	src/General/lib/post.class
2015-01-25 15:08:16 -08:00
ccd0
bed88c3324 Remove contract button; work around controls by estimating their position. 2015-01-25 09:41:48 -08:00
ccd0
bacfbb4e64 Move post fetching code into a class. 2015-01-03 08:42:47 -08:00
ccd0
4015395c10 Don't use title attribute to select elements. #220
Hopefully this will reduce extension conflicts and sensitivity to 4chan changes.
2014-12-30 16:19:32 -08:00
ccd0
185b0b5234 Remove <marquee> tags from text used by filters / thread excerpts. 2014-12-25 12:13:55 -08:00
ccd0
37f0872f88 Ignore /pol/ fakedoubles in HTML building test. 2014-12-22 19:28:55 -08:00
ccd0
f095feeb03 Ignore randomized spoilers in HTML building test. 2014-12-22 18:43:44 -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
28a0064a67 Allow for extensions that add text to link titles (#220?)
e.g. NoScript's Javascript link fixer.
2014-12-14 20:41:40 -08:00
ccd0
e1150b0d7a Add nameBlock to clone nodes also. 2014-12-14 20:33:56 -08:00
ccd0
512fd1f78d Add nodes.quote to Post object. 2014-12-14 20:28:33 -08:00
ccd0
08050f33f1 Use noscript fallback for captcha. 2014-12-11 22:53:03 -08:00
ccd0
748258f59b Unread.postsQuotingYou -> ECMAScript 6 Set 2014-11-28 23:28:01 -08:00
ccd0
e8c6403ce6 Add guard against inserting an item after/before itself. 2014-11-23 20:28:52 -08:00
ccd0
d08583e2e6 Exit gallery on fullscreen exit. 2014-11-22 19:52:26 -08:00
ccd0
8bcec61542 Reduce unnecessary calls to GM_getValue. 2014-11-16 17:19:30 -08:00
ccd0
4ac31962a2 Move nameBlock into post class. 2014-11-15 20:41:32 -08:00
ccd0
24f5a743f7 Move read of initial IP count to Main.coffee; also read bump/image limit. 2014-11-11 21:17:36 -08:00