Commit graph

45 commits

Author SHA1 Message Date
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
f9bf7ccb46 fix single.js 2021-04-16 23:48:55 +02:00
7de35a098f use hidden attr instead of display:none 2021-04-16 23:48:55 +02:00
07d71de471 use DOMContentLoaded 2021-04-16 23:48:55 +02:00
5d5e3bacbb open filters on load if not empty or 'all' 2021-04-16 23:48:55 +02:00
739cc49c0c make filters into a <nav> 2021-04-16 23:48:55 +02:00
161cb48d3a use push/popstate for filters 2021-04-16 23:48:55 +02:00
45077d5eec add scripting for filters 2021-04-16 23:48:55 +02:00
c2a0ca6680 refactor single.js a bit 2021-04-16 23:48:55 +02:00
c1dda140bc tweak javascript a bit 2021-04-16 23:48:55 +02:00
5f54466ec0 fix caption 2021-04-16 23:48:55 +02:00
185f8d5ca4 add span #cw-text, grudgingly 2021-04-16 23:48:55 +02:00
85e23a5116 use strict 2021-04-16 23:48:55 +02:00
64e00f83f1 a lot of stylin and a little scriptin 2021-04-16 23:48:55 +02:00