Reminded me a lot of Greasemonkey for FF.
greasemonkey scripts also work in chrome.
Dotjs — hack the web
21–30 of 66 posts
Re: Dotjs — hack the web
#22Requires Ruby? Why...
It looks like Ruby is only needed for the file server. You could easily substitute a Python file server (cd .js; python -m SimpleHTTPServer 3131). You could use a remote Apache server for synchronizing your scripts. I agree that Ruby is a little overkill, but it is simple enough to run easily on a Mac, and it is extensible for hackers.
Re: Dotjs — hack the web
#23Publish them where? I don't understand this. Whenever I change a user.js file and save it the browser updates it and it's ready to go next time the page reloads.
Side node: Scriptish is a fork of greasemonkey with many cool extras. https://addons.mozilla.org/en-US/firefox/addon/scriptish/
Re: Dotjs — hack the web
#24Earlier quoted context omitted.
It looks like Ruby is only needed for the file server. You could easily substitute a Python file server (cd .js; python -m SimpleHTTPServer 3131). You could use a remote Apache server for synchronizing your scripts. I agree that Ruby is a little overkill, but it is simple enough to run easily on a Mac, and it is extensible for hackers.
If you use your own server make sure you set the Access-Control-Allow-Origin header: https://github.com/defunkt/dotjs/blob/master/bin/djsd#L26 (Also, Ruby comes with OS X (just like Python) so it seemed a sane choice.)
Re: Dotjs — hack the web
#25Re: Dotjs — hack the web
#26This could result in a really cool network graph on github, couldn't it?
Also, when defunkt says protip, take it.
Re: Dotjs — hack the web
#27I've sneakily been using this for months on Hacker News itself- I just .hide() stories past around story #15. More signal, less noise. And it's just jQuery, so it's really easy to whip up. Bonus points for it being so easy to share, too: https://github.com/holman/holman-js/blob/master/news.ycombin...
You're pretty much guaranteed to hear of anything hitting the front page anyway if it was meaningful to begin with. If not, it's probably some momentary obsession or buzzword bingo (say, "Google", "Social", "Facebook killer", "Privacy", "Product launch" to take an ephemeral example :))
Re: Dotjs — hack the web
#28Earlier quoted context omitted.
If you use your own server make sure you set the Access-Control-Allow-Origin header: https://github.com/defunkt/dotjs/blob/master/bin/djsd#L26 (Also, Ruby comes with OS X (just like Python) so it seemed a sane choice.)
But Python comes with OSX and Ubuntu
Re: Dotjs — hack the web
#29I'm waiting for someone to build a social browser extension on top of something like this. Anyone could submit custom CSS/JS for a website and the most upvoted "theme" automatically gets loaded. Sure the JS security issues might be a nightmare, but the web would look soooo much prettier!
Re: Dotjs — hack the web
#30Earlier quoted context omitted.
But Python comes with OSX and Ubuntu
But Ruby is the language the developer uses when doing something basic like this?