fix an error that reading from clipboard on Opera