<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1635968017309109953</id><updated>2011-07-28T08:06:35.812-07:00</updated><title type='text'>Geekster</title><subtitle type='html'>This is the mostly random blog of a Geek, Scott "Geekster" Leonard.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://phpgeekster.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1635968017309109953/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://phpgeekster.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Scott "Geekster" Leonard</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>1</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1635968017309109953.post-8700333161273374528</id><published>2008-04-10T06:01:00.000-07:00</published><updated>2008-04-10T06:29:49.113-07:00</updated><title type='text'>Bad Javascript Policy</title><content type='html'>&lt;span style="font-size:180%;"&gt;C&lt;/span&gt;oders should all take the &lt;a href="http://en.wikipedia.org/wiki/Hippocratic_oath"&gt;Hippocratic oath&lt;/a&gt;, and do no harm.&lt;br /&gt;&lt;br /&gt;I'm finding that many take a different oath, that makes no sense to me. I think it goes something like, &lt;span style="font-style: italic;"&gt;"I will do whatever I want, to make sure immediate people around me are happy, for now, regardless of how much harm I cause the client's image, the Internet and the public."&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Today I surfed into a site that closed its doors to me, because I was running &lt;a href="http://noscript.net/"&gt;No-Script&lt;/a&gt;. Why  do I use No-Script? It's just &lt;a href="http://noscript.net/features"&gt;safer&lt;/a&gt;, so I think it's really &lt;span style="font-weight: bold;"&gt;mandatory&lt;/span&gt; today.&lt;br /&gt;&lt;br /&gt;Here is the first glimpse of the &lt;a href="http://morningsentinel.mainetoday.com/news/local/4952592.html"&gt;website&lt;/a&gt; before their site disables access:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_qslFag4iADs/R_4Q_9r0YcI/AAAAAAAAAAM/pbun-1vDJrA/s1600-h/quickpeek.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://4.bp.blogspot.com/_qslFag4iADs/R_4Q_9r0YcI/AAAAAAAAAAM/pbun-1vDJrA/s320/quickpeek.jpg" alt="" id="BLOGGER_PHOTO_ID_5187602511853543874" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;And a split second later, users without Javascript enabled get &lt;a href="http://www.mainetoday.com/membercenter/nojscookie.html"&gt;this&lt;/a&gt;, and the back button is disabled in Firefox:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_qslFag4iADs/R_4RQtr0YdI/AAAAAAAAAAU/NzrvoNH5Q1A/s1600-h/js.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 321px; height: 85px;" src="http://3.bp.blogspot.com/_qslFag4iADs/R_4RQtr0YdI/AAAAAAAAAAU/NzrvoNH5Q1A/s320/js.jpg" alt="" id="BLOGGER_PHOTO_ID_5187602799616352722" border="0" /&gt;&lt;/a&gt;Further inspection indicates that no source data exists unless JS is enabled.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Why would a site do this?&lt;/span&gt;&lt;br /&gt;Sites do this to ensure ads are being viewed, and tracking cookies are being enabled. &lt;span style="font-weight: bold;"&gt;&lt;/span&gt;Surfers like me will either find a way around it and become annoyed with the website and skip the article altogether. We may even blacklist the domain, thinking it's just annoying, and we may even avoid it in the future.&lt;br /&gt;&lt;br /&gt;You would be surprised to know how petty and vindictive the general public is when it comes to websites that are broken.&lt;br /&gt;&lt;br /&gt;You need to get your message out.&lt;br /&gt;&lt;br /&gt;Bottom line is that if you are designing a website that is going to use Javascript, don't make it mandatory to do so -- come up with another solution if the customer can't use it.&lt;br /&gt;&lt;br /&gt;Your website can't make money if nobody goes there anymore. Benefit exists from even just showing the page with the ads displayed in a simple format. Brand recognition is a big factor, and it does make sense.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Convincing a customer to click a banner ad sometimes takes a few months of them seeing it! They are not going to see it if you make your audience angry!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Websites exist to serve the public information. When they refuse to do so, or place stupid conditions on doing so, they are no longer websites -- they are just part of the black hole network.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1635968017309109953-8700333161273374528?l=phpgeekster.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://phpgeekster.blogspot.com/feeds/8700333161273374528/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1635968017309109953&amp;postID=8700333161273374528' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1635968017309109953/posts/default/8700333161273374528'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1635968017309109953/posts/default/8700333161273374528'/><link rel='alternate' type='text/html' href='http://phpgeekster.blogspot.com/2008/04/bad-javascript-policy.html' title='Bad Javascript Policy'/><author><name>Scott "Geekster" Leonard</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_qslFag4iADs/R_4Q_9r0YcI/AAAAAAAAAAM/pbun-1vDJrA/s72-c/quickpeek.jpg' height='72' width='72'/><thr:total>0</thr:total></entry></feed>
