Earlier quoted context omitted.
But U.S. judges don't do this all the time. Meanwhile, a number of European countries (notably the U.K.) are famous for dragging foreigners into defamation cases for conduct that happened entirely outside the country. The U.S. tends to invoke jurisdiction only when you do something quite targeted at the U.S.
Kim Dotcom?
That's the problem most of the copyright infringement sites have. They deal primarily in content that is produced by Americans and considered a property right in America. The U.S. wouldn't give a shit if they were just trading foreign music and movies to each other. Even then, it was e.g. the Swedes that went after Pirate Bay (based on a criminal complaint filed by the MPAA in Sweden).