r/AskReddit • u/spudcrazy • Feb 15 '12
Why the hell does anyone program their website to automatically play music? Isn't this universally hated?
I'd say roughly 70% of the time the music is WAY too loud, too. I would list all of the websites that I hate that do this, but there are too many.
2.2k
Upvotes
5
u/jsims281 Feb 16 '12
Its not always possible. JavaScript redirects can be done after the page has loaded, based on other factors like what browser you are using for example. 301 redirects need to be set up server-side before the page loads, I.e. Everyone, no matter what, will be redirected to the same place. 301 is the code for 'Moved Permanently', and it is usually used for just that, I.e. A URL has changed on your site but you don't want anyone who hits your old URL to get page not found.