diff --git a/app/views/static/bookmarklet.html.erb b/app/views/static/bookmarklet.html.erb index 26755a4a8..2b2d57500 100644 --- a/app/views/static/bookmarklet.html.erb +++ b/app/views/static/bookmarklet.html.erb @@ -1,5 +1,5 @@
-
+

Bookmarklet

<%= link_to "Post to #{Danbooru.config.app_name}", "javascript:location.href='#{request.protocol + request.host_with_port}/uploads/new?url='+encodeURIComponent(location.href)+'&ref='+encodeURIComponent(document.referrer)" %>