Before the law took effect June 30, protesters often held up colorful posters plastered with slogans that ranged from condemning the Chinese government to calling for Hong Kong’s independence.