pxhc
6 days ago
I got focused on how radio inputs need to be sibilings to the elements they are changing and thinking now there would have been easier ways to set up the stuff, but putting a switch on 24 elements for 7 different setups and each line with like 80 characters is already 13.4k characters, now I just put [class$="x"] and I change every class that ends with x so just one line per setup, the rest were other clean ups I did
oldkidz-newblockz
4 days ago
i wish i could find use for this. i got elements that use like 5 class selectors - bloat again. some is to use, but some is questionable... sweet
pxhc
3 days ago
Me renaming .msg1, .msg2, .msg3, .msg4, .msg5 { } to [class^="msg"] { } and saving so many bits from the internet.
pxhc
6 days ago
can still be accidentally played on mobile without tapping any of the places that would change display and visbility somehow... I give up.
underwhite
6 days ago
aw man, I hate code that doesn't work no matter what.. I also had 10 seizures trying to read ts..
pxhc
6 days ago
I'm not able to reliably reproduce it so it's going to be hard to find out if it really worked, but good idea for another level of redundancy, I hope it works lol
pxhc
6 days ago
I decided to adapt the site for mobile and changed the layout. I removed all the redundancy and so far so good. I noticed while using a site to emulate mobile screens that it was playing because that site wasn't blocking autoplay, but the display none is directly on the video and it shouldn't play until displayed. Perhaps it wasn't faulty code but a real mobile browser bug.
brachypelmide
6 days ago
if you're using firefox you can also just press ctrl+shift+m to toggle the variable resolution viewport! it's not perfect but it does the job for me in most cases.
oldkidz-newblockz
1 week ago
https://bigthinkmedia.substack.com/p/consciousness-may-be-more-than-the
and I'm still on a link collecting project and probably it will be a month or so before I update the buttons I link.
Added