If you use Ubuntu or Debian install the pepperflashplugin-nonfree package. Othwerwise you could use this script.