mercredi 31 décembre 2014

crossrider extension won't load on https websites


I'm using crossrider to make a cross-browser extension for my website.


Here's my Page Code (extension.js) :





appAPI.ready(function($) {


//alert("Hello World");
appAPI.resources.createImage(
'<a href="test.html"><img src="http://localhost/images/fleche.png" width="128" height="128" /></a>'
).prependTo('body');

});



The snippet is only working with website using the http protocol. When it comes to https, the javascript code doesn't run.


Thank you for your help.





Aucun commentaire:

Enregistrer un commentaire