#JavaScript 3 hashtags

JayViiKubikPixel™
cartoon with two panels showing Santa Claus holding a cookie. In the first panel he looks happy and says 'This is how a web developer gets into the nice list!' and the code on the cookie is CSS: '#Santa .cookie { scale: 1.5 }'. In tthe second panel he looks angry and says '...And this is how they end in the naughty list!!' The cookie has some JS code: document.cookie = session_token=secretvalue;path=/

Comic: Santa's Cookies
— by comicss.art

What is delicious on the website and what is not is explained in an understandable way by Santa Clous for everyone.

🎅 comicss.art/comics/226/

#santa #cookie #js #webdev #comicss #css #cartoon #javascript #cookies #web

JayVii

Reworked my tiny #tw2html webtool that let's me check and "follow" streams on #Twitch. Checking is now done client-side via #JavaScript instead of the much slower server-side #PHP procedure. The new procedure checks 30 streams in well under 1 second.

Feel free to try it out here: https://twitch.jayvii.de/

JayVii

Well, this was long overdue. A while ago already, I implemented "active menu entry marking" (the active menu item is highlighted) in my tweaks and scripts around #stagit via #javascript. This was the only JS in stagit-scripts.

Obviously, because it's all static files, this was not really necessary. So finally the active-entry marking is pre-processed now upon re-generating the #HTML files with fairly simple regex: https://src.jayvii.de/pub/stagit-scripts/commit/3a0908d57956db2c0ba114b6b9ea523aced694c0.html