
As for the rest of it, well, the Sozialistengesetz (or "Socialist Law," though really it was anti-Socialist law) was a series of acts passed in 1878 Germany after two failed attempts to assassinate Kaiser Wilhelm I. These unsuccessful threats to his life were believed to have been influenced by the growing strength of the Social Democratic Party and, so, the new laws were meant to cripple the organization by limiting the dissemination of socialist principles in a variety of ways (including the shutting down of nearly 50 newspapers, the banning of the party's propaganda, and not allowing the formation of groups or meetings with the intent of spreading socialist views).
The acts were ultimately unsuccessful, however, as the Social Democratic Party continued to gain in popularity. This result was no doubt a happy one for those affiliated with this book (the title of which I didn't note) for it was published (outside of Germany, unsurprisingly) in May 1886--a month after the third extension of the Sozialistengesetz--with a phrase that seems to indicate that the book's creators viewed Germany's anti-Socialist law as shameful.