Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

redirect posts as well? #6

Closed
KangarooWasp opened this issue Nov 26, 2022 · 6 comments
Closed

redirect posts as well? #6

KangarooWasp opened this issue Nov 26, 2022 · 6 comments
Labels
enhancement New feature or request

Comments

@KangarooWasp
Copy link

When I use the extension on a post page it takes me to my instance's page for that user. Would it be possible for it to take me to the page for that post? That way I'd be able to like, reply to and boost the post.

Current behaviour:
https://peoplemaking.games/@eniko => https://tech.lgbt/@eniko@peoplemaking.games
https://peoplemaking.games/@eniko/109404838700240908 => https://tech.lgbt/@eniko@peoplemaking.games

Behaviour I would like:
https://peoplemaking.games/@eniko => https://tech.lgbt/@eniko@peoplemaking.games
https://peoplemaking.games/@eniko/109404838700240908 => https://tech.lgbt/@eniko@peoplemaking.games/109404839050774368

Would that be possible? I have noticed that the numbers in my example are different on each instance, even though they refer to the same post.

@bramus bramus added the enhancement New feature or request label Nov 26, 2022
@bramus
Copy link
Owner

bramus commented Nov 26, 2022

At first I thought this wasn’t possible to the differentiating ids on each instance indeed. As pointed out in #4 (comment), it turns out to be possible after all.

For (my) future reference:

window.location.href = `https://front-end.social/authorize_interaction?uri=${encodeURIComponent(window.location.href)}`;

@bramus
Copy link
Owner

bramus commented Jan 5, 2023

Awaiting to add this feature to the extension itself, I’ve already added an extra bookmarklet that allows you to watch the toot on your own instance.

@gonvssn
Copy link

gonvssn commented Jul 17, 2023

Any update on this? This feature would be great!!

@libjared
Copy link

libjared commented Aug 6, 2023

@gon555551 My fork of this repo has support for redirecting to posts. I'm planning to send a PR when I get time.

@gonvssn
Copy link

gonvssn commented Aug 6, 2023

Nice :D Hope to use it @libjared

@bramus
Copy link
Owner

bramus commented Sep 7, 2023

This feature has been added in 0.4.0. This new version has been uploaded to the stores, so you should get the update automatically soon.

The extension also got renamed to reflect the wider scope this extension now covers.

@bramus bramus closed this as completed Sep 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants