Run insert event in javascript

I know this topic many times. But this is a little different. I need to "send" the event "paste" (for example, after copying the "paste").

Why do I need it? Well, when you copy the link to the text box of a Facebook post, you see that the automatically called ajax script changes the page so that the recipient can see the attached image, except for the link.

since I will not use the Facebook API and stuff, I just want to trigger the paste event, which I hope will trigger the script that I need.

+5
source share
1 answer

document.createEvent "" (, CTRL-V).

"", , (!) .

+2

All Articles