Encode URL in bookmarklet
This commit is contained in:
parent
1190f5efa0
commit
c218cd88b8
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@
|
|||
·
|
||||
Based on <a href="http://rg3.github.io/youtube-dl/">youtube-dl</a>
|
||||
·
|
||||
<a href="javascript:window.location='{$base_url}/api.php?url='+location.href;">Bookmarklet</a>
|
||||
<a href="javascript:window.location='{$base_url}/api.php?url='+encodeURIComponent(location.href);">Bookmarklet</a>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
|
|
Loading…
Reference in a new issue