Kwebble : Blog

Label: javascript

  • Stanford Web Applications course lectures

    Gepubliceerd op 21 oktober 2011 in Links, Programming.

    You can now watch the fall 2010 Stanford Web Applications course containing 104 recorded lectures. The course contents are:

    1. INTRODUCTION
    2. HTML and CSS
    3. URLs and Links
    4. The Ruby Language
    5. Rails Introduction
    6. Introduction to SQL
    7. Active Record
    8. HTTP and HTTPS
    9. Cookies and Sessions
    10. Forms
    11. Javascript
    12. The Document Object Model (DOM)
    13. Events
    14. AJAX
    15. Security: Network Attacks
    16. Security: Session Attacks
    17. Security: Isolation
    18. Security: Code Injection
    19. Security: Phishing Attacks
    20. Large-Scale Applications
    21. Datacenters
    22. Deploying Web Applications
    23. Course Wrap-Up
    • course
    • html
    • javascript
    • rails
    • security
    • video
  • Testing JavaScript with JsTestDriver

    Gepubliceerd op 27 september 2011 in Links, Programming.

    JsTestDriver is a tool to execute unit tests for your JavaScripts. This article explains how to write tests and use the tool to automate testing your code in several browsers.

    • automation
    • javascript
    • unit test
  • To use localStorage in Firefox cookies must be allowed

    Gepubliceerd op 28 juni 2011 in Programming.

    In case a JavaScript generates a security error in Firefox when using localStorage, I found the advice to make sure the about:config property dom.storage.enabled to true.

    But this is not enough! localStorage is only available if cookies are allowed for the domain that serves the web page with the script.

    I find this strange, cookies are completely different things.

    • cookie
    • firefox
    • html5
    • javascript
    • localstorage
    • tip
  • A trim() method for the JavaScript String class

    Gepubliceerd op 25 juni 2010 in Programming.

    Just rediscovered that IE still doesn’t include the trim() method on the String class. Here’s a snippet of code, based on an answer on StackOverflow, to make sure there’s a trim method available:

    if (typeof String.prototype.trim !== 'function') {
        String.prototype.trim = function() {
            return this.replace(/^\s\s*/, '').replace(/\s\s*$/, '');
        }
    }
    

    On the positive side I also found out about the debugger included in IE 8. Just like Firebug, available via F12!

    • javascript
  • Google Closure tools

    Gepubliceerd op 6 november 2009 in Programming.

    Google announced the availability of Google Closure Tools, a set of JavaScript tools to help development of web applications. The set contains:

    • Closure Compiler: a JavaScript optimizer
    • Closure Library: a JavaScript library with reusable UI widgets and controls, utilities for the DOM, server communication, animation, data structures, unit testing, rich-text editing etc.
    • Closure Templates: a client- and server-side templating system that helps you dynamically build reusable HTML and UI elements.
    • javascript
  • GMarker title deactivates mouseover event

    Gepubliceerd op 8 juli 2009 in Programming.

    Quick tip for Google Maps developers: the mouseover event of a GMarker doesn’t fire when the marker has a title. This isn’t mentioned in the mouseover documentation.

    • googlemaps
    • javascript
  • Creating upgradable bookmarklets

    Gepubliceerd op 26 september 2008 in Programming.

    I haven’t seen this technique before, but the implementation of Reading Blinds bookmarklet, a tool to focus your eyes on reading a page, really eases maintenance of a published bookmarklet.

    Instead of embedding the JavaScript code in the link, this bookmarklet uses the DOM to add a script link the <head> of the page. This gives the developer an easy way to release improved version, just update the file and all users will automatically use the new version.

    • bookmarklet
    • javascript
  • Digg enhancer Greasemonkey script

    Gepubliceerd op 23 april 2006 in Programming.

    Everytime I looked at Digg it bothered me that the boxes with the number of diggs in front of each news item overlaps with a the start of the text.

    So I made a litte Greasemonkey script that move the text to the right. And at the same time it removes the upper limit of the page width, so there’s less space wasted on the sides of the pages.

    Installation

    1. This script requires Greasemonkey, so if you don’t have that installed do that first.
    2. Install Digg enhancer.
    • firefox
    • greasemonkey
    • javascript
    • usability
  • Dynamic Drive

    Gepubliceerd op 12 oktober 2005 in Programming.

    Dynamic Drive is a collection of cross-browser compatible DHTML & Javascripts in several categories like Dynamic Content, Form Effects, Games and Menus & Navigation. The scripts are free for personal and commercial use.

    • javascript
  • JavaScript Reference

    Gepubliceerd op 14 september 2005 in Programming.

    This JavaScript Reference is a comprehensive listing of JavaScript objects, properties, and methods. The reference also includes explanations and examples.

    • javascript
  • « Oudere artikelen
  • Rubrieken

    • Artikelen
    • Foto's
    • Links
    • Media
    • Overheid
    • Programming
  • Recente Berichten

    • Stanford Web Applications course lectures
    • The importance of knowing Unicode
    • “If you are not paying for it, you’re not the customer; you’re the product being sold.”
    • Inzage in je gegevens bij Facebook
    • Tuning Oracle UCM 11 & Site Studio performance
  • Abonneren

    • Atom feed Artikelen
    • Atom feed Reacties
  • Archief

© Rob Schlüter - Contact