Hello, thanks for the tutorial. I'm looking for ways to dynamically update the image URL in the document's head. Specifically, a meta tag using the OpenGraph protocol
<meta
property="og:image"
content="http://ia.media-imdb.com/images/rock.jpg"
/> //<-- us a cronjob to update the content property to serve a new image every day
Hello, thanks for the tutorial. I'm looking for ways to dynamically update the image URL in the document's head. Specifically, a meta tag using the OpenGraph protocol
Is this something that a Web Worker could do?
Unfortunately, no. Web Workers can't access the DOM to make changes. You'd need to do that from the UI thread.