Commit graph

63 commits

Author SHA1 Message Date
969cdc938d refactor fragment aliases & add field lookup checking
why is that not the default
2024-08-18 02:43:52 +02:00
43af72aa4d make the warning dialog a <dialog> 2024-08-05 23:36:30 +02:00
5e64e9ea1b add a little timeout to the delayed cw thing
it seems like sometimes the load handlers are processed before the
image is actually switched
2024-08-05 21:31:48 +02:00
70e3e36244 keep cw up until new images loads when needed
fixes #18
2024-08-05 21:27:23 +02:00
cd5801dd7d script fixes 2024-07-11 15:04:55 +02:00
ab0e1a4127 filters always collapsed on page load 2024-07-07 22:05:59 +02:00
f2aeb8e187 add shortcut for certain filters 2024-07-07 22:05:08 +02:00
5d576d358c replace nsfw warning with a positive test 2024-07-07 21:49:29 +02:00
38120bc60f improve some null handling 2024-07-07 21:49:29 +02:00
e89970d339 instanceof instead of nodeType 2024-07-07 21:49:29 +02:00
cd469f33db remove an unneeded null check 2024-07-07 21:49:29 +02:00
762300dcaf rename a variable 2024-07-07 21:49:29 +02:00
b2e2db77dd const instead of let where possible 2024-07-07 21:49:29 +02:00
0de54d15d4 make a type more general 2024-07-07 21:49:29 +02:00
fe338b2f3f type signatures 2024-07-07 21:49:29 +02:00
97660781a7 replace Array.from with a splat or whatever it's called 2024-07-07 21:49:29 +02:00
b1b0f806d5 type signature on fillSets 2024-07-07 21:49:29 +02:00
7a08c05cea you WOULD type a script 2023-09-07 01:17:21 +02:00
7d20b2a761 make current filters more obvious
- inside the list, give selected filters a background
- when the list is collapsed, display the current selection next to it
2023-08-06 06:10:56 +02:00
fd216ae3dd no button on the nsfw warning goes to crouton.net 2023-07-19 23:07:18 +02:00
db83137243 remove some unused cruft 2023-06-21 22:38:49 +02:00
485b90fb46 style & layout updates 2023-06-21 19:58:01 +02:00
cd8c51097c new buttons and tweaked bg gradients 2022-12-30 03:19:50 +01:00
88b81681cb fix pages without a skipAll 2022-12-30 03:18:52 +01:00
ccb4c2eabd add button to skip all cws 2022-12-26 22:04:57 +01:00
a2344f4989 add sorting filters by name 2022-11-12 12:13:49 +01:00
f0aa616444 filter box closed for example tags 2022-06-08 14:37:02 +02:00
df0190c950 fix #all 2022-01-05 16:10:19 +01:00
ed18b1113e i broke hide_filters oops 2022-01-02 00:04:31 +01:00
3be9e79615 clearForm sets boxes to default not always empty 2021-12-11 22:19:15 +01:00
e47b790242 check fragment is the right form before using it as filters 2021-08-18 05:10:26 +02:00
4cd5c1d673 use localStorage instead of sessionStorage 2021-04-16 23:49:29 +02:00
1ce4b92423 remove unused args 2021-04-16 23:49:29 +02:00
1a6216a3d7 hide tags only used once initially 2021-04-16 23:49:29 +02:00
c807895244 add nsfw warning dialog 2021-04-16 23:48:56 +02:00
b9ea7f7bcb hide year headings when all items are hidden
fixes #7
2021-04-16 23:48:56 +02:00
8b32dfb6b9 percent-decode hash 2021-04-16 23:48:56 +02:00
bf6ef27874 fix cw stuff... again 2021-04-16 23:48:56 +02:00
d294a094f8 replace reset link with hide single-use tags 2021-04-16 23:48:56 +02:00
b3da952558 use <template> element for cws 2021-04-16 23:48:56 +02:00
046dc59834 fix cw handling again, maybe??? 2021-04-16 23:48:56 +02:00
91af2d9411 fix back button 2021-04-16 23:48:55 +02:00
cd0e444d16 i broke single-image nsfw posts again :( 2021-04-16 23:48:55 +02:00
a73271c0b5 rearrange some element lookup stuff 2021-04-16 23:48:55 +02:00
069a65ab71 always open filters when popping state 2021-04-16 23:48:55 +02:00
a212487613 location is a global also 2021-04-16 23:48:55 +02:00
1e0b955029 put full dimensions on image 2021-04-16 23:48:55 +02:00
61adebd4ab fix cw opening on first load 2021-04-16 23:48:55 +02:00
d6f7995f4b add pushState stuff for single.js 2021-04-16 23:48:55 +02:00
3639a1126a remember opened cws 2021-04-16 23:48:55 +02:00