On 9/1/20 9:39 PM, Sagar Acharya via wrote:
> Guys,
>
> I tried adding license info this way to external script. It doesn't work for
> me. LibreJS doesn't recognize it.
>
> <script src="{{url_for('static', filename='js_css/jquery.min.js')}}">
> // @license
> magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt
> MIT-licensed
> // @license-end
> </script>For an external script, you should add the license to the script itself: // @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT-licensed your code // @license-end Alternatively you can list the license of external scripts using weblabels https://www.gnu.org/software/librejs/manual/librejs.html#JavaScript-Web-Labels
0x46A70073E4E50D4E.asc
Description: application/pgp-keys
