Plugin won't load directly from Github - Better Battlelog Forums #48695
Sitemap
22. November 2012 17:02
Post edited 1 x times, last by
BrainFooLong
Administrator
23. November 2012 07:35
Topicstarter
Weyland
Like the title says. I am unable to load plugins directly from Github. I think this has to do with the fact that it uses the https protocol but I'm not sure why exactly. Just the fact that all plugins hosted on Github with links similar to this:
https://raw.github.com/Weyland/bblog-fix-elements/master/plugin.js
Could someone test this for me and see if it works? If not, could this please be fixed?
It would make development through collaboration a lot easier.
Thanks!
22. November 2012 17:04
BrainFooLong
Administrator
I'll be sure it's because of https.
Chrome and probably also firefox don't allow secure <-> unsecure connections withs scripts.
22. November 2012 17:10
Post edited 2 x times, last by
BrainFooLong
Administrator
22. November 2012 17:11
BrainFooLong
Administrator
A solution could be a http proxy on your server that serve the files.
Example:
http://mypage.com/proxy?url=https//xsafasdf
That serves the same as https//xsafasdf
22. November 2012 17:36
Topicstarter
Weyland
Alright. I will look into setting up a proxy server then. Thanks for the info!
16. February 2013 17:20
dapil
Plugin Developer
Weird is, that I can load and use plugins from HTTPS GitHb addresses normally.