I get this:
"Uncaught SyntaxError: Unexpected token ILLEGAL"
Code:
@include "https://ajax.googleapis.com/ajax/libs..."
(in extension.js).
Help get this topic noticed by sharing it on
Twitter,
Facebook, or email.
Twitter,
Facebook, or email.
-
No it does work, it just doesn't work with https (which makes no sense to me). I need https because I am running my extension on an https page which means mixed content warnings.
-
-
Jacob,
We are not supporting yet https @includes but its in our pipeline.
Something to bear in mind here is, that the @include will load your code only in the sandbox, and not in the page.
If you want to load (https) scripts inside the page itself then you can use:
appAPI.dom.addRemoteJS(jsURL);
Its placing the file URL within a -
-
can you check if that works? im debugging under chrome (osx) right now and no matter what i do (http or https) it always throws an error because of the @include in the extension.js
thanks! -
-
We will take a look at this asap Tobias
In the meanwhile, can you please send us a screenshot of the error that you are getting ?
Thanks. -
-
Tobias,
We have checked and everything seems to work as expected on our end.
Can you provide more information that will help us dig in deeper, such as Browser, Extension Version, the code you are trying and the error you are getting.
This info will help us to get faster to the bottom of this.
Thanks. -
-
perhaps you are using ; (semicolon) at the end of @include and you shouldn't
-
Loading Profile...




EMPLOYEE

