Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: Relative Bookmarks Browser Extension (github.com/duiker101)
31 points by duiker101 on Nov 13, 2021 | hide | past | favorite | 22 comments


Relative Bookmarks is a little browser extension I made for myself to help me navigate to the same page across different instances of the same app. I find it very useful for development and I always wanted it, so I made it.

You can find it directly on the Chrome Web Store

https://chrome.google.com/webstore/detail/relative-bookmarks...


A while ago I made a bookmark add-on which could be used to do something similar. But it sunk without a trace on HN. Posting it here as readers probably already interested in bookmark related stuff...

https://defaultcharacter.com/2021-09-bookmark-controller-int...


for what it's worth i think it's pretty cool. if i understand right i can use it for example to change all links from dead site to archive.org, or from youtube.com to my favorite invidious instance.

(i also echo your sentiment that JS is deeply flawed :))

thanks for sharing


Yeah, I spent too much time making it and not enough thinking about how I would explain what it does!

Thanks for the feedback.


Unrelated to this, but is there any extension that lets you easily switch between different instances of a website?

Like dev.example.com/about and example.com/about?


You can probably do that with some "javascript:" URLfoo


s/Browser/Chrome/, please.


You can do this with URLs. For instance, I have just the feeds page of my RSS reader bookmarked.


I adore your name. In case you've not seen it, I think you might enjoy trying out this RSS tool: https://fraidyc.at


Thanks your's is epic too!! I can't use RSS browser extensions for accessibility purposes. Therefore, i use Miniflux, https://miniflux.app.


I'm totally blind, so I use a screen reader. I find that a lot of extensions that use the browser view port just don't work for me. I don't have a directory set up yet. I do have this: https://hopesnotes.net


Hello! I wrote a letter for you on my personal site: https://philosopher.life/#2021.11.14%20-%20hopesthoughts%3A%...

Please let me know if you can't access it.


I read documents in the outline format all the time. This is because I read legal documents, and those are in that format. I'll contact you with my email address.


Thank you. I'll be checking it out. Please feel free to ignore me (I am a stranger and a nobody, of course). If you don't mind me asking, what accessibility purposes are you concerned with? You got a place I can read about you, btw? You might call me a linkslut. I could imagine you might have strong opinions about bookmarks (I'd like to know them) and perhaps a library of them you might share.


If there is a way, please, share it! I have not been able to create relative bookmarks natively and while doing research everything points to bookmarklets, which is what this extension does in the end.

Worth noting, after starting, I added a few extra features that I found useful, like mixing query parameters.


You can use a bookmarklet like this:

  javascript:location.href='/about'
An easy way to create a bookmarklet from scratch is to create a bookmark from some other page and then modify the URL.


So that's what I do I created a bookmark from the main page of my Miniflux instance, and then put /feeds on the end. I also have one for the new subscriptions page. Since it's a separate page, linked from the feeds list, I bookmarked it too.


> from the main page of my Miniflux instance, and then put /feeds on the end

This case is relative to a single baseURL. The poster was proposing to have a bookmark relative to the URL you're currently browsing from, so that you could click "/feeds" from any Miniflux instance you're currently visiting.


You can do this it's always /feeds. I suppose if someone really wanted to change that, they probably could. I used to use the hosted bersion, and it was /feeds there too. Although I have to point out that unless you have access to the instance, you probably won't be able to get to that page without signing in anyway. Unless someone decided to make the entire thing public, for some reason. You can do this with tweets even, you just have to have the URL of the tweet.


Does this work in Brave?


Brave is a Chromium browser and according to this article it should

https://brave.com/learn/installing-chrome-extensions/


Yeah, that's what I also thought but I can't seem to get it working, but maybe I'm just using it wrong. Would it be possible for you to record a quick visual demo, i.e. video, of how to use the extension? Thanks in advance




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: