Loading...
[-]

Category Archives: jQuery

Javascript STDEV

After my previous post which was a Shootout between SQL Server, Matlab and C# on Standard Deviation (STDEV) I thought I might try doing it in Javascript to see how it performed on speed and accuracy.  I needed to make an ADODB connection to the database using ActiveX on OBDC through a System DSN and [...]

Chrome Extension – Transperth Live Train Times

Install: Transperth Live Train Times Extension (8kb)Source: ArbitraryWebSlice2.zip
After finding how simple it was to build the Arbitrary Web Slice Chrome Extension for the BOM website I decided to try another site. This time I wanted to get the TransPerth live train times because the full site is slow to load, the refresh reloads the [...]

Chrome Extension – Arbitrary Web Slices

To see how Chrome Extensions work I revisited my Arbitrary Web Slices post.  A great starting point was Google’s own Hello World extension.  Indeed all I really needed to do was start with that, cut and paste code from my other post, add some icons and it was done.
Let’s start with the barely edited (from [...]

CheesyFinance.HTA

Following on from my earlier post on AJAX Push – Comet I decided to add some pure javascript graphing, a little logging to disk, some robustness to handle dropped connections, some pull AJAX to get the prices which don’t seem to stream (JPY) and some pretty tooltips.
This is the result of those changes:

The dynamic colouring [...]

AJAX Push – Comet

After reading what underdog discovered about Yahoo Finance’s streamerapi I decided to get try to the data directly into an HTML page in IE8.
Go to Yahoo finance and with IE8’s debugger set a breakpoint in the yfs_concat.js file on the loadUrl (214) with a watch on url to get the streamerapi call.

Open that URL in [...]

Arbitrary Web Slices

I was initially impressed by the concept of Web Slices but since webpages have to explicitly support this, and most don’t, it ends up fairly useless. I started thinking that arbitrary slices would be much more useful and all it would take would be an AJAX call from jQuery. Recently someone asked me [...]