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

Builtin Example Doesn't Work #356

Open
ryanpeach opened this issue Jul 28, 2023 · 10 comments · May be fixed by #379
Open

Builtin Example Doesn't Work #356

ryanpeach opened this issue Jul 28, 2023 · 10 comments · May be fixed by #379

Comments

@ryanpeach
Copy link

ryanpeach commented Jul 28, 2023

I can't get the extension to capture and redirect any URL on chrome. The builtin example doesn't even work. Please advise.

It is enabled.

@ryanpeach ryanpeach changed the title Builtin Example Doesn't Even Work Builtin Example Doesn't Work Jul 28, 2023
@Gitoffthelawn
Copy link
Collaborator

@ryanpeach Hi Ryan. Sorry to hear you are experience some challenges getting Redirector to work for you. The extension definitely works (many thousands of users), so there must be something unique on your end.

Several things to try when troubleshooting:

  1. Test with the current general release version of your browser (not a beta or alpha/canary/nightly release)
  2. Test with a new browser profile
  3. Test without any other browser extensions or add-ons installed
  4. Install Redirector extension directly from a trusted source

And then there's always the generic advice:

  1. Reboot
  2. Perform a malware scan, preferably initiated from its own bootable media
  3. Try another computer
  4. Conclude that life would likely be simpler if we all tossed out our computers, and maybe this is the universe sending you a gentle little message. ;)

@thehale
Copy link

thehale commented Sep 16, 2023

I'm experiencing the same issue on the latest official Microsoft Edge.

Version details:

image

Video demonstration:

redirector_issue_356.mp4

I tried both https://example.com and http://example.com in case the extra "s" made the difference, but to no avail.

As shown in the video, I was unable to get the built-in example to work for a brand-new browser profile with no other extensions installed. I also did the test after a fresh reboot of my computer. I've tested the extension with installations from both the Chrome Web Store and the Edge Add-ons marketplace, so I'm unsure what other "trusted source" you'd prefer I try.

I also checked the "enable logging" box but was unable to find where the logs are located. I had expected the browser console since that's where console.log sends log messages, but, as shown in the video, there's nothing there from Redirector.

Let me know what else I can help test to narrow down the issue. The extension looks promising, so it's disappointing that I can't seem to figure it out.

@Gitoffthelawn
Copy link
Collaborator

@thehale wrote:

Let me know what else I can help test to narrow down the issue. The extension looks promising, so it's disappointing that I can't seem to figure it out.

Sorry to hear you're having issues. Have you tried any other browsers, such as Firefox, Vivaldi, Ungoogled Chromium, or Chrome?

@thehale
Copy link

thehale commented Sep 18, 2023

@Gitoffthelawn I just tested with a fresh install of Firefox on a different computer and had the same issue.

redirector_issue_356_firefox.mp4

@ghost
Copy link

ghost commented Oct 20, 2023

Same here on Chrome 118.0.5993.70, tried it on multiple profiles as well as Brave
1.58.137 (Chromium: 117.0.59) on the same machine, on Linux with XFCE...

@ghost
Copy link

ghost commented Oct 20, 2023

I updated Chrome to the latest and tried again. The example suddenly started working but my twitter.com -> nitter.net redirect would not work so I had to install the Nitter Redirect extension to get it working again.

@NyeUsr NyeUsr linked a pull request Jan 2, 2024 that will close this issue
@aprilmintacpineda
Copy link

aprilmintacpineda commented Jan 19, 2024

Doesn't work for me too, even after I restart my chrome. I tried making it work to the best of my knowledge, but I really can't do anything. Even simple redirects like example.com to redirect-works.com doesn't work for me. I hope there's more ways for us to find out what's wrong but seems like there isn't, I don't even know if I can access any logs at all.

@unlucio
Copy link

unlucio commented Jun 7, 2024

I've been trying to make this extension work for a couple of months, installing it, disinstalling it, reinstalling it, all the usual traditional voodoos, all the possible voodoo lists I found, but nothing so far, and I'm not really sure what I'm doing wrong.

I'm using Brave Version 1.66.118 Chromium: 125.0.6422.147 (Official Build) (arm64) on an M1 processor.

Here's my current config:
Screenshot_2024-06-07_at_16_01_00

Even tho both the "example lines" show the correct expected url change, nothing happens when browsing to either youtube or example.com.

Here's the config I added for youtube:
Screenshot_2024-06-07_at_16_00_43

I turned logs on to try to figure out what's going on, but "redirector" doesn't show up in the Dev tool's console, so I'm not sure how to debug it.

@Gitoffthelawn
Copy link
Collaborator

I've been trying to make this extension work...

In the screenshots provided, it looks like you likely have a space character (ASCII 32 decimal) before the Redirect to string in the first rule. Try editing that string and deleting any characters before the h in https.

In the second rule, it is defined to only work if you try going to http://example.com. If you are entering example.com in your browser's address bar, and your browser is configured to redirect HTTP requests to HTTPS, the redirect will never have an opportunity to run. To change this, you can modify the Redirect string from http://example.com/* to https://example.com/*.

@jadedgnome
Copy link

jadedgnome commented Jun 19, 2024

@unlucio check the box "HistoryState"

include pattern: ^https://.*youtube.com/watch\?v=(.*)

redirect to: https://tube.domain.com/watch?v=$1

select regular expression

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants