stanfieldr / ghetto-skype

Web Skype + Tray Icon + Notifications
GNU General Public License v3.0
718 stars 52 forks source link

How to get Item ID? #140

Closed avcatshy closed 6 years ago

avcatshy commented 6 years ago

I want to know how you get these ID or classname, "chatInputAreaWithQuotes","unseenNotifications",".send-button"... Thanks~

stanfieldr commented 6 years ago

Close Ghetto Skype if it's open. Change your terminal directory to where the ghetto skype code resides. Then do this if you haven't already (you only need to do it once)

[u@h ghetto-skype]$ npm install

Then start ghetto skype by using npm start

[u@h ghetto-skype]$ npm start

When running it like this rather than installing through a package, you can use chrome dev tools. Hit Ctrl+Shift+i to toggle it.

avcatshy commented 6 years ago

Thanks replay, It seems a little problem on Mac.When i toggle developer tools,it doesn't work.But it works on other electron app(like electron-quick-start).

Besides,do you have any idea about catch message before displaying on the chat area ?