the isCorrectPage() seems to check if the page has some specific elements in it.. Also I'm using grooveshark's new interface which would likely have some new element names or someting like that.
I didn't actually install the webapp when it asked, since if the webpage is different I'm guess it won't work anyway.
For grooveshark.com it never asked me to install the webapp, _until_ I commented out a couple of lines of javascript.
//if (isCorrectPage()) { grooveshark. com',
iconUrl: "icon:/ /unity- webapps- grooveshark" ,
onInit: wrapCallback( musicPlayerSetu p) });
Unity.init({ name: "Grooveshark",
domain: 'grooveshark.com',
homepage: 'http://
//}
In this file,
/usr/share/ unity-webapps/ userscripts/ unity-webapps- grooveshark/ grooveshark. user.js
the isCorrectPage() seems to check if the page has some specific elements in it.. Also I'm using grooveshark's new interface which would likely have some new element names or someting like that.
I didn't actually install the webapp when it asked, since if the webpage is different I'm guess it won't work anyway.