Month: September 2009

  • Working around the same-origin policy in Greasemonkey

    The same-origin policy prevents scripts on a page from communicating with servers on a different domain from the page. Implemented by all browsers, this prevents some cross-site scripting attacks. Of course, communicating with different web services is a common goal for mashups like the ones we’re building in this class. So if you need to…

  • Add jQuery to any (or every) webpage

    We’ve already seen how Firebug makes it incredibly easy to inspect the current page loaded in Firefox and run jQuery commands to quickly modify items on the page or test different selectors. But what if the webpage you’re interested in doesn’t already have jQuery installed? jQuery is becoming more and more widespread (the iSchool website…

  • Using separate files for CSS and JS

    One of your classmates rightly noted that Nick and I have said that you can (and often should) keep your HTML, CSS, and JavaScript in separate files, but have not provided any instructions about how to do that. Single File The single-file approach is good for quick one-off tests or demonstrations. This is where you…

  • Delicious Trailmaker Tutorial

    In our first class on September 1, we did an in-class demo showing one possible way to implement trails from Vannevar Bush’s Memex using the Delicious API. This tutorial reviews the steps from class. At the end of this tutorial, you will have constructed a small web application that saves a collection of bookmarks to…

  • Hello world!

    Welcome to Information Organization Lab for the fall semester 2009. This is the blog for this course where students can exchange advise and experiences with other students in the class.