• Info

    web developmentHardcode.nl offers proficiency in both front-end and back-end webdevelopment.

    Hardcode.nl is situated in the centre of Amsterdam, the Netherlands.

    Hardcode.nl === Joris Osterhaus coding hard.

  • Contact me:


    Send it
  • Detect in what frame a script is executed.

    The following code checks whether we are in a frame and also...

    Read more »

    Register general ajax or getJSON error handler

    It's always quite handy to register something general for handling errors occuring...

    Read more »

    window.open method

    You use the window.open method to open a new window in javaScript....

    Read more »

    check for frames

    You can easily check whether the page you're on is in a...

    Read more »

    detect or enforce http or https with JavaScript

    Here's how you can enforce a redirect to a https ssl address...

    Read more »

    matching special characters in JavaScript regular expressions

    To match special characters in JavaScript regular expressions you can either use...

    Read more »

    detect enter key in jQuery

    the following line of jQuery let's you detect when an enter key...

    Read more »

    simple isnumber function in JS

    you can use the following function to check whether any JavaScript value...

    Read more »

    Singleton examples in JavaScript

    In OOP the singleton is basically a class which restricts it's instantiation...

    Read more »

    set static ip in Ubuntu or Debian

    To configure a static IP an IP that will never change in...

    Read more »

    find input with focus

    The fact that you can use CSS pseudo selectors to select elements...

    Read more »

    window onerror event to supress javascript errors

    The window.onerror event provides a very simple way of supressing javascript errors....

    Read more »

    formatting retrieved mysql datetime

    to format a mysql datetime to your needs use something like...

    Read more »

[x]