I found a job as developer, which I really like for the atmosphere/life and working condition which are quite good given the industry. I'm currently only dissatisfied with my salary, which slightly below junior compensation, and while I'm not particularly short of money, a better salary would be good. A few other things are a little annoying (the stack and the technical debt namely) but they don't matter to me a lot.
A headhunter sent me a potential job opportunity on my LinkedIn profile. The opportunity doesn't look very attractive - the industry field does not look very appealing to me - and I was given very few details.
Given that I like my current job and my colleagues, one of the few reason I would consider it is if it represented a substantial increase in my salary and that a few criteria are met such as benefits.
I guess directly saying "what would be the hourly compensation" wouldn't be a great idea, but I don't want to bother with an interview only to ask at the end this - furthermore according to some sources you shouldn't even be mentioning it at all.
Of course the salary isn't the only criteria but it is still a requirement for me - then benefits, working conditions and stack and atmosphere