javascript - How to intercept COMMAND+V on OSX Safarii? -


I have a function that I use for CTRL + V and COMMAND + V: intercept

  Function Paste () {clip.val (''). Focus (); // textarea self.oneTime (100, works) (wait for the inserted text in the browser; self.insert (clip.val ()); clip.blur () .val ('');}); }  

The clip is hidden text, it is hidden from the black div on it (the only way I have found to fix the Andorid). And in the key down event, I call that function:

 } else if (e.which === 86) {// CTRL + V Paste (); Back true; // I have come true because I am wrong to conclude the // // is incorrect)  

but it seems that it does not work on MacSacks Safari as you Can check. Does anyone know why this is happening and how to fix it?


Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

c# - Chart control: Design messed Up after clearing and re-adding Y-Values -

ruby on rails - Apipie interferes with proper error codes -