Ben Fisherman’s JSNES runs entirely in the browser using nothing more intrusive than JavaScript. It apparently manages real-time performance within Chrome, but it works (if not playably) on an iPhone.
I wish the screen was resizable and that it supported iPhone compatible controls, but both of those assume that browser performance will improve enough to make [...]
Posted September 20, 2009 by Casey
Categories: Dispatches, Technology. Tags: browser-based, emulator, javascript, JSNES, NES, Nintendo, Nintendo Entertainment System. Be the first one.
jQuery 1.3.2 is in WordPress 2.8, but the most exciting changes are in the automatic concatenation and compression of scripts via the script loader.
Andrew Ozz says “This feature can easily be extended to include scripts added by plugins and to use server side caching, however that would require some changes to the server settings (.htaccess [...]
Posted May 31, 2009 by Casey
Categories: Technology. Tags: javascript, performance, wordpress, WordPress 2.8. Be the first one.
Who’d a thunk it: CSSHttpRequest is a way of doing cross-domain AJAX by using CSS’ @import method to fetch the data.
Posted October 27, 2008 by Casey
Categories: Dispatches, Technology. Tags: ajax, CHR, css, CSSHttpRequest, javascript. Be the first one.
JSONLint, a JSON validator, was the tool I needed a while ago to be able to play with JSON as format for exchanging data in some APIs I was working on a while ago. And now I like JSON well enough that I’m thinking of using it as an internal data format in one of [...]
Posted September 10, 2008 by Casey
Categories: Dispatches, Technology. Tags: javascript, json, web applications, web development. 5 Comments.
Steve Souders: 10% of the problem is server performance, 90% of problem is browser activity after the main html is downloaded. He wrote the book and developed YSlow, so he should know.
JavaScripts are downloaded serially and block other activity. Most JavaScript functions aren’t used at OnLoad. We could split the JS and only load essential [...]
Posted August 16, 2008 by Casey Bisson
Categories: Technology. Tags: javascript, optimization, performance, Steve Souders, website. 2 Comments.
We’ve become accustomed to link rot and broken images in nearly all corners of the web, but is there a way to keep things a bit cleaner?
K.T. Lam of Hong Kong University of Science and Technology came up with this sweet trick using jQuery and readyState to find and replace broken images:
jQuery(’span#gbs_’+info.bib_key).parents(’ul’).find(’img.bookjacket[@readyState*="uninitialized"]‘).replaceWith(’<img src="’+info.thumbnail_url+’" alt="’+strTitle+’" height="140" [...]
Posted June 16, 2008 by Casey Bisson
Categories: Technology. Tags: broken images, javascript, js, link rot, onerror, web design. One Comment.
Matty discovered jQuery at The Ajax Experience, and his enthusiasm has rubbed off on me.
jQuery makes coding JavaScript fun again. Well, at least it makes it possible to write code and content separately. And that means that sweet AJAXy pages can be made more easily, and it sort of forces designers to make them accessible [...]
Posted January 16, 2007 by Casey Bisson
Categories: Technology. Tags: ajax, javascript, jquery, matt batchelder. One Comment.
Ryan Eby gets excited over LiveSearch. And who can blame him? I mention the preceding because it explains the following: two links leading to some good examples of livesearch in the wild.
Inquisitor is a livesearch plugin for OS X’s Safari web browser. It gives the top few hits, spelling suggestions where appropriate, and links to [...]
Posted December 18, 2005 by Casey Bisson
Categories: Libraries & Networked Information, Technology. Tags: ahah, ajax, javascript, libraries, library, live, live search, livesearch, search, web, web applications. 2 Comments.
Via Brad Neuberg: RSnake’s XSS (Cross Site Scripting) Cheatsheet: Esp: for filter evasion.
Limitations on cross site scripting (XSS hereafter) have been troubling me as I try to write enhancements to our library catalog, but the reasons for the prohibition are sound. Without them I could snort your browser cookies (RSnake lists: “cookie/credential stealing/replay/session riding” among [...]
Posted November 1, 2005 by Casey Bisson
Categories: Technology. Tags: browser threats, cheatsheet, cross site javascript, cross site scripting, filter evasion, internet threats, javascript, scripting, threat, threats, web, web browser, xss. 4 Comments.
The Mozilla docs on JavaScript security give a hint of hope that signed scripts will work around the cross-domain script exclusions that all good browsers enforce. But an item at DevArticles.com throws water on the idea:
Signed scripts are primarily useful in an intranet environment; they’re not so useful on the Web in general. To see [...]
Posted September 20, 2005 by Casey Bisson
Categories: Libraries & Networked Information, Technology. Tags: cross domain, cross domain script exclusion, cross domain scripting, internet security, intranet environment, javascript, javascript security, mozilla, security, security components, signed script, signed scripts, web scripting, web security, xdomain, xmlhttprequest. One Comment.