Not sure if this is what your looking for, but I use as I have multiple instances of my site and what bookmarks to keep me in the same instance regardless of port or protocol.
New Tab
javascript:(function(){window.open(location.protocol+'//'+location.hostname+':'+location.port+'/liked/by/user')})();
Current Tab
javascript:(function(){window.location.assign(location.protocol+'//'+location.hostname+':'+location.port+'/liked/by/user')})();
EDIT: Forgot to put code blocks