Search code examples
google-chromebookmarks

save bookmark with relative path to current-site


As part of work, the same webapp is hosting at multiple location for different units

e.g.

 http://site1.come/path-to-some-page
 http://site2.come/path-to-some-page

Now I have a bookmark for site1 saved as

 http://site1.come/path-to-some-page

but for site2 I will have to again create a new bookmark. I have to deal with a new domain name each week, it is pain to do this task again and again each week.

Can I not save bookmarks relative to current host

E.g.

 http://{CURRENT_HOST}/path-to-some-page

This will save me lot of pain of saving bookmark for each new website


Solution

  • javascript:void(window.location.href = '/path-to-some-page');
    

    Is another way of bookmarking a relative path.