Boycotting — the act of conscientiously refusing to patronize a brand or buy a product for moral reasons — has been a common way for consumers to exercise collective influence for well over a century.