<a
    id="bookmarklet"
    href="javascript:void((function(d){var s=d.createElement('script');s.id='pinry-bookmarklet';s.src='http://{{ request.get_host }}/static/js/bookmarklet.js?'+Math.random()*10000000000000000;d.body.appendChild(s)})(document));"
    onclick="javascript:alert('Please add a bookmark for this button');return false;"
    class="btn btn-default navbar-btn"
>
  Bookmarklet
</a>

<a
    id="bookmarklet"
    href="javascript:void((function(d){var s=d.createElement('script');s.id='pinry-bookmarklet';s.src='//{{ request.get_host }}/static/js/bookmarklet.js?'+Math.random()*10000000000000000;d.body.appendChild(s)})(document));"
    onclick="javascript:alert('Please add a bookmark for this button');return false;"
    class="btn btn-default navbar-btn"
>
  Bookmarklet
</a>

Remove http prefix for bookmarklet to adapt to https page
Fix: Remove http prefix for bookmarklet to adapt to https page
