opportunism

noun
  1. the practice of taking advantage of circumstances to gain immediate benefit regardless of planning or principles
  2. the policy of adapting actions to circumstances in order to benefit oneself
  3. Usage: often disapproving

Examples