Wednesday, September 3rd, 2008

Xsstc: Cross-site scripting through CSS data

Category: Security

Wes Biggs has posted on Xsstc, his cross-site scripting solution that uses CSS to hide the data: It turns out CSS leaks data in a very subtle way. Properties set by an external stylesheet (that is, one that is loaded using a LINK REL=”STYLESHEET” tag) are used to style the elements of the host page, Read the rest…

Posted by Dion Almaer at 5:37 am

3.7 rating from 18 votes

QUnit: A simple look at the jQuery unit test framework

Category: JavaScript, jQuery, Testing

Chad Myers has a simple look at GUnit, the jQuery based unit test framework. His article explains how to get going, and walks through a test like this: < View plain text > javascript module("Show and Hide");   test("should hide the element when hide is called", function(){       $("#testDiv").hide();       // Read the rest…

Posted by Dion Almaer at 5:12 am

4 rating from 19 votes

Tuesday, September 2nd, 2008

Google Chrome, Chromium, and V8

Category: Browsers, Google

It is really exciting to see the level of pace that browsers have been setting recently, especially with respect to performance. I have been able to keep in sync with Google Chrome the new browser, and Chromium, the open source code-base it comes from. There are a couple of innovations that have been great to Read the rest…

Posted by Dion Almaer at 2:00 pm

4.5 rating from 60 votes

Firefox implements 3 CSS properties: text-shadow, -moz-box-shadow and -moz-column-rule

Category: CSS, Firefox

Michael Ventnor has blogged about the new support for text-shadow, -moz-box-shadow and -moz-column-rule which follows on with Safari and Opera. The subtle effects really add a great touch when NOT used gratuitously. The samples are both ;) If you’ve been following the Gecko 1.9.1 development since it started then you’re probably already aware of, and Read the rest…

Posted by Dion Almaer at 8:36 am

4.5 rating from 45 votes

This Week in HTML5; Open Web Podcast with Anne van Kesteren

Category: OpenWebPodcast

The tag-team HTML5 series, and Open Web Podcast is back this week with new content. First, Mark Pilgrim’s This Week in HTML 5 Episode 4 comes to you with the weekly summary: The big news this week is the birth of the W3C’s experimental HTML 5 validator (announcement). It is based on Henri Sivonen’s experimental Read the rest…

Posted by Dion Almaer at 8:10 am
Comment here

3.2 rating from 6 votes

toStaticHTML: Sanitize your HTML in IE 8

Category: IE, JavaScript

The IE 8 beta has a new method, toStaticHTML that sanitizes HTML strings by removing dHTML elements and attributes from an HTML fragment. The example they give is: < View plain text > HTML <script type="text/javascript"> function sanitize() {     var szInput = myDiv.innerHTML;     var szStaticHTML = toStaticHTML(szInput);     ResultComment = Read the rest…

Posted by Dion Almaer at 7:51 am

3.8 rating from 12 votes

addSizes.js: automatic link file-size generation

Category: JavaScript, jQuery, Tip

Nathalie Downe has taken Simon Willison’s json-head App Engine mini-service and used it to create addSizes.js, a little script that looks for large files linked from a page, and automatically adds their file size to the copy after the link. Once in place, you simple do your usual link, and asynchronously the Web page will Read the rest…

Posted by Dion Almaer at 5:07 am

4 rating from 21 votes

Monday, September 1st, 2008

Open Flash Chart for GWT Released

Grant Slender has released the Open Flash Chart GWT Widget Library which “provides a simple to use chart widget for GWT based on Open Flash Chart 2. It uses a modified POJO bean model from OFC4J that is serialized using GWT JSON to provide the correct GWT Client data that meets the requirements of the Read the rest…

Posted by Dion Almaer at 9:50 am

3.3 rating from 20 votes

Aptana keeps moving with jQuery/Ext support, and Python love via PyDev

Aptana has three posts in a row for us Ajax folk. They have updated support for the latest and greatest versions of the Ext and jQuery libraries: jQuery 1.2.6 support Ext 2.2 support Aptana has a javadoc/jsdoc like system called ScriptDoc that you can use to document your APIs nicely for the tool, and we Read the rest…

Posted by Dion Almaer at 7:10 am

3.5 rating from 16 votes

CSS Sprites2: Return of the JS

Category: CSS, jQuery

In March 2004, Dave Shea wrote about CSS Sprites, and now he is back with CSS Sprites 2. He walks us through using JavaScript to make this all work nicely, and picks jQuery to get ‘er done: After putting this together piece by piece, we end up with: < View plain text > javascript $(document).ready(function(){ Read the rest…

Posted by Dion Almaer at 6:41 am

3.7 rating from 28 votes

foreignObject: Hey, you’ve got HTML in my SVG!

The SVG foreignObject tag allows you to mix non-SVG content into your page. For example, you could drop some HTML in the middle of an SVG element. Firefox 3 recently announced support for foreignObject; both Safari and Opera have supported this tag for awhile. From Mark Finkle comes two examples (1, 2). The first embeds Read the rest…

Posted by Brad Neuberg at 5:45 am

3.5 rating from 22 votes

All Posts of September 2008