If that's an act of aggression and thus immoral, what is it when an online job application form requires you to enter your salary expectation before submitting (outside California)?
And if an employer doesn't want to provide a salary range, they are free not to hire any candidates. The same sauce is equally tasty for both the goose and the gander.
You're just choosing a different set of moral rules. That's OK -- I'm not expecting everybody to have the same I follow. You could just state that outright instead of making a clever twist of words about it.