comScore

Javascript

  1. Tech

    Apple Intentionally Tries to Hide Samsung Statement on U.K. Homepage Using JavaScript

    As if things weren't already silly enough in the decision against Apple in the United Kingdom, the technology giant's gone and made things even worse. The company's original statement was deemed noncompliant and inaccurate by the U.K. courts, as it was meant to alleviate the slander caused by Apple against the Samsung Galaxy Tab. The courts insisted that Apple issue a revised statement on their U.K. website within 48 hours, and they've certainly complied. That's not all they've done, though. Apple's also included a bit of JavaScript that intentionally tries to hide it.

    Read on...
  2. Gaming

    A Nintendo 64 Emulator Written in JavaScript

    Lately in the coding world, building a program entirely out of a language that one wouldn't normally associate with the program seems to be all the rage. From building a miniature MMO entirely in HTML5, to making a game of Snake written entirely in CSS, it's an understandably fun and creative hobby to see how far one can bend a certain language. Paul Holden is the newest contributor to this field; he built a Nintendo 64 emulator entirely in JavaScript.

    Read on...
  3. Tech

    What if Great Writers Were Great JavaScript Coders?

    What if the Bard of Avon was the Bard of Python? What if Hemingway wrote The Old Man and The C?  These are the questions that run through the head of coding guru and Twitter programmer, Angus Croll, as he downs his fourth cup of coffee infront of the glow of a monitor at four in the morning. Croll imagined how five prominent writers would write a program using the JavaScript language and returning a Fibonacci series. If you're a lover of literature, if you're a seasoned veteran of coding, or even if you have no idea what I'm talking about, seeing how Hemingway would've written JavaScript is pretty amusing. Check it out after the jump.

    Read on...
  4. Tech

    Microsoft Agent Available for Upload, Clippy Now Haunts The Web

    Beginning with Windows 7, Microsoft made the call to no longer support Microsoft Agent. You know, that thing with the animated icons that most thought was kind of annoying. They were eventually convinced to offer an installation package but warned that there would be no future updates and this was a far cry from them continuing development. Clippy and his pals were officially dead. Thankfully, someone had the wise idea to translate the group into JavaScript and provide them for folks to upload willy-nilly to their websites.

    Read on...
  5. Gaming

    DOOM in JavaScript and HTML5, Playable in Your Browser

    In some respects, DOOM is the "Hello World!" of gaming, and so this marks a little milestone for the growing power of JavaScript and HTML5 if the bootable in-browser Linux kernel wasn't enough: Alon Zakai has ported DOOM to the browser, no Flash required.

    Use the normal Doom keyboard controls: For the menu, arrow keys and enter; for the game, arrow keys, control, space and alt (hold to strafe). Use your browser's zoom to adjust the screen size (usually control + and control -). Loading and saving games do work, but only until you leave the page. TODO: Use IndexedDB for persistent storage.
    You can play it here in Firefox or Safari. Warning: Insanely slow in Chrome, don't bother. Technical details here. (Alon Zakai via RWW)

    Read on...
  6. Tech

    Linux Kernel Running in PC Emulator Written in JavaScript

    Fabrice Bellard created a PC emulator written in pure JavaScript (using Typed Arrays) that runs Linux. Why? "For fun," of course, and because Bellard claims "newer Javascript Engines are fast enough to do complicated things." Bellard suggests a few uses of the emulator could be to benchmark JavaScript engines, use it for client side processing using an x86 library (Bellard suggests for cryptographic purposes), and a more advanced version would allow people to use it for running old DOS PC software, which would allow people to diverge from having to use resource-intensive DOS emulators like DOSBox to play old PC games.

    For more detailed information on the emulator, check out the accompanying technical notes. For a little background on Fabrice Bellard, check out this article and find out why this guy is a computing genius.

    (via Hacker News, Laurie Voss)

    Read on...
  7. Tech

    Edit Webpage Content on the Fly and Play Pranks with This Handy Bit of JavaScript

    Call us immature, but we just had far too much fun playing with a simple JavaScript trick that allows you to edit the text of most webpages as you see it. Go to a webpage, paste
    javascript:document.body.contentEditable='true'; document.designMode='on'; void 0
    in the address bar, and hit enter. For the majority of sites, this will allow you to mess with the content of the site as you see it, most notably giving you the ability to delete text and replace it with whatever you want. Sarah Palin's Facebook page and celebrities' Twitter pages just got a whole lot more interesting! We thank Mr. Kanye West for bringing this trick to our attention. (h/t Reddit. title pic "via" @kanyewest)

    Read on...
  8. Tech

    Major Twitter Security Flaw Exploits Mouseovers (Update: Twitter Reports Patched)

    If you arrived here from Twitter.com today, you should close that window ASAP; if your stream of tweets has been looking strange and full of code today, this is why. A major security flaw on Twitter.com has been exposed which allows users to exploit the onMouseOver Javascript command to cause other users to trigger pop-up messages or redirects to third-party websites merely by rolling over a Tweet with their cursors.

    Update: It's worse now: Reports are surfacing that code can be activated without even a mouseover, so avoid Twitter.com entirely for the time being. Update3: Twitter reports that the XSS vulnerability has been patched.

    Read on...
© 2014 Geekosystem, LLC   |   About UsAdvertiseNewsletterJobsPrivacyUser AgreementDisclaimerContactArchives RSS

Dan Abrams, Founder