119 Commits

Author SHA1 Message Date
Tetrakern
6cf44abde7 Fix performance issue with page styles 2024-03-17 00:15:36 +01:00
Tetrakern
0f8ba4c311 Update dialog background close
Still not perfect but avoid the drag-and-drop issue.
2024-03-11 11:37:31 +01:00
Tetrakern
c1c2ba6932 Improve dialog modal action assignment 2024-03-11 00:41:51 +01:00
Tetrakern
cc23239df1 Fix dialog modal background click 2024-03-10 23:38:11 +01:00
Tetrakern
d783fd97bb Add styles and logic for dialog modals
Oh look, more unnecessary work!
2024-03-10 21:47:54 +01:00
Tetrakern
e4de35c3de Remove wp.i18n JS script and uses
That just included several render-blocking scripts for little benefit.
2024-03-09 15:15:46 +01:00
Tetrakern
6fa94b9f3b Fix and improve SEO 2024-03-09 01:43:26 +01:00
Tetrakern
8bab5329cb Use ** exponentiation operator 2024-03-07 14:43:50 +01:00
Tetrakern
407f4b0142 Add font lightness to formatting modal 2024-03-07 00:28:14 +01:00
Tetrakern
c8d9d9af9c Add site setting for font lightness 2024-03-06 14:42:10 +01:00
Tetrakern
65ef62a769 Add strategic hidden and data-nosnippet attributes 2024-03-05 20:49:28 +01:00
Tetrakern
2c88423757 Prepare scripts and styles for font-saturation-offset 2024-02-25 16:28:38 +01:00
Tetrakern
fc9f46a489 Clean up and optimize more JS 2024-02-03 12:53:40 +01:00
Tetrakern
be21720619 Optimize cleanup of viewport after AJAX login 2024-02-03 12:40:40 +01:00
Tetrakern
898556a925 Remove unused viewport watch JS 2024-02-02 23:13:59 +01:00
Tetrakern
6667b72249 Clean up obsolete JS 2024-02-02 23:11:45 +01:00
Tetrakern
ec51f6807b Remove unnecessary JS constant 2024-02-01 14:33:46 +01:00
Tetrakern
145cf3868a Refactor search form reset 2024-02-01 14:22:21 +01:00
Tetrakern
0faa3a382a Refactor chapter group toggles 2024-02-01 11:48:06 +01:00
Tetrakern
640da6de2b Fold in spoiler function
This was once called inline, but that is no longer the case and the function therefore superfluous.
2024-02-01 11:36:39 +01:00
Tetrakern
7f337ffb10 Refactor mutation observers 2024-02-01 11:30:19 +01:00
Tetrakern
81b479de43 Cleanup and refactor some JS
Folded some class assignments into loops, refactored observers, dealt with some formatting.
2024-02-01 09:49:34 +01:00
Tetrakern
73bea9da7d Fix chapter formatting light mode toggle 2024-01-31 16:49:54 +01:00
Tetrakern
14424669b6 Update handling of aria-checked
And remove last inline onchange call.
2024-01-31 13:25:02 +01:00
Tetrakern
3740947d8f Add meta cache for chapter index HTML
This was a potentially expensive query executed on each chapter page.
2024-01-27 20:43:20 +01:00
Tetrakern
1edd4da987 Use eventListener instead of onchange
Marginally more resilient.
2024-01-22 22:51:47 +01:00
Tetrakern
5adb88f991 Fix age confirmation modal not always working 2024-01-20 15:27:46 +01:00
Tetrakern
75e4e0aa4e Move age confirmation script to application
Make sure it is loaded.
2024-01-20 15:04:43 +01:00
Tetrakern
40476cdaa4 Make scroll detection more robust 2024-01-10 02:29:14 +01:00
Tetrakern
81ba4b0f2e Update dark mode data attribute
This will now be set to "dark" if dark mode is enabled, instead of being empty. Makes it easier to apply styles to only this mode without a :not function.
2023-11-25 16:36:45 +01:00
Tetrakern
ba08c264fe Update navigation bar style 2023-11-24 09:45:53 +01:00
Tetrakern
6fc9a8d3af Add scrolled-top-top body class and script 2023-11-24 00:44:08 +01:00
Tetrakern
0bb56fc196 Refactor OAuth2 2023-10-23 00:11:32 +02:00
Tetrakern
6e8308423c Fix issue with Autoptimize
For unexplained reasons, the observer variable was not always set. But only on some sites! Weird. Well, conditional assignments are not great anyway.
2023-10-03 22:35:02 +02:00
Tetrakern
95a7a4b305 Fix AJAX authentication mode
Optimizations can be boon and bane, in this case bane.
2023-09-01 18:04:57 +02:00
Tetrakern
6d09b1c0c3 On AJAX auth, cache the guest user state
No more constant requests for user data if the user is clearly not logged-in.
2023-09-01 16:29:11 +02:00
Tetrakern
020b29bec5 Cleanup 2023-08-27 19:54:42 +02:00
Tetrakern
c7e1d1780f Possibly finally fix observer issues 2023-08-27 18:39:35 +02:00
Tetrakern
8040920b39 Improve nav sticky handling 2023-08-27 16:21:30 +02:00
Tetrakern
818a95e895 Make anchor links less jarring 2023-08-27 15:41:57 +02:00
Tetrakern
b1e6ffc700 Refactor AJAX user authentication 2023-08-27 12:29:24 +02:00
Tetrakern
f33abf16c5 Refactor bookmarks 2023-08-27 01:54:46 +02:00
Tetrakern
c4181c6695 Refactor fingerprint 2023-08-27 00:16:43 +02:00
Tetrakern
ac43870afc Update logout cleanup 2023-08-26 23:56:26 +02:00
Tetrakern
2ca7aab07c Improve card popup menu 2023-08-26 21:29:49 +02:00
Tetrakern
447ee2944a Add missing fcn_fast_ajax arg 2023-08-21 14:24:36 +02:00
Tetrakern
fdb41ae74a Fix fast AJAX login check
lol
2023-08-21 13:29:26 +02:00
Tetrakern
8f201a5371 Improve search form
No more checkbox toggle and the simple form does no longer query all taxonomies and authors.
2023-08-07 11:34:57 +02:00
Tetrakern
4985e613dc Fix advanced search form toggle again 2023-08-07 00:04:27 +02:00
Tetrakern
2770f74168 Transient for main navigation
Unbelievable how many queries this thing needs...
2023-08-04 13:48:00 +02:00