AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
![]() My objective is simulate click on reply button of a specific message(Let's say last message) (I want to mention that message programmatically) via chrome extension. But not workingĪre there any method to accomplish this task by java script in chrome extension? Or are there any similar extension available on the market. I have tried both mouseenter & mouseover events but unable to display arrow button programmatically.Īlso I have dispatched events on msg_in_box instead of msg_in. ![]() Var msg_in = msg_in_box.getElementsB圜lassName("_2et95 _3c94e") //get div inside the msg box Var msg_in_box = msgs_in_boxes //get the last msg box div elem Var msgs_in_boxes = mainWindow.getElementsB圜lassName("message-in") //get msg boxes var mainWindow = document.getElementsB圜lassName("z_tTQ") //get main div which contains msg boxes That button will only appear when mouse hover the message. ![]() I was able to get DOM element using getElemntsB圜lassName() in the content script of extension, but unable to simulate mouseover/mouseenter event to display that small arrow button. I want to create a chrome extension that can simulate reply button of menu which appears when we click on small down arrow button of a message in the chat on WhatsApp Web. ![]()
0 Comments
Read More
Leave a Reply. |