Tetrakern
bf487b3df4
Fix search input hint visibility on iOS
2023-06-26 12:36:28 +02:00
Tetrakern
3136b0ac1c
Fix search track blur bug
...
It was impossible to click on a suggestion because the track was cleared before the track could be registered, resetting the suggestions.
2023-06-26 11:26:45 +02:00
Tetrakern
78981f1470
Fixed image reveal button in story comments
2023-06-21 20:12:55 +02:00
Tetrakern
d4b3fcc89e
Optimize page jump script
...
Hopefully lol
2023-06-20 01:45:06 +02:00
Tetrakern
43c707109a
Fix page number jump for pg
query var
...
Having to use so many is sure an annoyance. Yes, it it necessary.
2023-06-19 23:38:34 +02:00
Tetrakern
41909556e5
Replace all frontend inline onclick handlers
2023-06-18 03:28:44 +02:00
Tetrakern
500ef9450e
Replace inline onclick sharing modal link copy
2023-06-18 00:44:31 +02:00
Tetrakern
09ca5ebfe5
Replace inline onclick obfuscation handler
2023-06-17 23:33:08 +02:00
Tetrakern
40c65a89a5
Replace inline onclick logout handler
2023-06-17 23:21:02 +02:00
Tetrakern
a614c1cf8d
Replace inline onclick to reveal comment images
2023-06-17 22:12:06 +02:00
Tetrakern
2c1854aaed
Make story comment paragraph links work
2023-06-17 18:56:51 +02:00
Tetrakern
5066aa19e7
Add smooth scrolling to all page anchors
2023-06-17 10:49:18 +02:00
Tetrakern
c282e9a1d5
Improve "last clicked" precision
...
Probably.
2023-06-14 21:47:37 +02:00
Tetrakern
c54e98b1e7
Back to local storage
...
Session storage just cannot be properly cleared site-wide, which is actually worse in terms of security if you log out and leave another tab open.
2023-06-12 22:08:30 +02:00
Tetrakern
fa38772bc9
Clean up application.js
2023-06-12 16:12:10 +02:00
Tetrakern
3f8b882068
Prevent double prompt for page number dots
2023-06-12 15:48:20 +02:00
Tetrakern
137afd6ed4
Use session storage for temp page cache
...
Far better for this purpose. Also fixed deferred nonce not being cleared on time.
2023-06-12 11:41:31 +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
a763bc0eb1
Refactor chapter lists
...
No more sibling or other exotic selectors.
2023-06-10 18:23:04 +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
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
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
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
6a13ff421b
Update notification scripts
2023-06-03 04:09:40 +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
0716f6e05d
Add fcn prefix to contact form HTML/CSS
...
To prevent collisions.
2023-03-07 23:22:38 +01:00
Tetrakern
8f8212c524
Fix site notification HTML escaping
2023-01-31 06:10:44 +01:00
Tetrakern
7a4d9f7cd6
Closing modals no longer changes scroll position
...
Unless the user is tabbing, but this is the desired behavior.
2023-01-26 17:05:28 +01:00
Tetrakern
d858423a77
Simplify code
2023-01-26 17:02:03 +01:00
Tetrakern
32b95a8768
Change spoiler handling with paragraph tools
...
Never toggle paragraph tools when a spoiler is clicked. This is preferable to the old guess to figure out what the user wants.
2023-01-26 17:00:17 +01:00
Tetrakern
1fa7b145fa
Make TTS accessible via keyboard
2023-01-26 12:08:17 +01:00
Tetrakern
69bc067141
Add sanitizer for HTML
...
To prevent cross-site scripting attacks.
2023-01-26 01:11:38 +01:00
Tetrakern
476e3cd253
Solve select focus issue
...
Focus style will only apply when the user is really tabbing.
2023-01-24 23:44:40 +01:00