Tetrakern
3badca4c26
Remove superfluous catch and then
2023-06-12 10:16:30 +02:00
Tetrakern
5b39bbf0af
Reduce bookmarks JS
...
Also use the full link again because the relative one may have been short but did not work with URIs that include a path. Something that should not occur but one never knows.
2023-06-12 10:02:10 +02:00
Tetrakern
b8fefa3471
Do not stop TTS on page load
...
Readers might want to listen and browse, which this made impossible.
2023-06-11 22:20:24 +02:00
Tetrakern
c35ea2a5ad
Refactored mobile menu
...
That. Was. Not. Fun!
2023-06-11 01:17:04 +02:00
Tetrakern
a763bc0eb1
Refactor chapter lists
...
No more sibling or other exotic selectors.
2023-06-10 18:23:04 +02:00
Tetrakern
8cf01ca6a3
Remove sibling selectors from TTS
2023-06-10 03:00:07 +02:00
Tetrakern
6d3deb28fe
Remove las sibling selector from search
2023-06-10 01:11:44 +02:00
Tetrakern
08406b6fb6
Refactor follows/reminder/checkmark on cards
...
And removed the sibling selectors too.
2023-06-09 23:19:18 +02:00
Tetrakern
919206f3cd
Fix last-clicked
...
lol
2023-06-09 22:10:10 +02:00
Tetrakern
7bfc0c9a32
Extend last-clicked script
...
Can now also mark a parent element with watch-last-clicked.
2023-06-09 21:50:29 +02:00
Tetrakern
96d3c5884c
Improve keyword tracks
...
Removed sibling selector CSS and added aria attributes.
2023-06-09 21:12:15 +02:00
Tetrakern
da4ac9f9bc
Remove embed logo after loading
...
Another sibling selector gone!
2023-06-09 19:33:44 +02:00
Tetrakern
08aceaf3c8
Improve embed consent wrappers
2023-06-09 19:30:36 +02:00
Tetrakern
1df1c13cab
Fix focus inside modal on tab navigation
2023-06-09 19:19:04 +02:00
Tetrakern
15a8978db9
Fix tabnav for comment mod menu
2023-06-09 18:53:36 +02:00
Tetrakern
0acfdf90d2
Improve performance of comment mod menu
2023-06-09 18:30:53 +02:00
Tetrakern
edd2cbc80e
Change order of possible global clicks
...
Spoiler is the least likely, while toggle-last-clicked is the most likely. Reduces the number of conditionals passed.
2023-06-09 13:20:34 +02:00
Tetrakern
f71676f6b9
Use global click handler for page jump
2023-06-09 13:18:34 +02:00
Tetrakern
64bb7653fc
Use global handler for some click events
...
Gets around the problem with AJAX content that needs events to be rebound.
2023-06-09 11:30:31 +02:00
Tetrakern
9079b07478
Toggle chapter lists without sibling selectors
2023-06-09 01:10:19 +02:00
Tetrakern
b2a989469c
Open modals without sibling selector
2023-06-09 00:18:26 +02:00
Tetrakern
b520e84f12
Increase throttling of popup re-positioning
...
4 times per second is enough.
2023-06-08 09:29:13 +02:00
Tetrakern
66be6dd548
Reduce card icon menu markup
2023-06-08 02:34:52 +02:00
Tetrakern
4b487f07e6
Prevent element not found error
...
If authentication is disabled but, for some reason, Follows/etc. are still on.
2023-06-06 11:14:48 +02:00
Tetrakern
4a49bd26ed
Exclude login markup if already logged-in
2023-06-06 10:20:00 +02:00
Tetrakern
89685e9718
Remove consent banner if already set
2023-06-06 03:56:16 +02:00
Tetrakern
7eb231447d
Make sure bookmarks are cleared on logout
2023-06-05 18:34:59 +02:00
Tetrakern
a1c3ff3883
Remove superfluous elements after page load
...
Some elements are delivered for the purpose of client-side setup, such as checkmarks. However, if not required, you may as well remove them from the DOM.
2023-06-05 12:05:36 +02:00
Tetrakern
5b8ae2d31b
Ensure JS function exists before calling it
...
This one is added via PHP, so it is not available in all places.
2023-06-03 23:59:04 +02:00
Tetrakern
c774810973
Improve handling of chapter lists
...
In chapters.
2023-06-03 17:17:33 +02:00
Tetrakern
e19b2eb99e
Optimize chapter list in chapters
...
Search engines do not track hidden links anyway, so the permalinks were reduced to "/?p=ID" to save bytes. Quite a lot if a story has many chapters.
2023-06-03 15:16:29 +02:00
Tetrakern
cd74d3a208
Add chapter list popup menu to chapters
...
So you can read chapters while you read chapters.
2023-06-03 14:06:48 +02:00
Tetrakern
7ee5548d36
Click outside closes paragraph tools
...
I'm 99% sure this function already existed once. I wonder where it went...
2023-06-03 13:54:13 +02:00
Tetrakern
4cd4ddf047
Improve popup menu screen collision detection
2023-06-03 11:38:29 +02:00
Tetrakern
d7e1495e44
Fix cleanup error after unsetting OAuth
...
Just a button that was not removed and would cause an error if used again.
2023-06-03 04:12:49 +02:00
Tetrakern
6a13ff421b
Update notification scripts
2023-06-03 04:09:40 +02:00
Tetrakern
fa8ba26f4e
Fix broken AJAX helper
...
Whoopsy.
2023-05-29 14:06:07 +02:00
Tetrakern
a3f9b9684a
Reverted the AJAX post helper
...
This didn't work as intended.
2023-05-29 13:58:30 +02:00
Tetrakern
b4ef58c9f0
Improved Fetch API AJAX post helper
...
Now allows to send unconverted data.
2023-05-29 13:47:17 +02:00
Tetrakern
f8175c1e18
Update popup menu position on toggle
2023-05-29 00:41:00 +02:00
Tetrakern
70df10c98e
Position popup menus based on scroll position
...
Only for top and bottom for now because nothing else is used. Also, this was a lot easier than I expected. And no external library required~
2023-05-28 17:01:57 +02:00
Tetrakern
09a6d0446c
Improved handling of removable query args
2023-05-23 00:57:30 +02:00
Tetrakern
038a29edf1
Shorten chapter bookmark link
2023-05-08 18:12:09 +02:00
Tetrakern
ea960d3eff
Add smooth anchor scrolling to chapters
2023-03-09 12:32:32 +01:00
Tetrakern
0716f6e05d
Add fcn prefix to contact form HTML/CSS
...
To prevent collisions.
2023-03-07 23:22:38 +01:00
Tetrakern
c1a93ad0b8
Change CSS font variable names to --ff-*
...
Because apparently Jetpack just hogs "--font-base" and unsets it, breaking the theme.
2023-02-28 14:04:57 +01:00
Tetrakern
52b91be1a8
Fix getter for chapter formatting
2023-02-24 00:50:57 +01:00
Tetrakern
4352dca2f2
Remove obsolete property and prevent error
2023-02-24 00:43:10 +01:00
Tetrakern
d750eb2ab4
Improved chapter font style
...
Worked even without that but I found it ugly.
2023-02-24 00:32:02 +01:00
Tetrakern
f2de51df1f
Fixed chapter font color function
2023-02-23 18:56:08 +01:00