Kodi Community Forum

Full Version: Chrome skip extension
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?
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.