diff --git a/blasta.py b/blasta.py
index ba0faec..b216511 100644
--- a/blasta.py
+++ b/blasta.py
@@ -677,7 +677,7 @@ class HttpInstance:
jabber_id = Utilities.is_jid_matches_to_session(accounts, sessions, request)
hostname = request.url.hostname
protocol = request.url.scheme
- hostname = request.url.hostname + ':' + str(request.url.port)
+ hostname = request.url.netloc
origin = protocol + '://' + hostname
bookmarklet = 'location.href=`' + origin + '/save?url=${encodeURIComponent(window.location.href)}&title=${encodeURIComponent(document.title)}`;'
template_file = 'utilities.xhtml'
diff --git a/stylesheet/stylesheet.css b/stylesheet/stylesheet.css
index 7135205..91ebfc1 100644
--- a/stylesheet/stylesheet.css
+++ b/stylesheet/stylesheet.css
@@ -249,13 +249,25 @@ table#software td {
vertical-align: text-top;
}
+#bookmarklet:hover {
+ background: #fff9df;
+}
+
#bookmarklet {
background: #eee;
border: 1px solid #bbb;
+ font-weight: bold;
+ filter: drop-shadow(1px 1px 1px black);
+ margin-left: 3px;
+ margin-right: 3px;
padding-left: 3px;
padding-right: 3px;
}
+#bookmarklet a {
+ color: #0000ff;
+}
+
#subscribe {
/* font-size: 75%; */
padding-top: 1em;
diff --git a/stylesheet/stylesheet.xsl b/stylesheet/stylesheet.xsl
index db9c649..ebab3cc 100644
--- a/stylesheet/stylesheet.xsl
+++ b/stylesheet/stylesheet.xsl
@@ -68,6 +68,7 @@ xmlns:atom='http://www.w3.org/2005/Atom'>