Hail Firefox! It asks me for a permission, even when I paste that code in the console and try to execute it.