mirror of
https://github.com/cydrobolt/polr.git
synced 2024-11-09 19:52:28 +01:00
feat: add a bookmarklet
This commit is contained in:
parent
6e73538257
commit
ec24a5f66f
@ -109,6 +109,12 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<h4>Bookmarklet: </h4>
|
||||||
|
<div class='row'>
|
||||||
|
<div class='col-md-8'>
|
||||||
|
<a class='btn btn-info' onclick="return false;" href='javascript:u=encodeURIComponent(location.href);s="{{env("APP_PROTOCOL")}}{{env("APP_ADDRESS")}}/api/v2/action/shorten?key={{$api_key}}&url="+u;window.open(s,"Shortened URL","location=no,width=400,height=300");'>Shorten</a> (Drag it to your bookmarks bar to use as a shortcut!)
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<h4>API Quota: </h4>
|
<h4>API Quota: </h4>
|
||||||
<h2 class='api-quota'>
|
<h2 class='api-quota'>
|
||||||
|
Loading…
Reference in New Issue
Block a user