The Daily WTF: Curious Perversions in Information Technology
Welcome to TDWTF Forums Sign in | Join | Help
in Search

Browse by Tags

All Tags » javascript » HTML (RSS)
  • Re: Browser-safe JavaScript

    IIRC that's required if you want the code to work unchanged in both ancient browsers that try to display the content of script elements (the reason for the common "<!--" "// -->" hack), and in documents that are served with an XML Content-Type (where "<!--" "// -->" really is a comment, so...
    Posted to Forum by iwpg on 03-09-2007
  • Browser-safe JavaScript

    I came across the following script earlier today, which made me double-take. <script type="text/javascript"><!--//--><![CDATA[//><!-- { JavaScript function removed for clarity } //--><!]]></script> Your thoughts?
    Posted to Forum by pinkduck on 03-09-2007
  • TDWTF WTF

    http://forums.thedailywtf.com/user/CreateUser.aspx Enter a username, a password twice, an email, copy (not write) the email to the email-again field, select your timezone. Hit 'Join'. You can't? The join button is disabled. And no indication about what's wrong. Seems you can't just copy things into a...
    Posted to Forum by Skybert on 02-06-2007
Page 1 of 1 (3 items)
Powered by Community Server (Non-Commercial Edition), by Telligent Systems