The United States has arrested Marcus Hutchins for violating its laws while he was not inside the United States. This was not the first time, they also arrested Sklyarov for writing software they didn't like -- but the software was written in Russia. This is plain insanity and only the United States could get away with it. (The Sklyarov arrest together with the CFAA was one of the reasons I have chosen not to immigrate to the USA btw.)
For example, imagine you being arrested at Frankfurt airport because you posted something a year ago that falls under Strafgesetzbuch section 86a. You would need to review your entire post history going back years and compare it to the laws of every country you touch during your travels.