Chrome skip extension
#1
Thought i'd try something for beginners with Chrome extensions.
I wanted to make a simple button like the Grooveshark next button:
https://chrome.google.com/webstore/detai...gnlhafkhja

There is good documentation for buttons in the popup.html
But i wanted the extension icon execute the:
http://xbmc/xbmcCmds/xbmcHttp?command=PlayListNext

Without opening tabs or popups ect. Anyone know how?
Image [RELEASE] Metroid
Image [RELEASE] IrcChat
Reply
#2
Use an xhr (ajax) request within the extension. Make sure you set the header to appication/json otherwise it won't work.
Looking forward to test your extension.
Reply

Logout Mark Read Team Forum Stats Members Help
Chrome skip extension0