457 Commits

Author SHA1 Message Date
Tetrakern
6cf44abde7 Fix performance issue with page styles 2024-03-17 00:15:36 +01:00
Tetrakern
91252aa1eb Add extra init check to suggestion tools
For the complete.js
2024-03-13 23:07:23 +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
f926564fdb Add setting for combined script file 2024-03-09 19:51:06 +01:00
Tetrakern
d08957a0a2 Add script execution preconditions
In case these scripts are loaded somewhere they are not needed.
2024-03-09 19:19:19 +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
072d3592fc Remove JS translations from frontend profile 2024-03-09 13:55:16 +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
36c3a614c5 Reduce critical head script 2024-03-07 14:39:11 +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
08eee1c783 Add customizer button to reset colors 2024-03-02 23:36:12 +01:00
Tetrakern
c99ed3ff50 Fix bookmarks shortcode order and count 2024-03-01 10:21:29 +01:00
Tetrakern
f52d1bce07 Add customizer font saturation options 2024-02-25 17:33:12 +01:00
Tetrakern
2c88423757 Prepare scripts and styles for font-saturation-offset 2024-02-25 16:28:38 +01:00
Tetrakern
2137b0e172 Fix critical head script 2024-02-25 16:11:11 +01:00
Tetrakern
90b99301ff Merge branch 'main' into refactor_colors 2024-02-24 00:49:53 +01:00
Tetrakern
36bbfd29d2 Fix bookmark paragraph IDs 2024-02-24 00:49:37 +01:00
Tetrakern
bc5a1ae321 Color refactoring part 4 2024-02-23 19:16:36 +01:00
Tetrakern
49478efc77 Add filter to change default chapter formatting 2024-02-16 17:47:14 +01:00
Tetrakern
fab8e152e0 Fix AJAX comment form sometimes not laoding 2024-02-11 15:37:24 +01:00
Tetrakern
83e0ca217d Apply new font system 2024-02-07 16:40:14 +01:00
Tetrakern
f86abd070a Refactor mobile menu jump buttons 2024-02-04 14:27:40 +01:00
Tetrakern
2890793e47 Optimize text-to-speech JS 2024-02-04 05:45:14 +01:00
Tetrakern
96fca5b2cc Move nonce plausibility check to backend 2024-02-04 03:06:11 +01:00
Tetrakern
6482bb689d Add JS check for nonce plausibility
This does not check whether a nonce is valid, only whether it looks like a valid nonce. Because some cache plugins can break nonces trying to insert them.
2024-02-04 00:44:59 +01:00
Tetrakern
3421ba5598 Let AJAX comment form also receive nonce
This should further prevent problems with some cache plugins.
2024-02-04 00:13:43 +01:00
Tetrakern
640e48016d Consolidate CSS applied by JS 2024-02-03 23:59:15 +01:00
Tetrakern
64201d9681 Clean up and optimize more JS 3 2024-02-03 16:56:38 +01:00
Tetrakern
a591e20a52 Clean up and optimize more JS 2 2024-02-03 13:14:57 +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
13307a786f Refactor comment moderation 2024-02-02 22:16:04 +01:00
Tetrakern
1559dfe765 Clean up checkmarks.js 2024-02-02 17:17:35 +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
b13d2fd5d6 Reduce lightbox JS 2024-02-01 09:58:38 +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
9e77a50505 Use navigator.language in bookmarks 2024-01-31 23:59:01 +01:00
Tetrakern
ce8de7bc0b Refactor bookmarks with DocumentFragment 2024-01-31 23:42:23 +01:00