diff --git a/media/boom/js/boom/link/link.js b/media/boom/js/boom/link/link.js
index <HASH>..<HASH> 100644
--- a/media/boom/js/boom/link/link.js
+++ b/media/boom/js/boom/link/link.js
@@ -28,7 +28,7 @@ function boomLink(url, pageId, title) {
 	};
 
 	boomLink.prototype.getUrl = function() {
-		return this.url.replace(window.location.protocol + '//' + window.location.hostname, '');
+		return this.makeUrlRelative();
 	};
 
 	boomLink.prototype.getPageId = function() {
@@ -38,4 +38,9 @@ function boomLink(url, pageId, title) {
 	boomLink.prototype.getTitle = function() {
 		return this.title;
 	};
-};
\ No newline at end of file
+	
+	boomLink.prototype.makeUrlRelative = function() {
+		var url = this.url.replace(window.location.protocol + '//' + window.location.hostname, '');
+		return url.replace(window.location.hostname, '');
+	};
+};
boomLink.getUrl() remove hostname even if protocol isn't set