Better HN
topnewbestaskshowjobs
Log inSign up

jasonkit

2 karma · joined Aug 10, 2010 (16y ago) · 2 submissions

[ my public key: https://keybase.io/jasonkit; my proof: https://keybase.io/jasonkit/sigs/mxF2IE3BVqH9XDPN2rKY7sZc828Ow2Fx_uO5qqis22M ]
Submissions

comment 10y ago · link · parent

I really want to know how to be better in noticing the problem. I do get annoy by some regular task, however I will easily adapt to it and lost the incentive for solving the problem.

comment 15y ago · link · parent

I think the ruby web server is not necessarily needed, simply change the dotjs.js's content to

$.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.