Instagram-Pixwox redirector

Redirect Instagram to equivalent Piokok (formerly Pixwox) page

< Feedback on Instagram-Pixwox redirector

Review: Good - script works

§
Posted: 2024-07-09

1) pixwox seems to have changed their url to piokok? The redirect seems to still be working fine, but it does mean that the

Note: Add
www.pixwox.com##[class*="ah-box"]
to adblocker to remove holes in pixwox page

isn't actually doing anything

2) For some reason, on Firefox if I want to go to
https://www.instagram.com/yui__fishbowl
It would threw me a "redirectPW: WTF" error. Only way to get the redirect working is to add an extra trail to the end of the link, resulting with
https://www.instagram.com/yui__fishbowl/

The script oddly enough seems to be working just fine on a chromium-based browser.

honest_joeAuthor
§
Posted: 2024-07-10

I can't reproduce the issue with Firefox. The script now displays more debug info. When issue persists, post screenshot of debug info if possible.

§
Posted: 2024-07-12

Here you go

Though, I seem to have found a way to fix this issue by adding "?" nearing the end of what I assume to be the redirects.
eg, on line 44:
/^\/[A-Za-z0-9_.-]+\/$/

Add ? before $
/^\/[A-Za-z0-9_.-]+\/?$/

honest_joeAuthor
§
Posted: 2024-07-12

I changed the script so that it should work but I cannot test it, as I still cannot reproduce the issue with Firefox.

§
Posted: 2024-07-15

My apologies, I'm actually using Librewolf instead of base Firefox. I originally stated Firefox as I assumed that both of them work in similar fashion when dealing with user-scripts and I've now realised that it isn't the case after booting up FF & saw that the script was indeed working fine even without the "fix".

Thanks for implementing the change regardless, I suppose a rollback can always be done if it ended up breaking something.

honest_joeAuthor
§
Posted: 2024-07-16

No problem. Nothing did break AFAIK and the script is more robust now.

Post reply

Sign in to post a reply.