Skip to content

Instantly share code, notes, and snippets.

@davegallant
Last active July 1, 2024 19:39
Show Gist options
  • Save davegallant/70fca6dc6fbb9d55ba456580339ccb22 to your computer and use it in GitHub Desktop.
Save davegallant/70fca6dc6fbb9d55ba456580339ccb22 to your computer and use it in GitHub Desktop.
// This is now maintained at https://github.com/davegallant/rfd-redirect-stripper/blob/main/script.js
@davegallant
Copy link
Author

davegallant commented Dec 29, 2023

Hi Dave,

The link is working today. I am using Chrome. I also copied and pasted from the link you provided above: https://github.com/davegallant/rfd-redirect-stripper/blob/main/script.js

I'm unclear on what you mean this gist is no longer updated. Does that mean you are no longer updating the RFD stripper script? If that's the case, I won't bother you any further. I appreciate it working as long as it did.

All the best to you and your family in 2024!

Hey. To avoid confusion I edited this gist that we're commenting on to link to https://github.com/davegallant/rfd-redirect-stripper/blob/main/script.js

Any future issues with the script / extension can be created in the issues tab.

@davegallant
Copy link
Author

Little update:

rfd.fyi is now stripping redirects using the same redirect.json that we've been maintaining here.

@YesTrustMe
Copy link

Thanks Dave! Do we have to do anything different with the redirect.json or can we just copy and paste normally from: https://github.com/davegallant/rfd-redirect-stripper/blob/main/script.js ?

@davegallant
Copy link
Author

Thanks Dave! Do we have to do anything different with the redirect.json or can we just copy and paste normally from: https://github.com/davegallant/rfd-redirect-stripper/blob/main/script.js ?

Yes, this file should stay in sync with the browser extensions now that it's generated in the github action workflow.

@YesTrustMe
Copy link

Hi Dave. Looks like RFD may have made some changes.

If I go to this url: https://forums.redflagdeals.com/hp-hp-wireless-mouse-200-6-99-hp330-wireless-keyboard-combo-16-99-2699004/ I am redirected to HP's site but what should be happening is the link should reveal the HP items such as mouse and keyboard. Instead, it's showing laptops. Perhaps you can look into?

@davegallant
Copy link
Author

Hi Dave. Looks like RFD may have made some changes.

If I go to this url: https://forums.redflagdeals.com/hp-hp-wireless-mouse-200-6-99-hp330-wireless-keyboard-combo-16-99-2699004/ I am redirected to HP's site but what should be happening is the link should reveal the HP items such as mouse and keyboard. Instead, it's showing laptops. Perhaps you can look into?

Should be fixed now via davegallant/rfd-redirect-stripper#30.

@YesTrustMe
Copy link

Thanks Dave. The updated script isn't working.

Additionally, I had to manually copy it to Tampermonkey as it wasn't updating automatically via source URL: https://raw.githubusercontent.com/davegallant/rfd-redirect-stripper/main/script.js

@davegallant
Copy link
Author

Thanks Dave. The updated script isn't working.

Additionally, I had to manually copy it to Tampermonkey as it wasn't updating automatically via source URL: https://raw.githubusercontent.com/davegallant/rfd-redirect-stripper/main/script.js

Only the browser extension updates the source list automatically.

@YesTrustMe
Copy link

Thanks Dave. The updated script isn't working.
Additionally, I had to manually copy it to Tampermonkey as it wasn't updating automatically via source URL: https://raw.githubusercontent.com/davegallant/rfd-redirect-stripper/main/script.js

Only the browser extension updates the source list automatically.

It still wasn't working. I had to delete your script, create a new one, and copy and paste from scratch. It s now working on RFD. Hopefully the extension will update on it's own.

@YesTrustMe
Copy link

Dave, just another update. Your script isn't updating on Firefox either. I just thought I would let you know.

@davegallant
Copy link
Author

Dave, just another update. Your script isn't updating on Firefox either. I just thought I would let you know.

@YesTrustMe Do you have the steps to reproduce this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment