News for hackers. Stuff that matters.
Re:An iframe from googlesyndication.com tries to access the ... by hetspookjee on Sunday December 19, 2021 @04:12PM (#29618475)
I still don't understand it. I was under the impression that animations are also able to be served through HTML5? Both CSS and HTML should be sufficient. ~We're in the age where we're able to serve an entire sqlite database over a static website, yet an animation does require javascript?~

EDIT: I am wrong to think that serving and interacting with a sqlite database goes without javascript.

Re:An iframe from googlesyndication.com tries to access the ... by danachow on Sunday December 19, 2021 @05:23PM (#29619075)
> We're in the age where we're able to serve an entire sqlite database over a static website

Making use of the SQLite database is entirely client side and requires JavaScript or WASM (the distinction is unimportant) - it requires running code on the frontend. This is not a great way to state your case.

Re:An iframe from googlesyndication.com tries to access the ... by hetspookjee on Sunday December 19, 2021 @06:06PM (#29619492)
You're right and I misinterpreted the sqlite implementation. I will edit my comment to reflect my error.
Re:An iframe from googlesyndication.com tries to access the ... by jefftk on Sunday December 19, 2021 @05:59PM (#29619435)
Animations can be CSS, yes. That's what you do in https://amp.dev/documentation/guides-and-tutorials/learn/a4a... (declarative ad format, no advertiser-written JS)
Re:An iframe from googlesyndication.com tries to access the ... by hetspookjee on Sunday December 19, 2021 @06:09PM (#29619513)
Then I don't understand the necessity for javascript in ads?
Re:An iframe from googlesyndication.com tries to access the ... by jefftk on Sunday December 19, 2021 @06:25PM (#29619646)
In this particular case, advertisers were not interested in moving to a declarative format, and publishers were not interested in requiring declarative ads. So it didn't end up going anywhere as a general purpose ad format.