#dev 2025-10-15

2025-10-15 UTC
#
[KevinMarks]
is there a way to set the scroll of an iframe? https://kevinmarks.com/clockwatch.html need to scroll down the top one by hand at the moment
#
[artlung]
[KevinMarks] one cheap way to do that is to create an `#anchor` on the page and point the src of the iframe to that. I believe one can also set an onload handler inside the element and set the scroll of the element to that value
#
[artlung]
though setting scroll of en external url may oblige you to create a content security policy about 'unsafe-inline` scripts if it were in the onload handler
#
[artlung]
could also check to see if `(window.self !== http://window.top)` on the included page generically and infer that it would need to be scrolled so `if (window.self !== http://window.top) { window.scrollTo(0,50); }` on the included page is nice and terse.
vriska, sp1ff`, jjuran_, perryflynn, claudinec, grufwub, Ramle and ax562 joined the channel
#
ax562
In what language would it be the least time consuming to create a user login type thing for a website? Could I use sql? Ideally I would want to encrypt each users memory space.
#
[tantek]
What is IndieAuth?
#
Loqi
IndieAuth is a federated login protocol for Web sign-in, enabling users to use their own domain to sign in to other sites and services https://indieweb.org/indieauth
#
[tantek]
There are some libraries there for consuming logins in various languages I believe
joshproehl_, [KevinMarks], [artlung]1, ben_, Lars-Christian, sandra, sp1ff`, vidak, dusted__, bitauger, [Sophia_wood]3, gRegorLove_, rhiaro, ax562, jjuran, box4646, hidjy[d], thegreekgeek_, [Sophia_wood], ax5623, grufwub, [artlung], [KevinMarks]1, gRegorLove__, doesnm, phobos and [John_Gorenfeld] joined the channel
#
[John_Gorenfeld]
NodeJS has some pretty ready-to-go shortcuts for typical login situations.
barnaby, [lazcorp], barnabywalters, failxontour and sebbu joined the channel
#
[tantek]
what indieweb login libraries are there in NodeJS? that anyone here is actually using on their personal site?
[Al_Abut]1, oodani_, vidak, mahboubine_, mahboubine, [lazcorp]1, [Al_Abut]2, thegreekgeek__, doesnm, rrix, rhiaro, hidjy[d], gRegorLove_, [KevinMarks]2, JadedBlueEyes, [KevinMarks]3, [artlung]2, rhiaro_, barnaby, CrimeWave, bugliker02 and gRegor joined the channel