I remember once learning that php has a `header` function and have been using 'location:...' since ever (pre-2000) as php was almost always supported by hosters like dreamhost, hostgator, and nearly every Linux install came pre-installed with Apache and the php mod. The meta htttp-equiv was a last resort (like gh-pages). Never really used the JS option unless it was part of the application.
Ah, and next you might discover one of my favorite unresolved browser issues:<p><a href="https://bugs.chromium.org/p/chromium/issues/detail?id=63107" rel="nofollow">https://bugs.chromium.org/p/chromium/issues/detail?id=63107</a>
I remember these from when I initially taught myself HTML (4) and CSS as a kid.<p>It's kind of amazing how parts of the spec that seem dated or obsolete can still be useful today and are even widely used in corner cases.
Combining it with the referrer tag and you can make some pretty interesting graphs. With frames you can even do Floyd's algorithm.<p>I made a demo of this about 20 years ago but I think it just confused people. One of my early flops that I thought was cool. It was all in perl and I think there was some JS in there as well but I don't remember anymore. No idea where it is now.<p>Rewrite it and make a hyped up pitch page. People will call you a genius and I'll pretend not to care
I was so sure archive.is/wip/xxxxxx used this but I just checked and it uses<p><script>{setInterval(function(){document.location.reload();},5000)}</script><p>now<p>for example, I tried out view-source:<a href="https://archive.fo/wip/RpDSg" rel="nofollow">https://archive.fo/wip/RpDSg</a><p>does anyone else remember seeing meta refresh? if so, any idea why they switched to javascript reload
Ahh. This brings back memories. I used to do this when I was using Adobe (Macromedia originally) FLASH back in the day. If no FLASH, show them the shitty version. HAHA. Good times.
I've recently deployed this trick on my company's confluence instance (with an HTML macro) to create a "poor man's" link shortener that allows me to change the link target after the fact.<p>Also recently deployed it as a very simple server side denounce: when the client first accesses page X a long running operation is dispatched. Subsequent requests for the same resource before it's done processing return a plain HTML response that says "Still thinking about it" and meta refresh after 1 second.
I use<p><meta http-equiv="refresh" content="300"> to do speed test from fast.com<p>see:<p>view-source:<a href="https://angularten.github.io/" rel="nofollow">https://angularten.github.io/</a>
Hehe, the good old html meta redirect. As a kid in the early days of the web I loved to post redirects to porn websites in guestbooks to check if the website was sanitizing the user content properly. Worked way to often :D
This reminds me that while I’ve been programming for a paycheck since 1998 my knowledge growth in html stopped at about 2001. Are there any good courses or recommendations for seasoned pros who never stopped to learn HTML5?
Putting 0 value used to be a bad idea, as it was a signal to the browser and various ad blockers and anti viruses that it was a rogue redirect. Wonder if it’s different these days?