Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Dotjs — hack the web.
$.get(chrome.extension.getURL("script/"+window.location.hostname+".js"), function(script){ eval(script); });
it will look for the js file in the extension directory instead of the local ruby web server, and this should work for any platform. To take the ~/.js convenience, a symlink in *inx system or shortcut in window will do the job.
There are no comments on this comment yet.
$.get(chrome.extension.getURL("script/"+window.location.hostname+".js"), function(script){ eval(script); });
it will look for the js file in the extension directory instead of the local ruby web server, and this should work for any platform. To take the ~/.js convenience, a symlink in *inx system or shortcut in window will do the job.