Commit a7c98621aea5aaf1742a61e95e6c9325a6e404e7

Fix: Proper way of specifying URLs
  
3030 if(!url.match(/http/)) {
3131 url = 'http://' + url;
3232 }
33 window.location.href = '/SWeeText?url=' + encodeURIComponent(url);
33 window.location.href = '{{ url_for("SWeeText") }}?url=' + encodeURIComponent(url);
3434 }
3535 </script>
3636 </body>