:: krowemoh

Friday | 27 DEC 2024
Posts Links Other About Now

previous
next

Now Back to Your Regularly Scheduled Programming

2022-05-16
trips, italy, js

Learned something quite new from my coworker today! The onbeforeunload function still executes under chrome and edge, it simply doesn't execute blocking calls. So you can still trigger an async function to do something on a server but you can't do a console log or an alert.

I had looked around but everything I had tried was always synchronous and blocking and so it would fail under chrome.

Very neat!

My trip to italy went well! Venice, Florence, Pisa, Cinque Terre, and Rome in 8 days was quite the trip. My absolute favourite was Saint Mark's Basilica in Venice which was really great because our tour guide was very informative. She really made things clear about why things were the way they were.

Highly recommend getting a tour guide for everywhere now. Just in case it helps, the tour guide I had was through viator, named Virginia.