Trying to create a bookmarklet
I'm trying ti create a bookmarklet to use with your software, but my code only works with http://www.huit.re.
With https://lstu.fr, I get
L’URL raccourcie https://lstu.fr/a n’existe pas
Here is my code
(function () {
// Url of the host
var host = 'lstu.fr';
var url = 'http://' + host + '/a?lsturl=' + encodeURIComponent(window.location.href);
console.log(url);
window.open(url);
}) ()