Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I wrote a script that will upvote all postings containing a salary range:

https://gist.github.com/dlo/77426445e6403da12c652ac00b86764f

I've tried to make it comprehensive, and it supports a few different formats, but if it doesn't catch something it should (or it upvotes something it shouldn't), let me know. It throttles to 1 vote every 2s as to be nice to the HN servers. Hope this is helpful!



missed this one:

30k€ - 70k€

https://news.ycombinator.com/item?id=16052947

changing r3 to /\d+(k|K)\s?(€|EUR)/m should do it


Good catch, thanks!


Could you package it as a bookmarklet?


is it regex-DOS proof ?


How to run it?


You can copy/paste the code into the console of your browsers dev tools.


That’s awesome




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: