You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hmm, sorry it didn't work for you, but thanks for testing it. I've only tested on the browsers I had on my laptop, but I can give it a try on a Mac when I get to work. Probably a minor browser support issue.
Chrome doesn't support@require in userscripts, so Handlebars doesn't get defined and causes an error.
Chrome's UserScript support also lacks some other features that Greasemonkey has, so I'd recommend just installing an extension like Tampermonkey and then installing the UserScript via that.
@michaelhood Yes, I just realized-- @patcon probably wasn't using Tampermonkey. Chrome doesn't support things like @require and I don't think its version of GM_xmlhttpRequest supports cross-domain requests. In this case we only make requests to a subdomain so that could be hacked around. It might be possible to get around the need for @require too, so I will work on that. But in the meantime it should work if you just use Tampermonkey.
Activity
iguananaut commentedon Dec 2, 2013
Hmm, sorry it didn't work for you, but thanks for testing it. I've only tested on the browsers I had on my laptop, but I can give it a try on a Mac when I get to work. Probably a minor browser support issue.
michaelhood commentedon Dec 2, 2013
Chrome doesn't support
@requirein userscripts, so Handlebars doesn't get defined and causes an error.Chrome's UserScript support also lacks some other features that Greasemonkey has, so I'd recommend just installing an extension like Tampermonkey and then installing the UserScript via that.
I just installed Tampermonkey and navigated to GitHub_Labels_on_Pull_Requests.user.js, it installed correctly and appears to work fine.
embray commentedon Dec 2, 2013
@michaelhood Yes, I just realized-- @patcon probably wasn't using Tampermonkey. Chrome doesn't support things like
@requireand I don't think its version ofGM_xmlhttpRequestsupports cross-domain requests. In this case we only make requests to a subdomain so that could be hacked around. It might be possible to get around the need for@requiretoo, so I will work on that. But in the meantime it should work if you just use Tampermonkey.patcon commentedon Dec 2, 2013
Ah, yeah, that was totally it. Works fine with tampermonkey :)
Thanks guys. I'll close this bug issue and create another for your possible workaround suggestion @embray
iguananaut commentedon Dec 2, 2013
Thanks! (also sorry for any confusion I was logged into my other GH account)